UTune: Towards Uncertainty-Aware Online Index Tuning
By: Chenning Wu , Sifan Chen , Wentao Wu and more
Potential Business Impact:
Helps computers pick the best ways to store data.
There have been a flurry of recent proposals on learned benefit estimators for index tuning. Although these learned estimators show promising improvement over what-if query optimizer calls in terms of the accuracy of estimated index benefit, they face significant limitations when applied to online index tuning, an arguably more common and more challenging scenario in real-world applications. There are two major challenges for learned index benefit estimators in online tuning: (1) limited amount of query execution feedback that can be used to train the models, and (2) constant coming of new unseen queries due to workload drifts. The combination of the two hinders the generalization capability of existing learned index benefit estimators. To overcome these challenges, we present UTune, an uncertainty-aware online index tuning framework that employs operator-level learned models with improved generalization over unseen queries. At the core of UTune is an uncertainty quantification mechanism that characterizes the inherent uncertainty of the operator-level learned models given limited online execution feedback. We further integrate uncertainty information into index selection and configuration enumeration, the key component of any index tuner, by developing a new variant of the classic $Ξ΅$-greedy search strategy with uncertainty-weighted index benefits. Experimental evaluation shows that UTune not only significantly improves the workload execution time compared to state-of-the-art online index tuners but also reduces the index exploration overhead, resulting in faster convergence when the workload is relatively stable.
Similar Papers
UTune: Towards Uncertainty-Aware Online Index Tuning
Databases
Makes computer databases run much faster.
AQETuner: Reliable Query-level Configuration Tuning for Analytical Query Engines
Databases
Makes computer data searches faster and more reliable.
OntoTune: Ontology-Driven Learning for Query Optimization with Convolutional Models
Databases
Makes computer searches faster and smarter.