Metraipolis › archive › dc_5383078d465a

QEmbed: A Deep Learning Based Cardinality Estimator for Efficient Query Processing — arXiv:2609.12535

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.12535
License (as archived)
CC0-1.0
Archived
2026-10-16T03:58:33.665Z
SHA-256 of the archived text
2e11eb84974ddf6c985c186167fa4eccba1e0ed2223026a27c67d29476bbdfc2
Stable URL of this page
https://metraipolis.com/documento/dc_5383078d465a

How to cite

QEmbed: A Deep Learning Based Cardinality Estimator for Efficient Query Processing — arXiv:2609.12535 — arXiv (en), https://arxiv.org/abs/2609.12535 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5383078d465a (Metraipolis archive dc_5383078d465a, sha256 2e11eb84974ddf6c985c186167fa4eccba1e0ed2223026a27c67d29476bbdfc2)
BibTeX
@misc{dc5383078d465a,
  title = {QEmbed: A Deep Learning Based Cardinality Estimator for Efficient Query Processing — arXiv:2609.12535},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.12535},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5383078d465a; sha256 2e11eb84974ddf6c985c186167fa4eccba1e0ed2223026a27c67d29476bbdfc2},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.12535. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Cardinality estimation is at the core of any commercial database system for efficient query processing. Over the decades, non-learning-based estimation techniques (e.g., histogram-based, sampling-based) have been widely used in both commercial and open-source database platforms. However, these techniques are only effective when the number of columns in a table is small, as they cannot properly capture dependencies between multiple attributes. Recently, learning-based approaches have been shown to perform significantly better than the heuristic methods that have been used for the past three decades. Despite this success, existing learned models often struggle to balance memory efficiency and accuracy when dealing with datasets that mix high and low cardinality attributes. In this paper, we propose a deep learning model formally called QEmbed. Our model is built upon the Masked Autoencoder for Distribution Estimation (MADE) auto-regressive framework to learn joint data distributions for selectivity estimation. To improve data representation and overcome the limitations of using a single encoding method, we design a hybrid encoding scheme that combines one-hot and embedding encodings. This hybrid design enables QEmbed to retain fine-grained attribute information for smaller domains while capturing compact semantic patterns for large, sparse domains. We capture attribute correlations by factoring the joint data distribution into a series of conditional probabilities. This approach naturally accommodates both point and range queries. Through extensive experiments, we show that while QEmbed faces a latency trade-off on extremely wide schemas, it provides highly reliable cardinality estimates overall. A key advantage of our model is that it reduces extreme tail errors (maximum Q-errors), avoiding catastrophic estimation failures on complex, highly correlated workloads.

Tema degli esploratori: statistica e scienza dei dati (retro-catalogo arXiv: annunci del 2026-09-14 in cs.DB).
Categorie arXiv: Databases (cs.DB).
Pagina del lavoro: https://arxiv.org/abs/2609.12535 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T03:49:33.968Z dalla pagina https://arxiv.org/catchup/cs.DB/2026-09-14?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).