AutoCE: An Accurate and Efficient Model Advisor for Learned Cardinality Estimation
Jintao Zhang (1), Chao Zhang (1), Guoliang Li (1), Chengliang Chai (2), ((1) Tsinghua University, (2) Beijing Institute of Technology)

TL;DR
AutoCE is a learning-based model advisor that adaptively selects the most suitable cardinality estimation model for diverse datasets, significantly improving accuracy and efficiency in database query optimization.
Contribution
It introduces a novel deep metric learning approach with incremental learning for effective model selection across varied datasets.
Findings
AutoCE achieves 27% better performance in query optimization.
It outperforms baselines with 2.1x higher accuracy.
Demonstrates robustness and efficiency in PostgreSQL integration.
Abstract
Cardinality estimation (CE) plays a crucial role in many database-related tasks such as query generation, cost estimation, and join ordering. Lately, we have witnessed the emergence of numerous learned CE models. However, no single CE model is invincible when it comes to the datasets with various data distributions. To facilitate data-intensive applications with accurate and efficient cardinality estimation, it is important to have an approach that can judiciously and efficiently select the most suitable CE model for an arbitrary dataset. In this paper, we study a new problem of selecting the best CE models for a variety of datasets. This problem is rather challenging as it is hard to capture the relationship from various datasets to the performance of disparate models. To address this problem, we propose a model advisor, named AutoCE, which can adaptively select the best model for a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Data Classification
