mlsanityData to 14 Oct 2026

Is Large Language Model Good at Database Knob Tuning? A Comprehensive Experimental Evaluation

arXiv 2408.02213 ↗First posted 5 Aug 2024cs.DB cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

Knob tuning plays a crucial role in optimizing databases by adjusting knobs to enhance database performance. However, traditional tuning methods often follow a Try-Collect-Adjust approach, proving inefficient and database-specific. Moreover, these methods are often opaque, making it challenging for DBAs to grasp the underlying decision-making process. The emergence of large language models (LLMs) like GPT-4 and Claude-3 has excelled in complex natural language tasks, yet their potential in database knob tuning remains largely unexplored. This study harnesses LLMs as experienced DBAs for knob-tuning tasks with carefully designed prompts. We identify three key subtasks in the tuning system: knob pruning, model initialization, and knob recommendation, proposing LLM-driven solutions to replace conventional methods for each subtask. We conduct extensive experiments to compare LLM-driven approaches against traditional methods across the subtasks to evaluate LLMs' efficacy in the knob tuning domain. Furthermore, we explore the adaptability of LLM-based solutions in diverse evaluation settings, encompassing new benchmarks, database engines, and hardware environments. Our findings reveal that LLMs not only match or surpass traditional methods but also exhibit notable interpretability by generating responses in a coherent ``chain-of-thought'' manner. We further observe that LLMs exhibit remarkable generalizability through simple adjustments in prompts, eliminating the necessity for additional training or extensive code modifications. Drawing insights from our experimental findings, we identify several opportunities for future research aimed at advancing the utilization of LLMs in the realm of database management.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 12 of its 52 references that are in the map. First posted on arXiv 5 Aug 2024.

Builds on

12 of 52 references.

References · 12

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  2. 2015Continuous control with deep reinforcement learningcited by 3,407
  3. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  4. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
  5. 2024Large Language Models for Mathematical Reasoning: Progresses and Challengescited by 284
  6. 2024CodeS: Towards Building Open-source Language Models for Text-to-SQLcited by 187
  7. 2023GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimizationcited by 29
  8. 2017BestConfig: Tapping the Performance Potential of Systems via Automatic Configuration Tuningcited by 25
  9. 2021Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluationcited by 22
  10. 2021DB-BERT: a Database Tuning Tool that "Reads the Manual"cited by 19
  11. 2022Towards Dynamic and Safe Configuration Tuning for Cloud Databasescited by 16
  12. 2022LlamaTune: Sample-Efficient DBMS Configuration Tuningcited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Optimizing Small Language Models for NL2SQL via Chain-of-Thought Fine-Tuning
  2. 2025L2T-Tune:LLM-Guided Hybrid Database Tuning with LHS and TD3
  3. 2025Do LLMs Align with My Task? Evaluating Text-to-SQL via Dataset Alignment
  4. 2024The CAP Principle for LLM Serving: A Survey of Long-Context Large Language Model Serving
  5. 2024ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL
  6. 2024A Survey on Data Synthesis and Augmentation for Large Language Models
  7. 2024EE-Tuning: An Economical yet Scalable Solution for Tuning Early-Exit Large Language Models
  8. 2025Querying Databases with Function Calling