LlamaTune: Sample-Efficient DBMS Configuration Tuning
Not on the map. Why?
Abstract (arXiv)
Tuning a database system to achieve optimal performance on a given workload is a long-standing problem in the database community. A number of recent works have leveraged ML-based approaches to guide the sampling of large parameter spaces (hundreds of tuning knobs) in search for high performance configurations. Looking at Microsoft production services operating millions of databases, sample efficiency emerged as a crucial requirement to use tuners on diverse workloads. This motivates our investigation in LlamaTune, a tuner design that leverages domain knowledge to improve the sample efficiency of existing optimizers. LlamaTune employs an automated dimensionality reduction technique based on randomized projections, a biased-sampling approach to handle special values for certain knobs, and knob values bucketization, to reduce the size of the search space. LlamaTune compares favorably with the state-of-the-art optimizers across a diverse set of workloads. It identifies the best performing configurations with up to 11× fewer workload runs, and reaching up to 21% higher throughput. We also show that benefits from LlamaTune generalize across both BO-based and RL-based optimizers, as well as different DBMS versions. While the journey to perform database tuning at cloud-scale remains long, LlamaTune goes a long way in making automatic DBMS tuning practical at scale.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Mar 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 2; 2024: 4; 2025: 3; 2026: 3.
12 papers.
- 2023OpenBox: A Python Toolkit for Generalized Black-box Optimizationcited by 9
- 2024E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Modelcited by 9
- 2024Is Large Language Model Good at Database Knob Tuning? A Comprehensive Experimental Evaluationcited by 5
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuningcited by 4
- 2024Dividable Configuration Performance Learningcited by 4
- 2024Navigating in High-Dimensional Search Space: A Hierarchical Bayesian Optimization Approachcited by 2
- 2026AI-Driven Research for Databasescited by 2
- 2025Tesserae: Scalable Placement Policies for Deep Learning Workloadscited by 0
- 2025Evaluating Useful Surrogate Models for Configuration Tuning Beyond Accuracy: A Fitness Landscape Analysis Perspectivecited by 0
- 2025Can AI autonomously build, operate, and use the entire data stack?cited 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
- 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
- 2025Can AI autonomously build, operate, and use the entire data stack?8 Dec 2025
- 2025Evaluating Useful Surrogate Models for Configuration Tuning Beyond Accuracy: A Fitness Landscape Analysis Perspective26 Sep 2025
- 2025Tesserae: Scalable Placement Policies for Deep Learning Workloads7 Aug 2025
- 2024Navigating in High-Dimensional Search Space: A Hierarchical Bayesian Optimization Approach30 Oct 2024
- 2024Dividable Configuration Performance Learning11 Sep 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
- 2023OpenBox: A Python Toolkit for Generalized Black-box Optimization26 Apr 2023
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuning10 Mar 2023