Plan-Structured Deep Neural Network Models for Query Performance Prediction
Not on the map. Why?
Abstract (arXiv)
Query performance prediction, the task of predicting the latency of a query, is one of the most challenging problem in database management systems. Existing approaches rely on features and performance models engineered by human experts, but often fail to capture the complex interactions between query operators and input relations, and generally do not adapt naturally to workload characteristics and patterns in query execution plans. In this paper, we argue that deep learning can be applied to the query performance prediction problem, and we introduce a novel neural network architecture for the task: a plan-structured neural network. Our approach eliminates the need for human-crafted feature selection and automatically discovers complex performance models both at the operator and query plan level. Our novel neural network architecture can match the structure of any optimizer-selected query execution plan and predict its latency with high accuracy. We also propose a number of optimizations that reduce training overhead without sacrificing effectiveness. We evaluated our techniques on various workloads and we demonstrate that our plan-structured neural network can outperform the state-of-the-art in query performance prediction.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). First posted on arXiv 31 Jan 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 3; 2023: 2; 2024: 7; 2025: 3; 2026: 2.
24 papers.
Sort:
By area:
- 2023Lero: A Learning-to-Rank Query Optimizercited by 26
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Predictioncited by 16
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumerationcited by 14
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
- 2021A Unified Transferable Model for ML-Enhanced DBMScited by 10
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databasescited by 9
- 2024Deep Configuration Performance Learning: A Systematic Survey and Taxonomycited by 8
- 2022Forecasting SQL Query Cost at Twittercited by 5
- 2021Database Workload Characterization with Query Plan Encoderscited by 4
- 2024Dividable Configuration Performance Learningcited by 4
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyondcited by 3
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challengescited by 2
12 more
- 2021Phoebe: A Learning-based Checkpoint Optimizercited by 1
- 2024CAMAL: Optimizing LSM-trees via Active Learningcited by 1
- 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulationcited by 1
- 2021Neural-based Modeling for Performance Tuning of Spark Data Analyticscited by 0
- 2021Learning GraphQL Query Costs (Extended Version)cited by 0
- 2024LearnedWMP: Workload Memory Prediction Using Distribution of Query Templatescited by 0
- 2024Compositional Models for Estimating Causal Effectscited by 0
- 2024CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimationcited by 0
- 2025Selective Use of Yannakakis' Algorithm to Improve Query Performance: Machine Learning to the Rescuecited by 0
- 2025LLM4Hint: Leveraging Large Language Models for Hint Recommendation in Offline Query Optimizationcited by 0
- 2026VQPP: Video Query Performance Prediction Benchmarkcited by 0
- 2026Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analyticscited by 0
- 2026Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics18 May 2026
- 2026VQPP: Video Query Performance Prediction Benchmark19 Feb 2026
- 2025LLM4Hint: Leveraging Large Language Models for Hint Recommendation in Offline Query Optimization4 Jul 2025
- 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulation12 Mar 2025
- 2025Selective Use of Yannakakis' Algorithm to Improve Query Performance: Machine Learning to the Rescue27 Feb 2025
- 2024CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation1 Dec 2024
- 2024CAMAL: Optimizing LSM-trees via Active Learning23 Sep 2024
- 2024Dividable Configuration Performance Learning11 Sep 2024
- 2024Compositional Models for Estimating Causal Effects25 Jun 2024
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyond19 Jun 2024
- 2024Deep Configuration Performance Learning: A Systematic Survey and Taxonomy5 Mar 2024
- 2024LearnedWMP: Workload Memory Prediction Using Distribution of Query Templates22 Jan 2024
12 more
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challenges25 Aug 2023
- 2023Lero: A Learning-to-Rank Query Optimizer14 Feb 2023
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queries11 Dec 2022
- 2022Forecasting SQL Query Cost at Twitter12 Apr 2022
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction3 Jan 2022
- 2021Phoebe: A Learning-based Checkpoint Optimizer5 Oct 2021
- 2021Learning GraphQL Query Costs (Extended Version)25 Aug 2021
- 2021Database Workload Characterization with Query Plan Encoders26 May 2021
- 2021A Unified Transferable Model for ML-Enhanced DBMS6 May 2021
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databases3 May 2021
- 2021Neural-based Modeling for Performance Tuning of Spark Data Analytics20 Jan 2021
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumeration5 Jan 2021
- 2023Lero: A Learning-to-Rank Query Optimizercited by 26
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Predictioncited by 16
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumerationcited by 14
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
- 2021A Unified Transferable Model for ML-Enhanced DBMScited by 10
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databasescited by 9
- 2024Deep Configuration Performance Learning: A Systematic Survey and Taxonomycited by 8
- 2022Forecasting SQL Query Cost at Twittercited by 5
- 2021Database Workload Characterization with Query Plan Encoderscited by 4
- 2024Dividable Configuration Performance Learningcited by 4
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyondcited by 3
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challengescited by 2
12 most cited of 23 All 23 (JSON)
- 2026VQPP: Video Query Performance Prediction Benchmark19 Feb 2026
- 2025LLM4Hint: Leveraging Large Language Models for Hint Recommendation in Offline Query Optimization4 Jul 2025
- 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulation12 Mar 2025
- 2025Selective Use of Yannakakis' Algorithm to Improve Query Performance: Machine Learning to the Rescue27 Feb 2025
- 2024CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation1 Dec 2024
- 2024CAMAL: Optimizing LSM-trees via Active Learning23 Sep 2024
- 2024Dividable Configuration Performance Learning11 Sep 2024
- 2024Compositional Models for Estimating Causal Effects25 Jun 2024
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyond19 Jun 2024
- 2024Deep Configuration Performance Learning: A Systematic Survey and Taxonomy5 Mar 2024
- 2024LearnedWMP: Workload Memory Prediction Using Distribution of Query Templates22 Jan 2024
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challenges25 Aug 2023
12 newest of 23 All 23 (JSON)