Opportunistic View Materialization with Deep Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Carefully selected materialized views can greatly improve the performance of OLAP workloads. We study using deep reinforcement learning to learn adaptive view materialization and eviction policies. Our insight is that such selection policies can be effectively trained with an asynchronous RL algorithm, that runs paired counter-factual experiments during system idle times to evaluate the incremental value of persisting certain views. Such a strategy obviates the need for accurate cardinality estimation or hand-designed scoring heuristics. We focus on inner-join views and modeling effects in a main-memory, OLAP system. Our research prototype system, called DQM, is implemented in SparkSQL and we experiment on several workloads including the Join Order Benchmark and the TPC-DS workload. Results suggest that: (1) DQM can outperform heuristic when their assumptions are not satisfied by the workload or there are temporal effects like period maintenance, (2) even with the cost of learning, DQM is more adaptive to changes in the workload, and (3) DQM is broadly applicable to different workloads and skews.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Mar 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 1.
6 papers.
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Predictioncited by 16
- 2021A Survey on Deep Reinforcement Learning for Data Processing and Analyticscited by 10
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databasescited by 9
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuningcited by 4
- 2021A Reinforcement Learning Based R-Tree for Spatial Data Indexing in Dynamic Environmentscited by 2
- 2022Learning-Based Data Storage [Vision] (Technical Report)cited by 0
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuning10 Mar 2023
- 2022Learning-Based Data Storage [Vision] (Technical Report)12 Jun 2022
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction3 Jan 2022
- 2021A Survey on Deep Reinforcement Learning for Data Processing and Analytics10 Aug 2021
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databases3 May 2021
- 2021A Reinforcement Learning Based R-Tree for Spatial Data Indexing in Dynamic Environments8 Mar 2021