HMAB: Self-Driving Hierarchy of Bandits for Integrated Physical Database Design Tuning
R. Malinga Perera, Bastian Oetomo, Benjamin I. P. Rubinstein, Renata Borovica-Gajic
摘要
Effective physical database design tuning requires selection of several physical design structures (PDS), such as indices and materialised views, whose combination influences overall system performance in a non-linear manner. While the simplicity of combining the results of iterative searches for individual PDSs may be appealing, such a greedy approach may yield vastly suboptimal results compared to an integrated search. We propose a new self-driving approach (HMAB) based on hierarchical multi-armed bandit learners, which can work in an integrated space of multiple PDS while avoiding the full cost of combinatorial search. HMAB eschews the optimiser cost misestimates by direct performance observations through a strategic exploration, while carefully leveraging its knowledge to prune the less useful exploration paths. As an added advantage, HMAB comes with a provable guarantee on its expected performance. To the best of our knowledge, this is the first learned system to tune both indices and materialised views in an integrated manner. We find that our solution enjoys superior empirical performance relative to state-of-the-art commercial physical database design tools that search over the integrated space of materialised views and indices. Specifically, HMAB achieves up to 96% performance gain over a state-of-the-art commercial physical database design tool when running industrial benchmarks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 Query Performance Prediction for Concurrent Queries using Graph Embedding
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 UDO: Universal Database Optimization using Reinforcement Learning
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 Bao: Making Learned Query Optimization Practical
- Refactoring Index Tuning Process with Benefit Estimation 引用了 DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
- Refactoring Index Tuning Process with Benefit Estimation 引用了 Query Performance Prediction for Concurrent Queries using Graph Embedding
- Refactoring Index Tuning Process with Benefit Estimation 引用了 Bao: Making Learned Query Optimization Practical
- Esc: An Early-Stopping Checker for Budget-aware Index Tuning 引用了 DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
- Esc: An Early-Stopping Checker for Budget-aware Index Tuning 引用了 Refactoring Index Tuning Process with Benefit Estimation
- Esc: An Early-Stopping Checker for Budget-aware Index Tuning 引用了 Wii: Dynamic Budget Reallocation In Index Tuning
- Wii: Dynamic Budget Reallocation In Index Tuning 引用了 DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
- UDO: Universal Database Optimization using Reinforcement Learning 引用了 Learning a Partitioning Advisor for Cloud Databases
- SeLeP: Learning Based Semantic Prefetching for Exploratory Database Workloads 引用了 DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
引用它的顶会 Paper8
- 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 次引用
- Refactoring Index Tuning Process with Benefit EstimationTao Yu, Zhaonian Zou, Weihua Sun, Yu YanVLDB 2024 · 13 次引用
- Wii: Dynamic Budget Reallocation In Index TuningXiaoying Wang, Wentao Wu, Chi Wang, Vivek R. Narasayya 等SIGMOD 2024 · 6 次引用
- Esc: An Early-Stopping Checker for Budget-aware Index TuningXiaoying Wang, Wentao Wu, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2025 · 4 次引用
- SeLeP: Learning Based Semantic Prefetching for Exploratory Database WorkloadsFarzaneh Zirak, Farhana Murtaza Choudhury, Renata Borovica-GajicVLDB 2024 · 4 次引用
它引用的 Paper6
- Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul 等SIGMOD 2021 · 242 次引用
- Query Performance Prediction for Concurrent Queries using Graph EmbeddingXuanhe Zhou, Ji Sun, Guoliang Li, Jianhua FengVLDB 2020 · 96 次引用
- Learning a Partitioning Advisor for Cloud DatabasesBenjamin Hilprecht, Carsten Binnig, Uwe RöhmSIGMOD 2020 · 64 次引用
- UDO: Universal Database Optimization using Reinforcement LearningJunxiong Wang, Immanuel Trummer, Debabrota BasuVLDB 2021 · 53 次引用
- DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guaranteesR. Malinga Perera, Bastian Oetomo, Benjamin I. P. Rubinstein, Renata Borovica-GajicICDE 2021 · 40 次引用
相关 Paper
- Hyper: Hybrid Physical Design Advisor with Multi-agent Reinforcement LearningZhicheng Pan, Yuanjia Zhang, Chengcheng Yang, Ahmad Ghazal 等ICDE 2025 · 3 次引用
- MCTuner: Spatial Decomposition-Enhanced Database Tuning via LLM-Guided ExplorationZihan Yan, Rui Xi, Mengshu HouSIGMOD 2026 · 3 次引用
- On Self-Designing Learned IndexesBaofu Han, Guoyu Hu, Bing Li, Xiaokui Xiao 等SIGMOD 2026
- Guiding Index Tuning Exploration with Potential EstimationKecheng Luo, Ruiyang Ma, Peng Cai, Aoying Zhou 等ICDE 2025 · 1 次引用
- DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index TuningTarique Siddiqui, Wentao Wu, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2022 · 36 次引用
