Joint Recommendation of Materialized Views and Indexes Based on Reinforcement Learning
With the increasing amount of data in current OLAP databases, higher requirements are being placed on query efficiency. Index recommendation and materialized view recommendation are very important practical problems in database management systems, as both aim to improve the execution efficiency of specified workloads. Tuning both views and indexes for a given workload can be a daunting task for DBAs or automation tools, as both index tuning and view recommendation alone are NP-hard problems. When placed in the same tuning system, the search space rises exponentially. To address these challenges, we propose an intelligent approach for integrated physical database design recommendation. The system is made up of an index and view selection model based on Monte Carlo Tree Search and a utility estimation model based on deep learning, which can speed up the efficiency of index and view recommendation and quickly and accurately estimate the execution cost of a query. Specifically, our approach achieves up to a 60% performance gain when running industrial benchmarks.
Authors
- Shipeng Cao
- Yang Hu (ORCID: https://orcid.org/0000-0002-2515-4458)
- Jiangqing Wang
- Bowen Zhang (ORCID: https://orcid.org/0000-0002-8847-1215)
- Huili Zhang (ORCID: https://orcid.org/0000-0001-6658-5070)
- Chong Sun (ORCID: https://orcid.org/0000-0001-8915-0969)
- Chongwei Ruan
Institutions
- Minzu University of China (CN)
- Genertec Shenyang Machine Tool Co., Ltd. (China) (CN)
Publication Details
- Published
- 2024-10-11
- DOI
- https://doi.org/10.1109/icebe62490.2024.00040
- Primary Topic
- Recommender Systems and Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00