Opportunistic View Materialization with Deep Reinforcement Learning
Xi Liang, Aaron J. Elmore, Sanjay Krishnan

TL;DR
This paper introduces DQM, a deep reinforcement learning-based system for adaptive view materialization and eviction in OLAP workloads, eliminating the need for manual heuristics and improving performance across diverse scenarios.
Contribution
It presents a novel RL-based approach for view management that adapts to workload changes without relying on cardinality estimates or heuristics.
Findings
DQM outperforms heuristics when workload assumptions are violated.
DQM adapts better to workload changes and temporal effects.
DQM is effective across various workloads and data skews.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCloud Computing and Resource Management · Data Stream Mining Techniques · Blockchain Technology Applications and Security
