Lune

ICDE2020顶会

Automatic View Generation with Deep Learning and Reinforcement Learning

Haitao Yuan, Guoliang Li, Ling Feng, Ji Sun, Yue Han

摘要

Materializing views is an important method to reduce redundant computations in DBMS, especially for processing large scale analytical queries. However, many existing methods still need DBAs to manually generate materialized views, which are not scalable to a large number of database instances, especially on the cloud database. To address this problem, we propose an automatic view generation method which judiciously selects "highly beneficial" subqueries to generate materialized views. However, there are two challenges. (1) How to estimate the benefit of using a materialized view for a query? (2) How to select optimal subqueries to generate materialized views? To address the first challenge, we propose a neural network based method to estimate the benefit of using a materialized view to answer a query. In particular, we extract significant features from different perspectives and design effective encoding models to transform these features into hidden representations. To address the second challenge, we model this problem to an ILP (Integer Linear Programming) problem, which aims to maximize the utility by selecting optimal subqueries to materialize. We design an iterative optimization method to select subqueries to materialize. However, this method cannot guarantee the convergence of the solution. To address this issue, we model the iterative optimization process as an MDP (Markov Decision Process) and use the deep reinforcement learning model to solve the problem. Extensive experiments show that our method outperforms existing solutions by 28.4%, 8.8% and 31.7% on three real-world datasets.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Adaptive Code Learning for Spark Configuration Tuning 引用了 A Learned Query Rewrite System using Monte Carlo Tree Search
  • Adaptive Code Learning for Spark Configuration Tuning 引用了 An End-to-End Learning-based Cost Estimator
  • Adaptive Code Learning for Spark Configuration Tuning 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
  • QueryFormer: A Tree Transformer Model for Query Plan Representation 引用了 An End-to-End Learning-based Cost Estimator
  • QueryFormer: A Tree Transformer Model for Query Plan Representation 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
  • A Learned Query Rewrite System using Monte Carlo Tree Search 引用了 An End-to-End Learning-based Cost Estimator
  • A Learned Query Rewrite System using Monte Carlo Tree Search 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
  • An End-to-End Learning-based Cost Estimator 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
  • Reinforcement Learning with Tree-LSTM for Join Order Selection 引用了 An End-to-End Learning-based Cost Estimator
  • Cost-based or Learning-based? A Hybrid Query Optimizer for Query Plan Selection 引用了 A Learned Query Rewrite System using Monte Carlo Tree Search
  • Cost-based or Learning-based? A Hybrid Query Optimizer for Query Plan Selection 引用了 An End-to-End Learning-based Cost Estimator
  • Cost-based or Learning-based? A Hybrid Query Optimizer for Query Plan Selection 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper23

  1. QueryFormer: A Tree Transformer Model for Query Plan RepresentationYue Zhao, Gao Cong, Jiachen Shi, Chunyan MiaoVLDB 2022 · 117 次引用
  2. A Learned Query Rewrite System using Monte Carlo Tree SearchXuanhe Zhou, Guoliang Li, Chengliang Chai, Jianhua FengVLDB 2022 · 85 次引用
  3. Cost-based or Learning-based? A Hybrid Query Optimizer for Query Plan SelectionXiang Yu, Chengliang Chai, Guoliang Li, Jiabin LiuVLDB 2022 · 82 次引用
  4. Adaptive Code Learning for Spark Configuration TuningChen Lin, Junqing Zhuang, Jiadong Feng, Hui Li 等ICDE 2022 · 28 次引用
  5. The Case for NLP-Enhanced Database Tuning: Towards Tuning Tools that "Read the Manual"Immanuel TrummerVLDB 2021 · 27 次引用

它引用的 Paper2

  1. An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 次引用
  2. Reinforcement Learning with Tree-LSTM for Join Order SelectionXiang Yu, Guoliang Li, Chengliang Chai, Nan TangICDE 2020 · 168 次引用

相关 Paper

  1. View Selection over Knowledge Graphs in Triple StoresTheofilos Mailis, Yannis Kotidis, Stamatis Christoforidis, Evgeny Kharlamov 等VLDB 2021 · 1 次引用
  2. LORE: Learning-Based Resource Recommendation for Big Data QueriesYan Li, Liwei Wang, Bolong Zheng, Zhiyong PengICDE 2025 · 2 次引用
  3. Learning a Partitioning Advisor for Cloud DatabasesBenjamin Hilprecht, Carsten Binnig, Uwe RöhmSIGMOD 2020 · 64 次引用
  4. MVGPT: Generative Materialized View ForecastingYue Han, Guoliang Li, Wenchun Xu, Xianglei Ran 等ICDE 2026
  5. Sibyl: Forecasting Time-Evolving Query WorkloadsHanxian Huang, Tarique Siddiqui, Rana Alotaibi, Carlo Curino 等SIGMOD 2024 · 14 次引用
黄昏的海面,两侧是细线勾勒的悬崖