GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization
Not on the map. Why?
Abstract (arXiv)
Modern database management systems (DBMS) expose hundreds of configurable knobs to control system behaviours. Determining the appropriate values for these knobs to improve DBMS performance is a long-standing problem in the database community. As there is an increasing number of knobs to tune and each knob could be in continuous or categorical values, manual tuning becomes impractical. Recently, automatic tuning systems using machine learning methods have shown great potentials. However, existing approaches still incur significant tuning costs or only yield sub-optimal performance. This is because they either ignore the extensive domain knowledge available (e.g., DBMS manuals and forum discussions) and only rely on the runtime feedback of benchmark evaluations to guide the optimization, or they utilize the domain knowledge in a limited way. Hence, we propose GPTuner, a manual-reading database tuning system. Firstly, we develop a Large Language Model (LLM)-based pipeline to collect and refine heterogeneous knowledge, and propose a prompt ensemble algorithm to unify a structured view of the refined knowledge. Secondly, using the structured knowledge, we (1) design a workload-aware and training-free knob selection strategy, (2) develop a search space optimization technique considering the value range of each knob, and (3) propose a Coarse-to-Fine Bayesian Optimization Framework to explore the optimized space. Finally, we evaluate GPTuner under different benchmarks (TPC-C and TPC-H), metrics (throughput and latency) as well as DBMS (PostgreSQL and MySQL). Compared to the state-of-the-art approaches, GPTuner identifies better configurations in 16x less time on average. Moreover, GPTuner achieves up to 30% performance improvement (higher throughput or lower latency) over the best-performing alternative.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). First posted on arXiv 6 Nov 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 10; 2026: 11.
29 papers.
Sort:
By area:
- 2025In-depth Analysis of Graph-based RAG in a Unified Frameworkcited by 46
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?cited by 30
- 2025ArchRAG: Attributed Community-based Hierarchical Retrieval-Augmented Generationcited by 28
- 2024R-Bot: An LLM-based Query Rewrite Systemcited by 16
- 2023mLoRA: Fine-Tuning LoRA Adapters via Highly-Efficient Pipeline Parallelism in Multiple GPUscited by 12
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Frameworkcited by 12
- 2024E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Modelcited by 9
- 2024SCOOT: SLO-Oriented Performance Tuning for LLM Inference Enginescited by 9
- 2024NAT-NL2GQL: A Novel Multi-Agent Framework for Translating Natural Language to Graph Query Languagecited by 9
- 2025Faster Configuration Performance Bug Testing with Neural Dual-level Prioritizationcited by 9
- 2025QUITE: A Query Rewrite System Beyond Rules with LLM Agentscited by 8
- 2024A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validationcited by 6
17 more
- 2024Is Large Language Model Good at Database Knob Tuning? A Comprehensive Experimental Evaluationcited by 5
- 2026Revealing Domain-Spatiality Patterns for Configuration Tuning: Domain Knowledge Meets Fitness Landscapescited by 5
- 2025LADs: Leveraging LLMs for AI-Driven DevOpscited by 4
- 2025SQLBarber: A System Leveraging Large Language Models to Generate Customized and Realistic SQL Workloadscited by 4
- 2025In-Context Adaptation to Concept Drift for Learned Database Operationscited by 3
- 2026AI-Driven Research for Databasescited by 2
- 2025LLMIA: An Out-of-the-Box Index Advisor via In-Context Learning with LLMscited by 1
- 2025StorageXTuner: An LLM Agent-Driven Automatic Tuning Framework for Heterogeneous Storage Systemscited by 1
- 2026GenDB: The Next Generation of Query Processing -- Synthesized, Not Engineeredcited by 1
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Searchcited by 1
- 2026DBA-Bench: A Production-Fidelity Benchmark for LLM-Based Database Operations Agentscited by 1
- 2024Couler: Unified Machine Learning Workflow Optimization in Cloudcited by 0
- 2026DOT: Dynamic Knob Selection and Online Sampling for Automated Database Tuningcited by 0
- 2026TuxBot: Semantic-Aware Online OS Tuning with Large Language Modelscited by 0
- 2026A Case for Agentic Tuning: From Documentation to Action in PostgreSQLcited by 0
- 2026AtumAI: A Principled Framework for Agentic Generation of Datacenter Control-Plane Policiescited by 0
- 2026ATTUNE: Agentic Throughput Tuning for LLM Trainingcited by 0
- 2026ATTUNE: Agentic Throughput Tuning for LLM Training13 Oct 2026
- 2026AtumAI: A Principled Framework for Agentic Generation of Datacenter Control-Plane Policies3 Aug 2026
- 2026DBA-Bench: A Production-Fidelity Benchmark for LLM-Based Database Operations Agents24 Jul 2026
- 2026A Case for Agentic Tuning: From Documentation to Action in PostgreSQL19 May 2026
- 2026TuxBot: Semantic-Aware Online OS Tuning with Large Language Models14 May 2026
- 2026AI-Driven Research for Databases8 Apr 2026
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework2 Apr 2026
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Search23 Mar 2026
- 2026Revealing Domain-Spatiality Patterns for Configuration Tuning: Domain Knowledge Meets Fitness Landscapes20 Mar 2026
- 2026DOT: Dynamic Knob Selection and Online Sampling for Automated Database Tuning16 Mar 2026
- 2026GenDB: The Next Generation of Query Processing -- Synthesized, Not Engineered2 Mar 2026
- 2025StorageXTuner: An LLM Agent-Driven Automatic Tuning Framework for Heterogeneous Storage Systems28 Oct 2025
17 more
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?27 Oct 2025
- 2025SQLBarber: A System Leveraging Large Language Models to Generate Customized and Realistic SQL Workloads8 Jul 2025
- 2025QUITE: A Query Rewrite System Beyond Rules with LLM Agents9 Jun 2025
- 2025In-Context Adaptation to Concept Drift for Learned Database Operations7 May 2025
- 2025LLMIA: An Out-of-the-Box Index Advisor via In-Context Learning with LLMs10 Mar 2025
- 2025In-depth Analysis of Graph-based RAG in a Unified Framework6 Mar 2025
- 2025LADs: Leveraging LLMs for AI-Driven DevOps28 Feb 2025
- 2025ArchRAG: Attributed Community-based Hierarchical Retrieval-Augmented Generation14 Feb 2025
- 2025Faster Configuration Performance Bug Testing with Neural Dual-level Prioritization26 Jan 2025
- 2024NAT-NL2GQL: A Novel Multi-Agent Framework for Translating Natural Language to Graph Query Language11 Dec 2024
- 2024R-Bot: An LLM-based Query Rewrite System2 Dec 2024
- 2024A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validation11 Oct 2024
- 2024SCOOT: SLO-Oriented Performance Tuning for LLM Inference Engines8 Aug 2024
- 2024Is Large Language Model Good at Database Knob Tuning? A Comprehensive Experimental Evaluation5 Aug 2024
- 2024E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model17 Apr 2024
- 2024Couler: Unified Machine Learning Workflow Optimization in Cloud12 Mar 2024
- 2023mLoRA: Fine-Tuning LoRA Adapters via Highly-Efficient Pipeline Parallelism in Multiple GPUs5 Dec 2023
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?cited by 30
- 2024NAT-NL2GQL: A Novel Multi-Agent Framework for Translating Natural Language to Graph Query Languagecited by 9
- 2025QUITE: A Query Rewrite System Beyond Rules with LLM Agentscited by 8
- 2025StorageXTuner: An LLM Agent-Driven Automatic Tuning Framework for Heterogeneous Storage Systemscited by 1
- 2026DBA-Bench: A Production-Fidelity Benchmark for LLM-Based Database Operations Agentscited by 1
- 2026A Case for Agentic Tuning: From Documentation to Action in PostgreSQLcited by 0
- 2026AtumAI: A Principled Framework for Agentic Generation of Datacenter Control-Plane Policiescited by 0
- 2026ATTUNE: Agentic Throughput Tuning for LLM Trainingcited by 0
- 2026ATTUNE: Agentic Throughput Tuning for LLM Training13 Oct 2026
- 2026AtumAI: A Principled Framework for Agentic Generation of Datacenter Control-Plane Policies3 Aug 2026
- 2026DBA-Bench: A Production-Fidelity Benchmark for LLM-Based Database Operations Agents24 Jul 2026
- 2026A Case for Agentic Tuning: From Documentation to Action in PostgreSQL19 May 2026
- 2025StorageXTuner: An LLM Agent-Driven Automatic Tuning Framework for Heterogeneous Storage Systems28 Oct 2025
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?27 Oct 2025
- 2025QUITE: A Query Rewrite System Beyond Rules with LLM Agents9 Jun 2025
- 2024NAT-NL2GQL: A Novel Multi-Agent Framework for Translating Natural Language to Graph Query Language11 Dec 2024
- 2024R-Bot: An LLM-based Query Rewrite Systemcited by 16
- 2023mLoRA: Fine-Tuning LoRA Adapters via Highly-Efficient Pipeline Parallelism in Multiple GPUscited by 12
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Frameworkcited by 12
- 2024E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Modelcited by 9
- 2025Faster Configuration Performance Bug Testing with Neural Dual-level Prioritizationcited by 9
- 2024Is Large Language Model Good at Database Knob Tuning? A Comprehensive Experimental Evaluationcited by 5
- 2026Revealing Domain-Spatiality Patterns for Configuration Tuning: Domain Knowledge Meets Fitness Landscapescited by 5
- 2025LADs: Leveraging LLMs for AI-Driven DevOpscited by 4
- 2025SQLBarber: A System Leveraging Large Language Models to Generate Customized and Realistic SQL Workloadscited by 4
- 2025In-Context Adaptation to Concept Drift for Learned Database Operationscited by 3
- 2026AI-Driven Research for Databasescited by 2
- 2025LLMIA: An Out-of-the-Box Index Advisor via In-Context Learning with LLMscited by 1
12 most cited of 17 All 17 (JSON)
- 2026TuxBot: Semantic-Aware Online OS Tuning with Large Language Models14 May 2026
- 2026AI-Driven Research for Databases8 Apr 2026
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework2 Apr 2026
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Search23 Mar 2026
- 2026Revealing Domain-Spatiality Patterns for Configuration Tuning: Domain Knowledge Meets Fitness Landscapes20 Mar 2026
- 2026DOT: Dynamic Knob Selection and Online Sampling for Automated Database Tuning16 Mar 2026
- 2026GenDB: The Next Generation of Query Processing -- Synthesized, Not Engineered2 Mar 2026
- 2025SQLBarber: A System Leveraging Large Language Models to Generate Customized and Realistic SQL Workloads8 Jul 2025
- 2025In-Context Adaptation to Concept Drift for Learned Database Operations7 May 2025
- 2025LLMIA: An Out-of-the-Box Index Advisor via In-Context Learning with LLMs10 Mar 2025
- 2025LADs: Leveraging LLMs for AI-Driven DevOps28 Feb 2025
- 2025Faster Configuration Performance Bug Testing with Neural Dual-level Prioritization26 Jan 2025
12 newest of 17 All 17 (JSON)