Esc: An Early-Stopping Checker for Budget-Aware Index Tuning
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.
Authors
- Wentao Wu (ORCID: https://orcid.org/0009-0006-2454-7109)
- Surajit Chaudhuri (ORCID: https://orcid.org/0000-0001-8252-5270)
- Vivek Narasayya (ORCID: https://orcid.org/0000-0001-7011-7886)
- Xiaoying Wang (ORCID: https://orcid.org/0009-0004-7817-7196)
Institutions
- Microsoft (United States) (US)
- Simon Fraser University (CA)
Publication Details
- Journal
- Proceedings of the VLDB Endowment
- Published
- 2025-01-01
- DOI
- https://doi.org/10.14778/3718057.3718059
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00