DemoTuner: Automatic Performance Tuning for Database Management Systems Based on Demonstration Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
The performance of modern DBMSs such as MySQL and PostgreSQL heavily depends on the configuration of performance-critical knobs. Manual tuning these knobs is laborious and inefficient due to the complex and high-dimensional nature of the configuration space. Among the automated tuning methods, reinforcement learning (RL)-based methods have recently sought to improve the DBMS knobs tuning process from several different perspectives. However, they still encounter challenges with slow convergence speed during offline training. In this paper, we mainly focus on how to leverage the valuable tuning hints contained in various textual documents such as DBMS manuals and web forums to improve the offline training of RL-based methods. To this end, we propose an efficient DBMS knobs tuning framework named DemoTuner via a novel LLM-assisted demonstration reinforcement learning method. Specifically, to comprehensively and accurately mine tuning hints from documents, we design a structured chain of thought prompt to employ LLMs to conduct a condition-aware tuning hints extraction task. To effectively integrate the mined tuning hints into RL agent training, we propose a hint-aware demonstration reinforcement learning algorithm HA-DDPGfD in DemoTuner. As far as we know, DemoTuner is the first work to introduce the demonstration reinforcement learning algorithm for DBMS knobs tuning. Experimental evaluations conducted on MySQL and PostgreSQL across various workloads demonstrate that DemoTuner achieves performance gains of up to 44.01% for MySQL and 39.95% for PostgreSQL over default configurations. Compared with three representative baseline methods, DemoTuner is able to further reduce the execution time by up to 10.03%, while always consuming the least online tuning cost. Additionally, DemoTuner also exhibits superior adaptability to application scenarios with unknown workloads.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 44 references that are in the map. First posted on arXiv 13 Nov 2025.
Builds on
16 of 44 references.
References · 16
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2015Continuous control with deep reinforcement learningcited by 3,279
- 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 1,916
- 2015Prioritized Experience Replaycited by 1,070
- 2017Leveraging Demonstrations for Deep Reinforcement Learning on Robotics Problems with Sparse Rewardscited by 302
- 2021DB-BERT: a Database Tuning Tool that "Reads the Manual"cited by 19
- 2024λ-Tune: Harnessing Large Language Models for Automated Database System Tuningcited by 18
- 2022Towards Dynamic and Safe Configuration Tuning for Cloud Databasescited by 16
- 2021UDO: Universal Database Optimization using Reinforcement Learningcited by 11
- 2024VDTuner: Automated Performance Tuning for Vector Data Management Systemscited by 5
- 2024Is Large Language Model Good at Database Knob Tuning? A Comprehensive Experimental Evaluationcited by 5
4 more
- 2025The Same Only Different: On Information Modality for Configuration Performance Analysiscited by 5
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuningcited by 4
- 2025ELMo-Tune-V2: LLM-Assisted Full-Cycle Auto-Tuning to Optimize LSM-Based Key-Value Storescited by 3
- 2025AQETuner: Reliable Query-level Configuration Tuning for Analytical Query Enginescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026A Case for Agentic Tuning: From Documentation to Action in PostgreSQL
- 2025ConstrainedSQL: Training LLMs for Text2SQL via Constrained Reinforcement Learning
- 2026SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQL
- 2025Graph-Reward-SQL: Execution-Free Reinforcement Learning for Text-to-SQL via Graph Matching and Stepwise Reward
- 2026ReToolSQL: Agentic Reinforcement Learning for Robust Text-to-SQL
- 2025CogniSQL-R1-Zero: Lightweight Reinforced Reasoning for Efficient SQL Generation
- 2026FINER-SQL: Boosting Small Language Models for Text-to-SQL
- 2026DualSQL: Text-to-SQL with Multi-Agent Reinforcement Learning