
Research Article
RBOIRA: Integrating Rules and Reinforcement Learning to Improve Index Recommendation
@ARTICLE{10.4108/eetsis.3822, author={Wenbo Yu and Jinguo You and Xiangyu Niu and Jianfeng He and Yunwei Zhang}, title={RBOIRA: Integrating Rules and Reinforcement Learning to Improve Index Recommendation}, journal={EAI Endorsed Transactions on Scalable Information Systems}, volume={10}, number={6}, publisher={EAI}, journal_a={SIS}, year={2023}, month={9}, keywords={index recommendation, heuristic rules, dynamic database, reinforcement learning}, doi={10.4108/eetsis.3822} }
- Wenbo Yu
Jinguo You
Xiangyu Niu
Jianfeng He
Yunwei Zhang
Year: 2023
RBOIRA: Integrating Rules and Reinforcement Learning to Improve Index Recommendation
SIS
EAI
DOI: 10.4108/eetsis.3822
Abstract
INTRODUCTION: The index is one of the most effective ways to improve the database query performance. The expert-based index recommendation approach cannot adjust the index configuration in real time. At the same time, reinforcement learning can automatically update the index and improve the recommended configuration by leveraging expert experience. OBJECTIVES: This paper proposes the RBOIRA, which combines rules and reinforcement learning to recommend the optimal index configuration for a set of workloads in a dynamic database. METHODS: Firstly, RBOIRA designed three heuristic rules for pruning index candidates. Secondly, it uses reinforcement learning to recommend the optimal index configuration for a set of workloads in the database. Finally, we conducted extensive experiments to evaluate RBOIRA using the TPC-H database benchmark. RESULTS: RBOIRA recommends index configurations with superior performance compared to the baselines we define and other reinforcement learning methods used in related work and also has robustness in different database sizes.
Copyright © 2023 W. Yu et al., licensed to EAI. This is an open access article distributed under the terms of the CC BY-NC-SA 4.0, which permits copying, redistributing, remixing, transformation, and building upon the material in any medium so long as the original work is properly cited.