Wred: Workload Reduction for Scalable Index Tuning
Matteo Brucato, Tarique Siddiqui, Wentao Wu, Vivek R. Narasayya, Surajit Chaudhuri
Abstract
Modern database systems offer index-tuning advisors that automatically identify a set of indexes to improve workload performance. Advisors leverage the optimizer's what-if API to optimize a query for a hypothetical index configuration. Because what-if calls constitute a major bottleneck of index tuning, existing techniques, such as workload compression, help reduce the number of what-if calls to speed up tuning. Unfortunately, even with small workloads and few what-if calls, tuning can still take hours due to the complexity of the queries (e.g., the number of joins, filters, group-by and order-by clauses), which increases their optimization time. This paper introduces workload reduction, a new complementary technique aimed at expediting index tuning by decreasing individual what-if call time without significantly affecting the quality of index tuning. We present an efficient workload reduction algorithm, called Wred, which rewrites each query in the original workload to eliminate column and table expressions unlikely to benefit from indexes, thereby accelerating what-if calls. We study its complexity and ability to maintain high index quality. We perform an extensive evaluation over industry benchmarks and real-world customer workloads, which shows that Wred results in a 3x median speedup in tuning efficiency over an industrial-strength state-of-the-art index advisor, with only a 3.7% median loss in improvement---where improvement is the total workload cost as estimated by the query optimizer---and results in up to 24.7x speedup with 1.8% improvement loss. Furthermore, combining Wred and Isum (a state-of-the-art workload compression technique for index tuning) results in higher speedups than either of the two techniques alone, with 10.5x median speedup and 5% median improvement loss.
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 6d9a4ac8-07dc-45f7-96c6-3b5918f425edCited by top-tier papers5
- Hit the Gym: Accelerating Query Execution to Efficiently Bootstrap Behavior Models for Self-Driving Database Management SystemsWan Shen Lim, Lin Ma, William Zhang, Matthew Butrovich et al.VLDB 2024 · 10 citations
- Wii: Dynamic Budget Reallocation In Index TuningXiaoying Wang, Wentao Wu, Chi Wang, Vivek R. Narasayya et al.SIGMOD 2024 · 6 citations
- Esc: An Early-Stopping Checker for Budget-aware Index TuningXiaoying Wang, Wentao Wu, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2025 · 4 citations
- UTune: Towards Uncertainty-Aware Online Index TuningChenning Wu, Sifan Chen, Wentao Wu, Yinan Jing et al.ICDE 2026
- Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis]Wentao Wu, Anshuman Dutt, Gaoxiang Xu, Vivek R. Narasayya et al.SIGMOD 2026
Builds on8
- Cardinality Estimation in DBMS: A Comprehensive Benchmark EvaluationYuxing Han, Ziniu Wu, Peizhi Wu, Rong Zhu et al.VLDB 2022 · 169 citations
- A Learned Query Rewrite System using Monte Carlo Tree SearchXuanhe Zhou, Guoliang Li, Chengliang Chai, Jianhua FengVLDB 2022 · 85 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
- Budget-aware Index Tuning with Reinforcement LearningWentao Wu, Chi Wang, Tarique Siddiqui, Junxiong Wang et al.SIGMOD 2022 · 33 citations
- Comprehensive and Efficient Workload CompressionShaleen Deep, Anja Gruenheid, Paraschos Koutris, Jeffrey F. Naughton et al.VLDB 2021 · 28 citations
Related papers
- ISUM: Efficiently Compressing Large and Complex Workloads for Scalable Index TuningTarique Siddiqui, Saehan Jo, Wentao Wu, Chi Wang et al.SIGMOD 2022 · 25 citations
- Refactoring Index Tuning Process with Benefit EstimationTao Yu, Zhaonian Zou, Weihua Sun, Yu YanVLDB 2024 · 13 citations
- SCompression: Enhancing Database Knob Tuning Efficiency Through Slice-Based OLTP Workload CompressionBaoqing Cai, Yu Liu, Lin Ma, Pingqi Huang et al.VLDB 2025 · 1 citation
- Guiding Index Tuning Exploration with Potential EstimationKecheng Luo, Ruiyang Ma, Peng Cai, Aoying Zhou et al.ICDE 2025 · 1 citation
- Breaking It Down: An In-depth Study of Index AdvisorsWei Zhou, Chen Lin, Xuanhe Zhou, Guoliang LiVLDB 2024 · 21 citations
