Esc: An Early-stopping Checker for Budget-aware Index Tuning
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 demonstrate that Esc can significantly reduce the number of what-if calls made during budget-aware index tuning while incur little or zero improvement loss and little extra computational overhead compared to the overall index tuning time.
Xiaoying Wang、Wentao Wu、Vivek Narasayya、Surajit Chaudhuri
计算技术、计算机技术
Xiaoying Wang,Wentao Wu,Vivek Narasayya,Surajit Chaudhuri.Esc: An Early-stopping Checker for Budget-aware Index Tuning[EB/OL].(2025-05-04)[2025-06-03].https://arxiv.org/abs/2505.02876.点此复制
评论