English

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

Artificial Intelligence 2025-03-20 v3 Databases

Abstract

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.

Keywords

Cite

@article{arxiv.2404.11581,
  title  = {E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model},
  author = {Xinmei Huang and Haoyang Li and Jing Zhang and Xinxin Zhao and Zhiming Yao and Yiyan Li and Tieying Zhang and Jianjun Chen and Hong Chen and Cuiping Li},
  journal= {arXiv preprint arXiv:2404.11581},
  year   = {2025}
}

Comments

Accepted by VLDB 2025