HUNTER: An Online Cloud Database Hybrid Tuning System for Personalized Requirements
Authors:
Open Access
- 10 June 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 646-659
Abstract
Recently, using machine learning for performance tuning of cloud database (CDB) service has shown great potentials. However, facing personalized requirements such as various restrictions for tuning with very different workloads, pre-trained models may mismatch or recommend suboptimal configurations given a new workload. On the other hand, if the system tunes configurations in an online fashion, the system will suffer from the cold start problem, resulting in long tuning time and performance fluctuation. To accommodate these problems, we propose an online CDB tuning system called HUNTER. The key feature of HUNTER is a hybrid architecture, which uses samples generated by Genetic Algorithm to warm-start the finer grained exploration of deep reinforcement learning. Meanwhile, we employ Principal Component Analysis, Random Forest, and Fast Exploration Strategy to reduce the search space and the update time of the learning model. In addition, we further propose a clone and parallelization scheme to stress-test workloads on multiple cloned CDB instances (CDBs), resulting in faster and safer configuration exploration. Extensive trials on CDB with public and real-world workloads demonstrate that, given the same time budget and resources, HUNTER improves performance and considerably decreases recommendation time compared to state-of-the-art tuning systems, with accelerations of up to 2.8× and 22.8× utilizing 1 and 20 cloned CDBs, respectively.Keywords
Funding Information
- the National Natural Science Foundation (61902135)
- The Innovation Group Project of National Natural Science Foundation (61821003)
This publication has 29 references indexed in Scilit:
- Dostoevsky2018
- Deep Reinforcement Learning: A Brief SurveyIEEE Signal Processing Magazine, 2017
- BestConfig2017
- Automatic Database Management System Tuning Through Large-scale Machine Learning2017
- DBSherlock2016
- How Many Trees in a Random Forest?2012
- Tuning database configuration parameters with iTunedProceedings of the VLDB Endowment, 2009
- A new approach to dynamic self-tuning of database buffersACM Transactions on Storage, 2008
- SARD: A statistical approach for ranking database tuning parameters2008
- Using probabilistic reasoning to automate software tuningACM SIGMETRICS Performance Evaluation Review, 2004