Query Performance Prediction for Concurrent Queries using Graph Embedding
摘要
Query performance prediction is vital to many database tasks (e.g., database monitoring and query scheduling). Existing methods focus on predicting the performance for a single query but cannot effectively predict the performance for concurrent queries, because it is rather hard to capture the correlations between different queries, e.g., lock conflict and buffer sharing. To address this problem, we propose a performance prediction system for concurrent queries using a graph embedding based model. To the best of our knowledge, this is the first graph-embedding-based performance prediction model for concurrent queries. We first propose a graph model to encode query features, where each vertex is a node in the query plan of a query and each edge between two vertices denotes the correlations between them, e.g., sharing the same table/index or competing resources. We then propose a prediction model, in which we use a graph embedding network to encode the graph features and adopt a prediction network to predict query performance using deep learning. Since workloads may dynamically change, we propose a graph update and compaction algorithm to adapt to workload changes. We have conducted extensive experiments on real-world datasets, and experimental results showed that our method outperformed the state-of-the-art approaches.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Learned Cardinality Estimation: A Design Space Exploration and A Comparative Evaluation 引用了 An End-to-End Learning-based Cost Estimator
- Lero: A Learning-to-Rank Query Optimizer 引用了 An End-to-End Learning-based Cost Estimator
- Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction 引用了 An End-to-End Learning-based Cost Estimator
- MB2: Decomposed Behavior Modeling for Self-Driving Database Management Systems 引用了 An End-to-End Learning-based Cost Estimator
- A Learned Query Rewrite System using Monte Carlo Tree Search 引用了 Learned Cardinality Estimation: A Design Space Exploration and A Comparative Evaluation
- A Learned Query Rewrite System using Monte Carlo Tree Search 引用了 An End-to-End Learning-based Cost Estimator
引用它的顶会 Paper26
- Lero: A Learning-to-Rank Query OptimizerRong Zhu, Wei Chen, Bolin Ding, Xingguang Chen 等VLDB 2023 · 102 次引用
- Learned Cardinality Estimation: A Design Space Exploration and A Comparative EvaluationJi Sun, Jintao Zhang, Zhaoyan Sun, Guoliang Li 等VLDB 2022 · 90 次引用
- Zero-Shot Cost Models for Out-of-the-box Learned Cost PredictionBenjamin Hilprecht, Carsten BinnigVLDB 2022 · 90 次引用
- A Learned Query Rewrite System using Monte Carlo Tree SearchXuanhe Zhou, Guoliang Li, Chengliang Chai, Jianhua FengVLDB 2022 · 85 次引用
- MB2: Decomposed Behavior Modeling for Self-Driving Database Management SystemsLin Ma, William Zhang, Jie Jiao, Wuwen Wang 等SIGMOD 2021 · 35 次引用
它引用的 Paper1
相关 Paper
- MemQ: A Graph-Based Query Memory Prediction Framework for Effective Workload SchedulingYang Wu, Xuanhe Zhou, Xiaoguang Li, Jinhuai Kang 等ICDE 2025 · 2 次引用
- LORE: Learning-Based Resource Recommendation for Big Data QueriesYan Li, Liwei Wang, Bolong Zheng, Zhiyong PengICDE 2025 · 2 次引用
- Sibyl: Forecasting Time-Evolving Query WorkloadsHanxian Huang, Tarique Siddiqui, Rana Alotaibi, Carlo Curino 等SIGMOD 2024 · 14 次引用
- PreQR: Pre-training Representation for SQL UnderstandingXiu Tang, Sai Wu, Mingli Song, Shanshan Ying 等SIGMOD 2022 · 21 次引用
- Graph Transformers for Query Plan Representation: Potentials and ChallengesChenghao Lyu, Guillaume Lachaud, Gabriel Lozano, Yanlei DiaoVLDB 2025
