arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.11581cs.AIcs.DB
收藏

E2ETune:基于微调生成式语言模型的端到端旋钮调优

E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model

Renmin University of China(中国人民大学);ByteDance Inc(字节跳动公司)

Xinmei Huang, Haoyang Li, Jing Zhang, Xinxin Zhao, Zhiming Yao, Yiyan Li, Tieying Zhang, Jianjun Chen, Hong Chen, Cuiping Li

AI总结:

针对数据库旋钮调优耗时耗资源的问题,提出基于微调生成式语言模型的端到端调优器E2ETune,通过新型数据生成框架训练模型,实验证明其能更快速地找到有竞争力的配置。

摘要:

数据库旋钮调优对数据库管理员而言是一项重大挑战,因为它需要调整大量取值为连续或离散类型的配置旋钮,以实现数据库的最优性能。传统方法(如手动调优或基于学习的方法)通常需要大量工作负载重放,既耗时又耗费资源。为应对这一挑战,我们提出了E2ETune——一种由微调生成式语言模型驱动的端到端旋钮调优器。其核心思路是利用生成式语言模型卓越的序列到序列建模能力,捕捉工作负载(输入)与其对应的高潜力配置(输出)之间的复杂映射关系。为实现这一目标,我们提出了一种新型数据生成框架,可高效生成大量训练数据,每个数据样本均由一个工作负载及其高潜力配置组成。随后,这些数据被用于微调生成式语言模型,最终得到一个端到端旋钮调优器。该调优器可为新工作负载提供开箱即用的配置推荐。我们使用10个代表性基准和3个真实世界基准开展了大量实验,以评估E2ETune的效率与有效性。与现有最优方法相比,E2ETune能够在大幅缩短的时间内找到具备竞争力的配置。

英文摘要:

Database knob tuning is a significant challenge for database administrators, as it involves tuning a large number of configuration knobs with continuous or discrete values to achieve optimal database performance. Traditional methods, such as manual tuning or learning-based approaches, typically require numerous workload replays and are both time-consuming and resource-intensive. To address this challenge, we introduce E2ETune, an end-to-end knob tuner powered by a fine-tuned generative language model. The key idea is to leverage the exceptional sequence-to-sequence modeling capabilities of generative language models to capture the complex mapping between workloads (inputs) and their corresponding promising configurations (outputs). To achieve this goal, we propose a novel data generation framework to efficiently produce a large amount of training data, where each data sample consists of a workload and its promising configuration. Then, these data are used to fine-tune a generative language model, yielding an end-to-end knob tuner. This tuner offers out-of-the-box configuration recommendations for new workloads. We conduct extensive experiments to evaluate E2ETune's efficiency and effectiveness using 10 representative and 3 real-world benchmarks. Compared to state-of-the-art methods, E2ETune can identify competitive configurations in significantly less time.

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

↑