Esc: An Early-Stopping Checker for Budget-aware Index Tuning
Xiaoying Wang, Wentao Wu, Vivek R. Narasayya, Surajit Chaudhuri
摘要
Index tuning is a time-consuming process. One major performance bottleneck in existing index tuning systems is the large amount of "what-if" query optimizer calls that estimate the cost of a given pair of query and index configuration without materializing the indexes. There has been recent work on budget-aware index tuning that limits the amount of what-if calls allowed in index tuning. Existing budget-aware index tuning algorithms, however, typically make fast progress early on in terms of the best configuration found but slow down when more and more what-if calls are allocated. This observation of "diminishing return" on index quality leads us to introduce early stopping for budget-aware index tuning, where user specifies a threshold on the tolerable loss of index quality and we stop index tuning if the projected loss with the remaining budget is below the threshold. We further propose Esc, a low-overhead early-stopping checker that realizes this new functionality. Experimental evaluation on top of both industrial benchmarks and real customer workloads demonstrates that Esc can significantly reduce the number of what-if calls made during budget-aware index tuning while incurring little or zero improvement loss and little extra computational overhead compared to the overall index tuning time.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction 引用了 An End-to-End Learning-based Cost Estimator
- Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction 引用了 Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findings
- UTune: Towards Uncertainty-Aware Online Index Tuning 引用了 Learned Index Benefits: Machine Learning Based Index Performance Estimation
- UTune: Towards Uncertainty-Aware Online Index Tuning 引用了 QueryFormer: A Tree Transformer Model for Query Plan Representation
- UTune: Towards Uncertainty-Aware Online Index Tuning 引用了 Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis]
- Learned Index Benefits: Machine Learning Based Index Performance Estimation 引用了 An End-to-End Learning-based Cost Estimator
- QueryFormer: A Tree Transformer Model for Query Plan Representation 引用了 An End-to-End Learning-based Cost Estimator
- QueryFormer: A Tree Transformer Model for Query Plan Representation 引用了 Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findings
- Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction
- Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 Learned Index Benefits: Machine Learning Based Index Performance Estimation
- Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 QueryFormer: A Tree Transformer Model for Query Plan Representation
- Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 An End-to-End Learning-based Cost Estimator
- Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findings
引用它的顶会 Paper2
它引用的 Paper16
- An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 次引用
- QueryFormer: A Tree Transformer Model for Query Plan RepresentationYue Zhao, Gao Cong, Jiachen Shi, Chunyan MiaoVLDB 2022 · 117 次引用
- Zero-Shot Cost Models for Out-of-the-box Learned Cost PredictionBenjamin Hilprecht, Carsten BinnigVLDB 2022 · 90 次引用
- Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our FindingsTarique Siddiqui, Alekh Jindal, Shi Qiao, Hiren Patel 等SIGMOD 2020 · 80 次引用
- Learned Index Benefits: Machine Learning Based Index Performance EstimationJiachen Shi, Gao Cong, Xiaoli LiVLDB 2022 · 42 次引用
相关 Paper
- Budget-aware Index Tuning with Reinforcement LearningWentao Wu, Chi Wang, Tarique Siddiqui, Junxiong Wang 等SIGMOD 2022 · 33 次引用
- Wii: Dynamic Budget Reallocation In Index TuningXiaoying Wang, Wentao Wu, Chi Wang, Vivek R. Narasayya 等SIGMOD 2024 · 6 次引用
- 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 次引用
- Guiding Index Tuning Exploration with Potential EstimationKecheng Luo, Ruiyang Ma, Peng Cai, Aoying Zhou 等ICDE 2025 · 1 次引用
- Refactoring Index Tuning Process with Benefit EstimationTao Yu, Zhaonian Zou, Weihua Sun, Yu YanVLDB 2024 · 13 次引用
