Learning a Partitioning Advisor with Deep Reinforcement Learning
Benjamin Hilprecht, Carsten Binnig, Roehm, Uwe · arXiv (Cornell University) · 2019
Commercial data analytics products such as Microsoft Azure SQL Data Warehouse or Amazon Redshift provide ready-to-use scale-out database solutions for OLAP-style workloads in the cloud. While the provisioning of a database cluster is usually fully automated by cloud providers, customers typically still have to make important design decisions which were traditionally made by the database administrator such as selecting the partitioning schemes. In this paper we introduce a learned partitioning advisor for analytical OLAP-style workloads based on Deep Reinforcement Learning (DRL). The main idea is that a DRL agent learns its decisions based on experience by monitoring the rewards for different workloads and partitioning schemes. We evaluate our learned partitioning advisor in an experimental evaluation with different databases schemata and workloads of varying complexity. In the evaluation, we show that our advisor is not only able to find partitionings that outperform existing approaches for automated partitioning design but that it also can easily adjust to different deployments. This is especially important in cloud setups where customers can easily migrate their cluster to a new set of (virtual) machines.
Cited by 3 works. doi:10.48550/arxiv.1904.01279 Open-access PDF
Authors
References
- Reinforcement Learning: An Introduction
- Human-level control through deep reinforcement learning
- Mastering the game of Go with deep neural networks and tree search
- Schism
- DB2 Design AdvisorIntegrated Automatic Physical Database Design
- Automating physical database design in a parallel database
- Skew-aware automatic database partitioning in shared-nothing, parallel OLTP systems
- Self-Driving Database Management Systems.
- Learned Cardinalities: Estimating Correlated Joins with Deep Learning
- Automated partitioning design in parallel database systems