Lune

VLDB2025Top-tier venue

Esc: An Early-Stopping Checker for Budget-aware Index Tuning

Xiaoying Wang, Wentao Wu, Vivek R. Narasayya, Surajit Chaudhuri

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction cites An End-to-End Learning-based Cost Estimator
  • Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction cites Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findings
  • UTune: Towards Uncertainty-Aware Online Index Tuning cites Learned Index Benefits: Machine Learning Based Index Performance Estimation
  • UTune: Towards Uncertainty-Aware Online Index Tuning cites QueryFormer: A Tree Transformer Model for Query Plan Representation
  • UTune: Towards Uncertainty-Aware Online Index Tuning cites Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis]
  • Learned Index Benefits: Machine Learning Based Index Performance Estimation cites An End-to-End Learning-based Cost Estimator
  • QueryFormer: A Tree Transformer Model for Query Plan Representation cites An End-to-End Learning-based Cost Estimator
  • QueryFormer: A Tree Transformer Model for Query Plan Representation cites Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findings
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] cites Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] cites Learned Index Benefits: Machine Learning Based Index Performance Estimation
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] cites QueryFormer: A Tree Transformer Model for Query Plan Representation
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] cites An End-to-End Learning-based Cost Estimator
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] cites Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findings
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. UTune: Towards Uncertainty-Aware Online Index TuningChenning Wu, Sifan Chen, Wentao Wu, Yinan Jing et al.ICDE 2026
  2. 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 on16

  1. An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 citations
  2. QueryFormer: A Tree Transformer Model for Query Plan RepresentationYue Zhao, Gao Cong, Jiachen Shi, Chunyan MiaoVLDB 2022 · 117 citations
  3. Zero-Shot Cost Models for Out-of-the-box Learned Cost PredictionBenjamin Hilprecht, Carsten BinnigVLDB 2022 · 90 citations
  4. Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our FindingsTarique Siddiqui, Alekh Jindal, Shi Qiao, Hiren Patel et al.SIGMOD 2020 · 80 citations
  5. Learned Index Benefits: Machine Learning Based Index Performance EstimationJiachen Shi, Gao Cong, Xiaoli LiVLDB 2022 · 42 citations

Related papers

  1. Budget-aware Index Tuning with Reinforcement LearningWentao Wu, Chi Wang, Tarique Siddiqui, Junxiong Wang et al.SIGMOD 2022 · 33 citations
  2. Wii: Dynamic Budget Reallocation In Index TuningXiaoying Wang, Wentao Wu, Chi Wang, Vivek R. Narasayya et al.SIGMOD 2024 · 6 citations
  3. 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
  4. Guiding Index Tuning Exploration with Potential EstimationKecheng Luo, Ruiyang Ma, Peng Cai, Aoying Zhou et al.ICDE 2025 · 1 citation
  5. Refactoring Index Tuning Process with Benefit EstimationTao Yu, Zhaonian Zou, Weihua Sun, Yu YanVLDB 2024 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines