RobOpt: A Tool for Robust Workload Optimization Based on Uncertainty-Aware Machine Learning
Open Access
- 9 June 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 468-471
Abstract
Relational database management systems (RDBMSs) employ query optimizers to search for execution plans deemed optimal for specific queries. Classical optimizers rely on inaccurate parameter estimates and assumptions that may not hold true in real-world scenarios. Consequently, suboptimal execution plans may be chosen, leading to poor query execution performance. Recent proposals of learned query optimizers that leverage Machine Learning suffer also from the selection of suboptimal plans. In order to fill this gap, we have created Robust Workload Optimization (RobOpt), a prototype tool that facilitates robust execution of a query workload in RDBMSs. It implements a novel technique that takes workload logs as input, generates training samples, and trains a risk-aware learned cost model. It optimizes risk-aware plan selection strategies to achieve a desired level of runtime performance and robustness. In addition, it analyzes a workload according to its training samples and determines an optimal plan selection strategy either at the workload or query level. Ultimately, it enables the robust execution of any workload by determining an optimal plan selection strategy per query. RobOpt can work on top of any RDBMS.Keywords
This publication has 10 references indexed in Scilit:
- A survey of uncertainty in deep neural networksArtificial Intelligence Review, 2023
- FauceProceedings of the VLDB Endowment, 2021
- Bao: Making Learned Query Optimization PracticalACM SIGMOD Record, 2021
- Robust query processingProceedings of the VLDB Endowment, 2020
- NeoProceedings of the VLDB Endowment, 2019
- Robustness metrics for relational query execution plansProceedings of the VLDB Endowment, 2018
- Handling Estimation Inaccuracy in Query Optimization2016
- Robust Query Optimization Methods With Respect to Estimation ErrorsACM SIGMOD Record, 2015
- Proactive re-optimization2005
- Least expected cost query optimization2002