A Data-Aware and Adaptability-Enhanced Framework for Cardinality Estimation
To achieve efficient query processing, DBMS query optimizers have long relied on precise cardinality estimation methods. To enhance the accuracy of cardinality estimation, we introduce DACE, an Cardinality Estimation framework based on Data-Aware and Adaptability-Enhanced. First, we propose a data-aware dual attention cardinality estimator that uncovers implicit relationships between queries and underlying data based on the characteristics of the queries and data. Subsequently, we develop a learning strategy utilizing Bayesian neural networks and active learning to build an ensemble model that enhances the adaptability of the estimation model through various data sampling strategies and improves end-to-end execution efficiency. Lastly, experiments conducted on multiple workloads demonstrate the effectiveness and efficiency of the proposed framework.
Authors
- Hubo Cai (ORCID: https://orcid.org/0000-0003-4527-1974)
- Wei Liu (ORCID: https://orcid.org/0009-0007-2411-0852)
- Wenlong Dong (ORCID: https://orcid.org/0009-0004-4127-2720)
- Mengshu Hou (ORCID: https://orcid.org/0000-0002-5283-7318)
- Rui Xi (ORCID: https://orcid.org/0000-0002-6400-9106)
Institutions
- University of Electronic Science and Technology of China (CN)
- Chengdu Medical College (CN)
Publication Details
- Published
- 2025-03-28
- DOI
- https://doi.org/10.1109/iccai66501.2025.00070
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China