FASTune: Towards Fast and Stable Database Tuning System with Reinforcement Learning
-
Published:2023-05-10
Issue:10
Volume:12
Page:2168
-
ISSN:2079-9292
-
Container-title:Electronics
-
language:en
-
Short-container-title:Electronics
Author:
Shi Lei123ORCID, Li Tian2, Wei Lin1ORCID, Tao Yongcai2, Li Cuixia1, Gao Yufei13ORCID
Affiliation:
1. School of Cyber Science and Engineering, Zhengzhou University, Zhengzhou 450002, China 2. School of Computer and Artificial Intelligence, Zhengzhou University, Zhengzhou 450001, China 3. Songshan Lab, Zhengzhou 450046, China
Abstract
Configuration tuning is vital to achieving high performance for a database management system (DBMS). Recently, automatic tuning methods using Reinforcement Learning (RL) have been explored to find better configurations compared with database administrators (DBAs) and heuristics. However, existing RL-based methods still have several limitations: (1) Excessive overhead due to reliance on cloned databases; (2) trial-and-error strategy may produce dangerous configurations that lead to database failure; (3) lack the ability to handle dynamic workload. To address the above challenges, a fast and stable RL-based database tuning system, FASTune, is proposed. A virtual environment is proposed to evaluate configurations which is an equivalent yet more efficient scheme than the cloned database. To ensure stability during tuning, FASTune adopts an environment proxy to avoid dangerous configurations. In addition, a Multi-State Soft Actor–Critic (MS-SAC) model is proposed to handle dynamic workloads, which utilizes the soft actor–critic network to tune the database according to workload and database states. The experimental results indicate that, compared with the state-of-the-art methods, FASTune can achieve improvements in performance while maintaining stability in the tuning.
Funder
National Key Technologies R&D Program Key Project of Public Benefit in Henan Province of China Nature Science Foundation of China Key Scientific Research Projects of Colleges and Universities in Henan Province Key Project of Collaborative Innovation in Nanyang Key Technology Project of Henan Province of China Research Foundation for Advanced Talents of Zhengzhou University
Subject
Electrical and Electronic Engineering,Computer Networks and Communications,Hardware and Architecture,Signal Processing,Control and Systems Engineering
Reference67 articles.
1. Belknap, P., Dageville, B., Dias, K., and Yagoub, K. (April, January 29). Self-Tuning for SQL Performance in Oracle Database 11g. Proceedings of the 2009 IEEE 25th International Conference on Data Engineering, Shanghai, China. 2. QTune: A Query-Aware Database Tuning System with Deep Reinforcement Learning;Li;Proc. VLDB Endow.,2019 3. Cai, B., Liu, Y., Zhang, C., Zhang, G., Zhou, K., Liu, L., Li, C., Cheng, B., Yang, J., and Xing, J. (2022, January 12–17). HUNTER: An Online Cloud Database Hybrid Tuning System for Personalized Requirements. Proceedings of the 2022 International Conference on Management of Data. ACM, Philadelphia, PA, USA. 4. Zhu, Y., Liu, J., Guo, M., Bao, Y., Ma, W., Liu, Z., Song, K., and Yang, Y. (2017, January 24–27). BestConfig: Tapping the Performance Potential of Systems via Automatic Configuration Tuning. Proceedings of the 2017 Symposium on Cloud Computing. Association for Computing Machinery, SoCC ’17, Santa Clara, CA, USA. 5. Marco, A., Berkenkamp, F., Hennig, P., Schoellig, A.P., Krause, A., Schaal, S., and Trimpe, S. (June, January 29). Virtual vs. Real: Trading off Simulations and Physical Experiments in Reinforcement Learning with Bayesian Optimization. Proceedings of the 2017 IEEE International Conference on Robotics and Automation (ICRA), Singapore.
|
|