LlamaTune: Sample-Efficient DBMS Configuration Tuning
Konstantinos Kanellis, Cong Ding, Brian Kroth, Andreas Müller, Carlo Curino, Shivaram Venkataraman
摘要
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 11X 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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- λ-Tune: Harnessing Large Language Models for Automated Database System Tuning 引用了 GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 CGPTuner: a Contextual Gaussian Process Bandit Approach for the Automatic Tuning of IT Configurations Under Varying Workload Conditions
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management Systems
- E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model 引用了 CGPTuner: a Contextual Gaussian Process Bandit Approach for the Automatic Tuning of IT Configurations Under Varying Workload Conditions
- E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model 引用了 ResTune: Resource Oriented Tuning Boosted by Meta-Learning for Cloud Databases
- E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model 引用了 GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization
- E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model 引用了 Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation
- E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model 引用了 An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management Systems
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 引用了 CGPTuner: a Contextual Gaussian Process Bandit Approach for the Automatic Tuning of IT Configurations Under Varying Workload Conditions
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 引用了 ResTune: Resource Oriented Tuning Boosted by Meta-Learning for Cloud Databases
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 引用了 Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 引用了 An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management Systems
- Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation 引用了 CGPTuner: a Contextual Gaussian Process Bandit Approach for the Automatic Tuning of IT Configurations Under Varying Workload Conditions
- Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation 引用了 ResTune: Resource Oriented Tuning Boosted by Meta-Learning for Cloud Databases
- Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation 引用了 An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management Systems
引用它的顶会 Paper23
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian OptimizationJiale Lao, Yibo Wang, Yufei Li, Jianping Wang 等VLDB 2024 · 76 次引用
- λ-Tune: Harnessing Large Language Models for Automated Database System TuningVictor Giannakouris, Immanuel TrummerSIGMOD 2025 · 20 次引用
- E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language ModelXinmei Huang, Haoyang Li, Jing Zhang, Xinxin Zhao 等VLDB 2025 · 15 次引用
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-ActionsWilliam Zhang, Wan Shen Lim, Matthew Butrovich, Andrew PavloVLDB 2024 · 13 次引用
- Check Out the Big Brain on BRAD: Simplifying Cloud Data Processing with Learned Automated Data MeshesTim Kraska, Tianyu Li, Samuel Madden, Markos Markakis 等VLDB 2023 · 13 次引用
它引用的 Paper6
- Bayesian Optimisation over Multiple Continuous and Categorical InputsBin Xin Ru, Ahsan S. Alvi, Vu Nguyen, Michael A. Osborne 等ICML 2020 · 119 次引用
- ResTune: Resource Oriented Tuning Boosted by Meta-Learning for Cloud DatabasesXinyi Zhang, Hong Wu, Zhuo Chang, Shuowei Jin 等SIGMOD 2021 · 113 次引用
- An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management SystemsDana Van Aken, Dongsheng Yang, Sebastien Brillard, Ari Fiorino 等VLDB 2021 · 108 次引用
- Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental EvaluationXinyi Zhang, Zhuo Chang, Yang Li, Hong Wu 等VLDB 2022 · 88 次引用
- CGPTuner: a Contextual Gaussian Process Bandit Approach for the Automatic Tuning of IT Configurations Under Varying Workload ConditionsStefano Cereda, Stefano Valladares, Paolo Cremonesi, Stefano DoniVLDB 2021 · 74 次引用
相关 Paper
- AgentTune: An Agent-Based Large Language Model Framework for Database Knob TuningYiyan Li, Haoyang Li, Jing Zhang, Renata Borovica-Gajic 等SIGMOD 2026 · 5 次引用
- MCTuner: Spatial Decomposition-Enhanced Database Tuning via LLM-Guided ExplorationZihan Yan, Rui Xi, Mengshu HouSIGMOD 2026 · 3 次引用
- Towards Dynamic and Safe Configuration Tuning for Cloud DatabasesXinyi Zhang, Hong Wu, Yang Li, Jian Tan 等SIGMOD 2022 · 62 次引用
- An Efficient Transfer Learning Based Configuration Adviser for Database TuningXinyi Zhang, Hong Wu, Yang Li, Zhengju Tang 等VLDB 2024 · 25 次引用
- Why Database Manuals Are Not Enough: Efficient and Reliable Configuration Tuning for DBMSs via Code-Driven LLM AgentsXinyi Zhang, Tiantian Chen, Zhentao Han, Zhaoyan Hong 等VLDB 2026 · 5 次引用
