Robust Index Benefit Estimation via Hierarchical and Two-Dimensional Feature Representation
Tao Li, Feng Liang, Jinqi Quan, Zihang Yang, Teng Wang, Runhuai Huang, Xiping Hu, Meng Li, Haipeng Dai
Abstract
In recent years, machine learning-based index advisors have gained success as they can estimate the benefit of a given index without actually evaluating it via what-if optimizers. However, existing methods often fail to capture indexrelevant features adequately, leading to limited accuracy and poor adaptability to changes in workload, schema, or data. To address these challenges, we propose Eddie, a novel index benefit estimation approach based on Hierarchical and Twodimensional Encoding. Our method encodes columns according to their positions in queries and indexes, consolidates indexrelated features into a compact representation, and leverages twodimensional attention to model both query plan structure and index interactions. Finally, Eddie can be seamlessly integrated with existing index advisors in real-world systems. 11https://github.com/quanjnq/Eddie Extensive evaluations demonstrate that it significantly outperforms stateof-the-art estimators in both accuracy and robustness.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e174a719-fd63-4dba-8773-61d089909460Builds on16
- An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 citations
- Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul et al.SIGMOD 2021 · 242 citations
- QueryFormer: A Tree Transformer Model for Query Plan RepresentationYue Zhao, Gao Cong, Jiachen Shi, Chunyan MiaoVLDB 2022 · 117 citations
- Learned Cardinality Estimation: A Design Space Exploration and A Comparative EvaluationJi Sun, Jintao Zhang, Zhaoyan Sun, Guoliang Li et al.VLDB 2022 · 90 citations
- Zero-Shot Cost Models for Out-of-the-box Learned Cost PredictionBenjamin Hilprecht, Carsten BinnigVLDB 2022 · 90 citations
Related papers
- Learned Index Benefits: Machine Learning Based Index Performance EstimationJiachen Shi, Gao Cong, Xiaoli LiVLDB 2022 · 42 citations
- Refactoring Index Tuning Process with Benefit EstimationTao Yu, Zhaonian Zou, Weihua Sun, Yu YanVLDB 2024 · 13 citations
- Guiding Index Tuning Exploration with Potential EstimationKecheng Luo, Ruiyang Ma, Peng Cai, Aoying Zhou et al.ICDE 2025 · 1 citation
- Rainbow: Risk-aware Index Benefit Estimation Facing Out Of Distribution WorkloadsKecheng Luo, Ruiyang Ma, Peng CaiSIGMOD 2026 · 1 citation
- UTune: Towards Uncertainty-Aware Online Index TuningChenning Wu, Sifan Chen, Wentao Wu, Yinan Jing et al.ICDE 2026
