paper-with-me

홈 › Papers

A Lightweight Learned Cardinality Estimation Model

2025-08-13 · Yaoyu Zhu, Jintao Zhang, Guoliang Li, Jianhua Feng arxiv

Cardinality estimation is a fundamental task in database management systems, aiming to predict query results accurately without executing the queries. However, existing techniques either achieve low estimation accuracy or incur high inference latency. Simultaneously achieving high speed and accuracy becomes critical for the cardinality estimation problem. In this paper, we propose a novel data-driven approach called CoDe (Covering with Decompositions) to address this problem. CoDe employs the concept of covering design, which divides the table into multiple smaller, overlapping segments. For each segment, CoDe utilizes tensor decomposition to accurately model its data distribution. Moreover, CoDe introduces innovative algorithms to select the best-fitting distributions for each query, combining them to estimate the final result. By employing multiple models to approximate distributions, CoDe excels in effectively modeling discrete distributions and ensuring computational efficiency. Notably, experimental results show that our method represents a significant advancement in cardinality estimation, achieving state-of-the-art levels of both estimation accuracy and inference efficiency. Across various datasets, CoDe achieves absolute accuracy in estimating more than half of the queries.

📄 PDF Abstract BibTeX arXiv:2508.09602

Code (0)

등록된 구현이 없습니다.

Tasks

Computational Efficiency

Similar Papers 제목 키워드 기반

CoLSE: A Lightweight and Robust Hybrid Learned Model for Single-Table Cardinality Estimation using Joint CDF

2025-12-14 · Lankadinee Rathuwadu, Guanli Liu, Christopher Leckie, Renata Borovica-Gajic arxiv

Cardinality estimation (CE), the task of predicting the result size of queries is a critical component of query optimization. Accurate estimates are essential for generating efficient query execution plans. Recently, mac…

CardBench: A Benchmark for Learned Cardinality Estimation in Relational Databases

2024-08-28 · Yannis Chronis, Yawen Wang, Yu Gan, Sami Abu-El-Haija 외

Cardinality estimation is crucial for enabling high query performance in relational databases. Recently learned cardinality estimation models have been proposed to improve accuracy but there is no systematic benchmark or…

Fully Inductive Cardinality Estimation

2026-07-30 · Tim Schwabe, Lukas Ketzer, Maribel Acosta arxiv

Query optimization of Basic Graph Patterns (BGP) SPARQL queries over Knowledge Graphs (KG) requires accurate cardinality estimation. Recently published learned estimators outperform statistics- and sampling-based approac…

Graph Neural NetworkKnowledge Graphs

CardOOD: Robust Query-driven Cardinality Estimation under Out-of-Distribution

2024-12-08 · Rui Li, Kangfei Zhao, Jeffrey Xu Yu, Guoren Wang

Query-driven learned estimators are accurate, flexible, and lightweight alternatives to traditional estimators in query optimization. However, existing query-driven approaches struggle with the Out-of-distribution (OOD) …

Representation LearningSelf-Supervised Learning

Are We Ready For Learned Cardinality Estimation?

2020-12-12 · Xiaoying Wang, Changbo Qu, Weiyuan Wu, Jiannan Wang 외

Cardinality estimation is a fundamental but long unresolved problem in query optimization. Recently, multiple papers from different research groups consistently report that learned models have the potential to replace ex…