HMAB
Authors:
Open Access
- 1 October 2022
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 16 (2) , 216-229
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.Keywords
This publication has 46 references indexed in Scilit:
- A survey of view selection methodsACM SIGMOD Record, 2012
- Materialized View Selection Using Simulated AnnealingLecture Notes in Computer Science, 2012
- Materialised view construction in data warehouse for decision makingInternational Journal of Business Information Systems, 2012
- Data mining-based materialized view and index selection in data warehousesJournal of Intelligent Information Systems, 2009
- Automatic SQL Tuning in Oracle 10g2004
- View Materialization vs. Indexing: Balancing Space Constraints in Data Warehouse Design2003
- QUIET2003
- Optimizing queries using materialized viewsACM SIGMOD Record, 2001
- Index Selection in Relational Databases1987
- The difficulty of optimum index selectionACM Transactions on Database Systems, 1978