Refactoring Index Tuning Process with Benefit Estimation
Tao Yu, Zhaonian Zou, Weihua Sun, Yu Yan
Abstract
Index tuning is a challenging task aiming to improve query performance by selecting the most effective indexes for a database and a workload. Existing automatic index tuning methods typically rely on "what-if tools" to evaluate the benefit of an index configuration, which is costly and sometimes inaccurate. In this paper, we propose RIBE, a novel method that effectively eliminates redundant queries from the workload and harnesses statistical information of query plans to enable fast and accurate estimation of the benefit of an index configuration. With RIBE, a considerable portion of what-if calls can be skipped, thereby reducing index tuning time and increasing estimation accuracy. At the heart of RIBE is a deep learning model based on attention mechanism that predicts the impact of indexes on queries. A practical advantage of RIBE is that it achieves both improved accuracy of benefit estimation and time savings without making any changes to DBMS implementation and index configuration enumeration algorithms. Our evaluation shows that RIBE can achieve competitive tuning results and 1--2 orders of magnitude faster performance compared with the tuning method based on the full workload, and RIBE also attains higher tuning quality and comparable efficiency against the tuning methods based on the state-of-the-art workload compression methods.
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 8d1c81eb-eb7d-4eb9-a2b9-85dd528c56c3Cited by top-tier papers5
- Esc: An Early-Stopping Checker for Budget-aware Index TuningXiaoying Wang, Wentao Wu, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2025 · 4 citations
- PLM4NDV: Minimizing Data Access for Number of Distinct Values Estimation with Pre-trained Language ModelsXianghong Xu, Xiao He, Tieying Zhang, Lei Zhang et al.SIGMOD 2025 · 1 citation
- Robust Index Benefit Estimation via Hierarchical and Two-Dimensional Feature RepresentationTao Li, Feng Liang, Jinqi Quan, Zihang Yang et al.ICDE 2026 · 1 citation
- TxnSails: Achieving Serializable Transaction Scheduling with Self-Adaptive Isolation Level SelectionQiyu Zhuang, Wei Lu, Shuang Liu, Yuxing Chen et al.VLDB 2025 · 1 citation
- UTune: Towards Uncertainty-Aware Online Index TuningChenning Wu, Sifan Chen, Wentao Wu, Yinan Jing et al.ICDE 2026
Builds on17
- 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
- Are We Ready For Learned Cardinality Estimation?Xiaoying Wang, Changbo Qu, Weiyuan Wu, Jiannan Wang et al.VLDB 2021 · 156 citations
- DeepDB: Learn from Data, not from Queries!Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina et al.VLDB 2020 · 154 citations
- NeuroCard: One Cardinality Estimator for All TablesZongheng Yang, Amog Kamsetty, Sifei Luan, Eric Liang et al.VLDB 2021 · 138 citations
Related papers
- Learned Index Benefits: Machine Learning Based Index Performance EstimationJiachen Shi, Gao Cong, Xiaoli LiVLDB 2022 · 42 citations
- DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index TuningTarique Siddiqui, Wentao Wu, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2022 · 36 citations
- RIB: Robust Learning-based Index Benefit EstimationSifan Chen, Chenning Wu, Yinan Jing, Wentao Wu et al.SIGMOD 2026
- Wred: Workload Reduction for Scalable Index TuningMatteo Brucato, Tarique Siddiqui, Wentao Wu, Vivek R. Narasayya et al.SIGMOD 2024 · 7 citations
- ISUM: Efficiently Compressing Large and Complex Workloads for Scalable Index TuningTarique Siddiqui, Saehan Jo, Wentao Wu, Chi Wang et al.SIGMOD 2022 · 25 citations
