Litcius/Paper detail

An Index Advisor Using Deep Reinforcement Learning

Hai Lan, Zhifeng Bao, Yuwei Peng

202061 citationsDOI

Abstract

We study the problem of index selection to maximize the workload performance, which is critical to database systems. In contrast to existing methods, we seamlessly integrate index recommendation rules and deep reinforcement learning, such that we can recommend single-attribute and multi-attribute indexes together for complex queries and meanwhile support multiple-index access to a table. Specifically, we first propose five heuristic rules to generate the index candidates. Then, we formulate the index selection problem as a reinforcement learning task and employ Deep Q Network (DQN) on it. Using the heuristic rules can significantly reduce the dimensions of the action space and state space in reinforcement learning. With the neural network used in DQN, we can model the interactions between indexes better than previous methods. We conduct experiments on various workloads to show its superiority.

Topics & Concepts

Reinforcement learningComputer scienceArtificial intelligenceHeuristicWorkloadIndex (typography)Task (project management)Machine learningArtificial neural networkSelection (genetic algorithm)State spaceAction selectionReinforcementTable (database)Data miningMathematicsOperating systemStatisticsEconomicsWorld Wide WebManagementPerceptionNeuroscienceBiologyPsychologySocial psychologyData Stream Mining TechniquesData Management and AlgorithmsCloud Computing and Resource Management
An Index Advisor Using Deep Reinforcement Learning | Litcius