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

Xinmei Huang, Haoyang Li, Jing Zhang, Xinxin Zhao, Zhiming Yao +5 more
4/17/2024
cs.AIcs.DB

No official code found. Best implementation: hiyouga/LlamaFactory (72,841 stars, Apache-2.0, last commit 2026-04-29). 1 more below.

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.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

72,8418,898Python, MakefileMay 28, 20235 months agoApache-2.0
agentaideepseekfine-tuninggemma+15 more

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

101Shell, PythonFeb 19, 20251 years ago

Similar Papers

Cite this paper

@article{huang2024eetune,
  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},
  year   = {2024},
  eprint = {2404.11581},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.11581v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.11581.svg)](https://codeofpaper.com/paper/2404.11581)

Discussion