DISTILL
Tarique Siddiqui, Wentao Wu, Vivek R. Narasayya et al. · Proceedings of the VLDB Endowment · 2022
Many database systems offer index tuning tools that help automatically select appropriate indexes for improving the performance of an input workload. Index tuning is a resource-intensive and time-consuming task requiring expensive optimizer calls for estimating the cost of queries over potential index configurations. In this work, we develop low-overhead techniques that can be leveraged by index tuning tools for reducing a large number of optimizer calls without making changes to the tuning algorithm or to the query optimizer. First, index tuning tools use rule-based techniques to generate a large number of syntactically-relevant indexes; however, a large proportion of such indexes are spurious and do not lead to a significant improvement in the performance of queries. We eliminate such indexes much earlier in the search by leveraging patterns in the workload, without making optimizer calls. Second, we learn cost models that exploit the similarity between query and index configuration pairs in the workload to efficiently estimate the cost of queries over a large number of index configurations using fewer optimizer calls. We perform an extensive evaluation over both real-world and synthetic benchmarks, and show that given the same set of input queries, indexes, and the search algorithm for exploration, our proposed techniques can lead to a median reduction in tuning time of 3X and a maximum of 12X compared to state-of-the-art tuning tools with similar quality of recommended indexes.
Cited by 24 works. doi:10.14778/3547305.3547309
Authors
References
- Physical database design for relational databases
- Automatic physical database tuning
- Selectivity estimation for range predicates using lightweight models
- Database tuning advisor for microsoft SQL server 2005
- Index selection for databases: a hardness study and a principled heuristic solution
- Plan Selection based on Query Clustering
- Parametric Query Optimization for Linear and Piecewise Linear Cost Functions
- Magic mirror in my hand, which is the best in the land?
- Physical design refinement
- FLAML: A Fast and Lightweight AutoML Library