FASTune: Towards Fast and Stable Database Tuning System with Reinforcement Learning

被引:0
作者
Shi, Lei [1 ,2 ,3 ]
Li, Tian [2 ]
Wei, Lin [1 ]
Tao, Yongcai [2 ]
Li, Cuixia [1 ]
Gao, Yufei [1 ,3 ]
机构
[1] Zhengzhou Univ, Sch Cyber Sci & Engn, Zhengzhou 450002, Peoples R China
[2] Zhengzhou Univ, Sch Comp & Artificial Intelligence, Zhengzhou 450001, Peoples R China
[3] Songshan Lab, Zhengzhou 450046, Peoples R China
关键词
database tuning; reinforcement learning; decision making; deep learning;
D O I
10.3390/electronics12102168
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:22
相关论文
共 50 条
[41]   Learning Human Strategies for Tuning Cavity Filters with Continuous Reinforcement Learning [J].
Wang, Zhiyang ;
Ou, Yongsheng .
APPLIED SCIENCES-BASEL, 2022, 12 (05)
[42]   A Stable Deep Reinforcement Learning Framework for Recommendation [J].
Liu, Ruochen ;
Jiang, Dawei ;
Zhang, Xilong .
IEEE INTELLIGENT SYSTEMS, 2022, 37 (03) :76-84
[43]   Stable reinforcement learning with recurrent neural networks [J].
Knight J.N. ;
Anderson C. .
Journal of Control Theory and Applications, 2011, 9 (3) :410-420
[44]   Stable reinforcement learning with recurrent neural networks [J].
James Nate KNIGHT ;
Charles ANDERSON .
JournalofControlTheoryandApplications, 2011, 9 (03) :410-420
[45]   On a Way Together - Database and Machine Learning for Performance Tuning [J].
Khosla, Cherry ;
Saini, Baljit Singh .
2021 INTERNATIONAL CONFERENCE ON COMPUTING SCIENCES (ICCS 2021), 2021, :123-128
[46]   Fast reinforcement learning for simple physical robots [J].
Hartono P. ;
Kakita S. .
Memetic Computing, 2009, 1 (4) :305-313
[47]   Fast reinforcement learning with generalized policy updates [J].
Barreto, Andre ;
Hou, Shaobo ;
Borsa, Diana ;
Silver, David ;
Precup, Doina .
PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2020, 117 (48) :30079-30087
[48]   SmartIX: A database indexing agent based on reinforcement learning [J].
Gabriel Paludo Licks ;
Julia Colleoni Couto ;
Priscilla de Fátima Miehe ;
Renata de Paris ;
Duncan Dubugras Ruiz ;
Felipe Meneguzzi .
Applied Intelligence, 2020, 50 :2575-2588
[49]   SmartIX: A database indexing agent based on reinforcement learning [J].
Licks, Gabriel Paludo ;
Couto, Julia Colleoni ;
Miehe, Priscilla de Fatima ;
de Paris, Renata ;
Ruiz, Duncan Dubugras ;
Meneguzzi, Felipe .
APPLIED INTELLIGENCE, 2020, 50 (08) :2575-2588
[50]   PostgreSQL Database Parameter Optimization Based on Reinforcement Learning [J].
Zhang, Junhao .
2024 9TH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND SIGNAL PROCESSING, ICSP, 2024, :74-78