HMAB: Self-Driving Hierarchy of Bandits for Integrated Physical Database Design Tuning
R. Malinga Perera, Bastian Oetomo, Benjamin I. P. Rubinstein, Renata Borovica-Gajic
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions cites 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 cites 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 cites Bao: Making Learned Query Optimization Practical
- Refactoring Index Tuning Process with Benefit Estimation cites DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
- Refactoring Index Tuning Process with Benefit Estimation cites Query Performance Prediction for Concurrent Queries using Graph Embedding
- Refactoring Index Tuning Process with Benefit Estimation cites Bao: Making Learned Query Optimization Practical
- Esc: An Early-Stopping Checker for Budget-aware Index Tuning cites DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
- Esc: An Early-Stopping Checker for Budget-aware Index Tuning cites Refactoring Index Tuning Process with Benefit Estimation
- Esc: An Early-Stopping Checker for Budget-aware Index Tuning cites Wii: Dynamic Budget Reallocation In Index Tuning
- Wii: Dynamic Budget Reallocation In Index Tuning cites DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
- UDO: Universal Database Optimization using Reinforcement Learning cites Learning a Partitioning Advisor for Cloud Databases
- SeLeP: Learning Based Semantic Prefetching for Exploratory Database Workloads cites DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
Cited by top-tier papers8
- 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 citations
- Refactoring Index Tuning Process with Benefit EstimationTao Yu, Zhaonian Zou, Weihua Sun, Yu YanVLDB 2024 · 13 citations
- Wii: Dynamic Budget Reallocation In Index TuningXiaoying Wang, Wentao Wu, Chi Wang, Vivek R. Narasayya et al.SIGMOD 2024 · 6 citations
- Esc: An Early-Stopping Checker for Budget-aware Index TuningXiaoying Wang, Wentao Wu, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2025 · 4 citations
- SeLeP: Learning Based Semantic Prefetching for Exploratory Database WorkloadsFarzaneh Zirak, Farhana Murtaza Choudhury, Renata Borovica-GajicVLDB 2024 · 4 citations
Builds on6
- Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul et al.SIGMOD 2021 · 242 citations
- Query Performance Prediction for Concurrent Queries using Graph EmbeddingXuanhe Zhou, Ji Sun, Guoliang Li, Jianhua FengVLDB 2020 · 96 citations
- Learning a Partitioning Advisor for Cloud DatabasesBenjamin Hilprecht, Carsten Binnig, Uwe RöhmSIGMOD 2020 · 64 citations
- UDO: Universal Database Optimization using Reinforcement LearningJunxiong Wang, Immanuel Trummer, Debabrota BasuVLDB 2021 · 53 citations
- 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 citations
Related papers
- Hyper: Hybrid Physical Design Advisor with Multi-agent Reinforcement LearningZhicheng Pan, Yuanjia Zhang, Chengcheng Yang, Ahmad Ghazal et al.ICDE 2025 · 3 citations
- MCTuner: Spatial Decomposition-Enhanced Database Tuning via LLM-Guided ExplorationZihan Yan, Rui Xi, Mengshu HouSIGMOD 2026 · 3 citations
- On Self-Designing Learned IndexesBaofu Han, Guoyu Hu, Bing Li, Xiaokui Xiao et al.SIGMOD 2026
- Guiding Index Tuning Exploration with Potential EstimationKecheng Luo, Ruiyang Ma, Peng Cai, Aoying Zhou et al.ICDE 2025 · 1 citation
- 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 citations
