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

为何数据库手册不够:通过代码驱动的LLM代理实现DBMS的高效可靠配置调优

Why Database Manuals Are Not Enough: Efficient and Reliable Configuration Tuning for DBMSs via Code-Driven LLM Agents

Renmin University, China(中国人民大学);Alibaba Group(阿里巴巴集团);Harbin Institute of Technology, Shenzen(哈尔滨工业大学(深圳))

Xinyi Zhang, Tiantian Chen, Zhentao Han, Zhaoyan Hong, Wei Lu, Sheng Wang, Mo Sha, Anni Wang, Shuang Liu, Yakun Zhang, Feifei Li, Xiaoyong Du

AI总结:

本文提出SysInsight系统,通过代码分析和LLM推理从DBMS源代码中提取细粒度调优知识,加速稳定调优过程,实现7.11倍更快收敛和19.9%性能提升。

摘要:

现代数据库管理系统(DBMS)暴露了数百个配置参数,这些参数对性能有关键影响。现有自动调优方法要么采用数据驱动范式,导致显著开销,要么依赖手动驱动的启发式方法,这些方法通常有限且过于笼统。受配置参数控制逻辑本质上编码在DBMS源代码的启发,本文认为有前景的调优策略可以直接从代码中挖掘,揭示基于系统内部的细粒度见解。为此,我们提出SysInsight,一个代码驱动的数据库调优系统,自动从DBMS源代码中提取细粒度调优知识,以加速和稳定调优过程。SysInsight结合静态代码分析与LLM推理,识别受参数控制的执行路径并提取语义调优见解。这些见解随后通过基于调优观察的关联规则挖掘转换为定量且可验证的调优规则。在在线调优过程中,系统诊断用于识别关键参数,这些参数在规则引导下进行调整。评估表明,与SOTA基线相比,SysInsight平均收敛到最佳配置的速度快7.11倍,同时实现19.9%的性能提升。

英文摘要:

Modern database management systems (DBMSs) expose hundreds of configuration knobs that critically influence performance. Existing automated tuning methods either adopt a data-driven paradigm, which incurs substantial overhead, or rely on manual-driven heuristics extracted from database documentation, which are often limited and overly generic. Motivated by the fact that the control logic of configuration knobs is inherently encoded in the DBMS source code, we argue that promising tuning strategies can be mined directly from the code, uncovering fine-grained insights grounded in system internals. To this end, we propose SysInsight, a code-driven database tuning system that automatically extracts fine-grained tuning knowledge from DBMS source code to accelerate and stabilize the tuning process. SysInsight combines static code analysis with LLM-based reasoning to identify knob-controlled execution paths and extract semantic tuning insights. These insights are then transformed into quantitative and verifiable tuning rules via association rule mining grounded in tuning observations. During online tuning, system diagnosis is applied to identify critical knobs, which are adjusted under the rule guidance. Evaluations demonstrate that compared to the SOTA baseline, SysInsight converges to the best configuration on average 7.11X faster while achieving a 19.9% performance improvement.

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

↑