Litcius/Paper detail

Budget-aware Index Tuning with Reinforcement Learning

Wentao Wu, Chi Wang, Tarique Siddiqui, Junxiong Wang, Vivek Narasayya, Surajit Chaudhuri, Philip A. Bernstein

2022Proceedings of the 2022 International Conference on Management of Data30 citationsDOI

Abstract

Index tuning aims to find the optimal index configuration for an input workload. It is a resource-intensive task since it requires making multiple expensive "what-if" calls to the query optimizer to estimate the cost of a query given an index configuration without actually building the indexes. In this paper, we study the problem of budget-aware index tuning where the number of what-if calls allowed when searching for the optimal configuration during tuning is constrained. This problem is challenging as it requires addressing the trade-off between investing what-if calls on exploring new configurations versus exploiting a known promising configuration. We formulate budget-aware index tuning as a Markov decision process, and propose a solution based on Monte Carlo tree search, a classic reinforcement learning technology. Experimental evaluation on both standard industry benchmarks and real workloads shows that our solution can significantly outperform alternative budget-aware solutions in terms of the quality of the index configuration.

Topics & Concepts

Computer scienceReinforcement learningMarkov decision processIndex (typography)WorkloadMonte Carlo tree searchTask (project management)Process (computing)Mathematical optimizationMarkov processTree (set theory)Resource (disambiguation)Monte Carlo methodArtificial intelligenceEngineeringSystems engineeringStatisticsMathematicsOperating systemMathematical analysisComputer networkWorld Wide WebData Stream Mining TechniquesOptimization and Search ProblemsData Management and Algorithms
Budget-aware Index Tuning with Reinforcement Learning | Litcius