Evaluating the Practical Effectiveness of LLM-Driven Index Tuning with Microsoft Database Tuning Advisor
Xiaoying Wang, Wentao Wu, Vivek Narasayya, Surajit Chaudhuri

TL;DR
This paper evaluates the effectiveness of using large language models for index tuning in databases, comparing it with traditional methods and highlighting its potential and challenges.
Contribution
It provides a comprehensive analysis of LLM-driven index tuning's practical performance, revealing its strengths, limitations, and insights for future improvements.
Findings
LLM can find index configurations that outperform DTA in execution time in some cases.
DTA is generally more reliable than LLM for index tuning.
Adopting LLM in production faces challenges like performance variance and high validation costs.
Abstract
Index tuning is critical for the performance of modern database systems. Industrial index tuners, such as the Database Tuning Advisor (DTA) developed for Microsoft SQL Server, rely on the "what-if" API provided by the query optimizer to estimate the cost of a query given an index configuration, which can lead to suboptimal recommendations when the estimations are inaccurate. Large language model (LLM) offers a new approach to index tuning, with knowledge learned from web-scale training datasets. However, the effectiveness of LLM-driven index tuning, especially beyond what is already achieved by commercial index tuners, remains unclear. In this paper, we study the practical effectiveness of LLM-driven index tuning using both industrial benchmarks and real-world enterprise customer workloads, and compare it with DTA. Our results show that although DTA is generally more reliable, with a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
