arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.18199cs.DB
收藏

UTune:面向不确定性感知的在线索引调优

UTune: Towards Uncertainty-Aware Online Index Tuning

Fudan University(复旦大学);Microsoft Research(微软研究院)

Chenning Wu, Sifan Chen, Wentao Wu, Yinan Jing, Zhenying He, Kai Zhang, X. Sean Wang

AI总结:

UTune通过引入不确定性感知机制,提升在线索引调优的泛化能力和收敛速度,减少索引探索开销。

摘要:

近年来,关于学习收益估计器在索引调优方面的研究层出不穷。尽管这些学习估计器在查询优化器调用的准确性方面表现出有希望的改进,但当应用于在线索引调优时,却面临显著的限制,这在现实应用中可能更为常见且更具挑战性。学习索引收益估计器在在线调优中面临两个主要挑战:(1)可用于训练模型的查询执行反馈有限;(2)由于工作负载漂移,不断出现新的未见过的查询。这两个因素共同阻碍了现有学习索引收益估计器的泛化能力。为克服这些挑战,我们提出了UTune,一个具有不确定性感知的在线索引调优框架,该框架采用具有改进泛化能力的运算符级学习模型。UTune的核心是一个不确定性量化机制,该机制表征了在有限在线执行反馈下运算符级学习模型的内在不确定性。我们进一步将不确定性信息整合到索引选择和配置枚举中,这是任何索引调优器的关键组成部分,通过开发一种新的经典ε-贪婪搜索策略变体,该变体具有基于不确定性的索引收益加权。实验评估显示,UTune不仅在工作负载执行时间方面显著优于最先进的在线索引调优器,还减少了索引探索开销,从而在工作负载相对稳定时实现更快的收敛。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑