arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.15073cs.AIcs.DB
收藏

KnobTree:基于可解释强化学习的智能数据库参数配置

KnobTree: Intelligent Database Parameter Configuration via Explainable Reinforcement Learning

Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Tianjin Nanda General Data Technology Co.,Ltd.(天津南大通用数据技术股份有限公司)

Jiahan Chen, Shuhan Qi, Yifan Li, Zeyu Dong, Mingfeng Ding, Yulin Wu, Xuan Wang

AI总结:

针对传统数据库参数调优方法难应对复杂参数、强化学习调优缺乏可解释性且大规模参数下学习不稳定的问题,提出可解释框架KnobTree,结合强化学习差分树与Shapley值参数评估,在MySQL等数据库上验证了其可解释性与性能优势。

摘要:

数据库是当代信息系统的基础,然而传统的基于规则的配置方法难以应对现实应用中包含数百个可调参数的复杂性。深度强化学习(DRL)融合感知与决策能力,为智能数据库参数调优提供了一种潜在解决方案。但由于基于强化学习的方法具有黑箱特性,其生成的数据库调优策略仍面临缺乏可解释性的迫切问题。此外,大规模数据库中的冗余参数往往导致策略学习过程不稳定。\n本文提出KnobTree——一种专为数据库参数配置优化设计的可解释框架。该框架中提出了一种基于强化学习差分树的可解释数据库调优算法,通过构建透明的树状模型生成具备可解释性的数据库调优策略。针对大规模参数问题,本文还引入了一种可解释的参数重要性评估方法,利用Shapley Values(沙普利值)识别对数据库性能有显著影响的参数。\n在MySQL和Gbase8s数据库上开展的实验验证了KnobTree模型具备出色的透明度与可解释性,这一优良特性使得生成的策略能够为算法设计者和数据库管理员提供实用指导。此外,本文方法在吞吐量、延迟和处理时间等指标上也略优于现有的基于强化学习的调优算法。

英文摘要:

Databases are fundamental to contemporary information systems, yet traditional rule-based configuration methods struggle to manage the complexity of real-world applications with hundreds of tunable parameters. Deep reinforcement learning (DRL), which combines perception and decision-making, presents a potential solution for intelligent database configuration tuning. However, due to black-box property of RL-based method, the generated database tuning strategies still face the urgent problem of lack explainability. Besides, the redundant parameters in large scale database always make the strategy learning become unstable. This paper proposes KnobTree, an interpertable framework designed for the optimization of database parameter configuration. In this framework, an interpertable database tuning algorithm based on RL-based differentatial tree is proposed, which building a transparent tree-based model to generate explainable database tuning strategies. To address the problem of large-scale parameters, We also introduce a explainable method for parameter importance assessment, by utilizing Shapley Values to identify parameters that have significant impacts on database performance. Experiments conducted on MySQL and Gbase8s databases have verified exceptional transparency and interpretability of the KnobTree model. The good property makes generated strategies can offer practical guidance to algorithm designers and database administrators. Moreover, our approach also slightly outperforms the existing RL-based tuning algorithms in aspects such as throughput, latency, and processing time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑