AutoCE: An Accurate and Efficient Model Advisor for Learned Cardinality Estimation

Jintao Zhang, Chao Zhang*, Guoliang Li*, Chengliang Chai

*此作品的通讯作者

科研成果: 书/报告/会议事项章节会议稿件同行评审

6 引用 (Scopus)

摘要

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 dataset. The main contribution of AutoCE is the learning-based model selection, where deep metric learning is used to learn a recommendation model and incremental learning is proposed to reduce the labeling overhead and improve the model robustness. We have integrated AutoCE into PostgreSQL and evaluated its impact on query optimization. The results showed that AutoCE achieved the best performance (27% better) and outperformed the baselines concerning accuracy (2.1x better) and efficacy (4.2x better).

源语言英语
主期刊名Proceedings - 2023 IEEE 39th International Conference on Data Engineering, ICDE 2023
出版商IEEE Computer Society
2621-2633
页数13
ISBN(电子版)9798350322279
DOI
出版状态已出版 - 2023
活动39th IEEE International Conference on Data Engineering, ICDE 2023 - Anaheim, 美国
期限: 3 4月 20237 4月 2023

出版系列

姓名Proceedings - International Conference on Data Engineering
2023-April
ISSN(印刷版)1084-4627

会议

会议39th IEEE International Conference on Data Engineering, ICDE 2023
国家/地区美国
Anaheim
时期3/04/237/04/23

指纹

探究 'AutoCE: An Accurate and Efficient Model Advisor for Learned Cardinality Estimation' 的科研主题。它们共同构成独一无二的指纹。

引用此