MVGPT: Generative Materialized View Forecasting
Yue Han, Guoliang Li, Wenchun Xu, Xianglei Ran, Zeya Gong, Wei Guo, Guang Qiu, Bo Zheng
Abstract
Existing materialized view (MV) selection methods rely on historical queries to select MVs. However, queries are dynamically and continually changing, and it is ineffective to generate MVs based only on historical queries. To address this limitation, we propose a novel MV forecasting framework, MVGPT, which utilizes large language models (LLMs) to predict effective MVs for evolving query workloads. First, we finetune an LLM for MV forecasting, retrieve relevant events to incorporate real-time event knowledge to instruct the query workload evolution inference. We then propose a predicate-level MV model based on the Bayesian network to generate valid and effective MVs. Finally, we propose a variable set representation method as the interactive interface between the LLM and the MV model to address the risk that the LLM generates incorrect results. We have implemented our system MVGPT and deployed it into Alibaba's advertising analysis platform, and experimental results on real datasets show that our method outperforms existing state-of-the-art approaches.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on7
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Learned Cardinality Estimation: A Design Space Exploration and A Comparative EvaluationJi Sun, Jintao Zhang, Zhaoyan Sun, Guoliang Li et al.VLDB 2022 · 90 citations
- Combining Small Language Models and Large Language Models for Zero-Shot NL2SQLJu Fan, Zihui Gu, Songyue Zhang, Yuxin Zhang et al.VLDB 2024 · 71 citations
- Automatic View Generation with Deep Learning and Reinforcement LearningHaitao Yuan, Guoliang Li, Ling Feng, Ji Sun et al.ICDE 2020 · 66 citations
Related papers
- Sibyl: Forecasting Time-Evolving Query WorkloadsHanxian Huang, Tarique Siddiqui, Rana Alotaibi, Carlo Curino et al.SIGMOD 2024 · 14 citations
- Can Large Language Models Be Query Optimizer for Relational Databases?Jie Tan, Kangfei Zhao, Rui Li, Jeffrey Xu Yu et al.SIGMOD 2026 · 6 citations
- Aligning Effective Tokens with Video Anomaly in Large Language ModelsYingxian Chen, Jiahui Liu, Ruidi Fan, Yanwei Li et al.ICCV 2025 · 2 citations
- Zero-shot Video Moment Retrieval via Off-the-shelf Multimodal Large Language ModelsYifang Xu, Yunzhuo Sun, Benxiang Zhai, Ming Li et al.AAAI 2025 · 17 citations
- λ-Tune: Harnessing Large Language Models for Automated Database System TuningVictor Giannakouris, Immanuel TrummerSIGMOD 2025 · 20 citations
