Centrum: Model-based Database Auto-tuning with Minimal Distributional Assumptions
Preprint
Abstract
Gaussian-Process-based Bayesian optimization (GP-BO), is a prevailing model-based framework for DBMS auto-tuning. However, recent work shows GP-BO-based DBMS auto-tuners significantly outperformed auto-tuners based on SMAC, which features random forest surrogate models; such results motivate us to rethink and investigate the limitations of GP-BO in auto-tuner design. We find the fundamental assumptions of GP-BO are widely violated when modeling and optimizing DBMS performance, while tree-ensemble-BOs (e.g., SMAC) can avoid the assumption pitfalls and deliver improved tuning efficiency and effectiveness. Moreover, we argue that existing tree-ensemble-BOs restrict further advancement in DBMS auto-tuning. First, existing tree-ensemble-BOs can only achieve distribution-free point estimates, but still impose unrealistic distributional assumptions on uncertainty estimates, compromising surrogate modeling and distort the acquisition function. Second, recent advances in gradient boosting, which can further enhance surrogate modeling against vanilla GP and random forest counterparts, have rarely been applied in optimizing DBMS auto-tuners. To address these issues, we propose a novel model-based DBMS auto-tuner, Centrum. Centrum improves distribution-free point and interval estimation in surrogate modeling with a two-phase learning procedure of stochastic gradient boosting ensembles. Moreover, Centrum adopts a generalized SGBE-estimated locally-adaptive conformal prediction to facilitate a distribution-free uncertainty estimation and acquisition function. To our knowledge, Centrum is the first auto-tuner to realize distribution-freeness, enhancing BO's practicality in DBMS auto-tuning, and the first to seamlessly fuse gradient boosting ensembles and conformal inference in BO. Extensive physical and simulation experiments on two DBMSs and three workloads show Centrum outperforms 21 SOTA methods.Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- PilotScope: Steering Databases with Machine Learning DriversProceedings of the VLDB Endowment, 2024
- Automatic Database Knob Tuning: A SurveyIEEE Transactions on Knowledge and Data Engineering, 2023
- Industry practice of configuration auto-tuning for cloud applications and services2022
- Nested conformal prediction and quantile out-of-bag ensemble methodsPattern Recognition, 2022
- Facilitating database tuning with hyper-parameter optimizationProceedings of the VLDB Endowment, 2022
- Probabilistic Gradient Boosting Machines for Large-Scale Probabilistic Regression2021
- Efficient conformal predictor ensemblesNeurocomputing, 2020
- An End-to-End Automatic Cloud Database Tuning System Using Deep Reinforcement Learning2019
- Taking the Human Out of the Loop: A Review of Bayesian OptimizationProceedings of the IEEE, 2015
- Regression conformal prediction with random forestsMachine Learning, 2014