An End-to-End Learning-based Cost Estimator
Not on the map. Why?
Abstract (arXiv)
Cost and cardinality estimation is vital to query optimizer, which can guide the plan selection. However traditional empirical cost and cardinality estimation techniques cannot provide high-quality estimation, because they cannot capture the correlation between multiple columns. Recently the database community shows that the learning-based cardinality estimation is better than the empirical methods. However, existing learning-based methods have several limitations. Firstly, they can only estimate the cardinality, but cannot estimate the cost. Secondly, convolutional neural network (CNN) with average pooling is hard to represent complicated structures, e.g., complex predicates, and the model is hard to be generalized. To address these challenges, we propose an effective end-to-end learning-based cost estimation framework based on a tree-structured model, which can estimate both cost and cardinality simultaneously. To the best of our knowledge, this is the first end-to-end cost estimator based on deep learning. We propose effective feature extraction and encoding techniques, which consider both queries and physical operations in feature extraction. We embed these features into our tree-structured model. We propose an effective method to encode string values, which can improve the generalization ability for predicate matching. As it is prohibitively expensive to enumerate all string values, we design a patten-based method, which selects patterns to cover string values and utilizes the patterns to embed string values. We conducted experiments on real-world datasets and experimental results showed that our method outperformed baselines.
Key facts. Cited by 43 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 9; 2022: 8; 2023: 5; 2024: 8; 2025: 10; 2026: 3.
43 papers.
Sort:
By area:
- 2023Data-centric Artificial Intelligence: A Surveycited by 202
- 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluationcited by 30
- 2023Lero: A Learning-to-Rank Query Optimizercited by 26
- 2021A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimationcited by 21
- 2022Balsa: Learning a Query Optimizer Without Expert Demonstrationscited by 18
- 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
- 2021Efficient Deep Learning Pipelines for Accurate Cost Estimations Over Large Scale Query Workloadcited by 4
- 2021Database Workload Characterization with Query Plan Encoderscited by 4
31 more
- 2025RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systemscited by 4
- 2022AMED: Automatic Mixed-Precision Quantization for Edge Devicescited by 3
- 2023Duet: efficient and scalable hybriD neUral rElation undersTandingcited by 3
- 2024FeatNavigator: Automatic Feature Augmentation on Tabular Datacited by 3
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyondcited by 3
- 2024A Practical Theory of Generalization in Selectivity Learningcited by 3
- 2025OpenMLDB: A Real-Time Relational Data Feature Computation System for Online MLcited by 3
- 2021Can Deep Neural Networks Predict Data Correlations from Column Names?cited by 2
- 2021Glue: Adaptively Merging Single Table Cardinality to Estimate Join Query Sizecited by 2
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challengescited by 2
- 2025A Learned Cost Model-based Cross-engine Optimizer for SQL Workloadscited by 2
- 2025Cost Trade-offs of Reasoning and Non-Reasoning Large Language Models in Text-to-SQLcited by 2
- 2026AI-Driven Research for Databasescited by 2
- 2022Electra: Conditional Generative Model based Predicate-Aware Query Approximationcited by 1
- 2024A Novel Technique for Query Plan Representation Based on Graph Neural Netscited by 1
- 2024CAMAL: Optimizing LSM-trees via Active Learningcited by 1
- 2024CardOOD: Robust Query-driven Cardinality Estimation under Out-of-Distributioncited by 1
- 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulationcited by 1
- 2025Is it Bigger than a Breadbox: Efficient Cardinality Estimation for Real World Workloadscited by 1
- 2022Multi-agent Databases via Independent Learningcited by 0
- 2022Learning-Based Data Storage [Vision] (Technical Report)cited by 0
- 2022Learned k-NN Distance Estimationcited by 0
- 2023BitE : Accelerating Learned Query Optimization in a Mixed-Workload Environmentcited by 0
- 2024LearnedWMP: Workload Memory Prediction Using Distribution of Query Templatescited by 0
- 2024CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimationcited by 0
- 2025Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query Optimizationcited by 0
- 2025BQSched: A Non-intrusive Scheduler for Batch Concurrent Queries via Reinforcement Learningcited by 0
- 2025LLM4Hint: Leveraging Large Language Models for Hint Recommendation in Offline Query Optimizationcited by 0
- 2025Gradient-Based Join Orderingcited by 0
- 2026MICRO: A Lightweight Middleware for Optimizing Cross-store Cross-model Graph-Relation Joins [Technical Report]cited by 0
- 2026Air-Plan: Query-Optimized Topology Selection for Over-the-Air Decentralized Federated Learningcited by 0
- 2026Air-Plan: Query-Optimized Topology Selection for Over-the-Air Decentralized Federated Learning5 Jul 2026
- 2026AI-Driven Research for Databases8 Apr 2026
- 2026MICRO: A Lightweight Middleware for Optimizing Cross-store Cross-model Graph-Relation Joins [Technical Report]14 Mar 2026
- 2025Cost Trade-offs of Reasoning and Non-Reasoning Large Language Models in Text-to-SQL26 Dec 2025
- 2025Gradient-Based Join Ordering18 Nov 2025
- 2025Is it Bigger than a Breadbox: Efficient Cardinality Estimation for Real World Workloads3 Oct 2025
- 2025LLM4Hint: Leveraging Large Language Models for Hint Recommendation in Offline Query Optimization4 Jul 2025
- 2025A Learned Cost Model-based Cross-engine Optimizer for SQL Workloads3 Jun 2025
- 2025BQSched: A Non-intrusive Scheduler for Batch Concurrent Queries via Reinforcement Learning27 Apr 2025
- 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulation12 Mar 2025
- 2025RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systems6 Mar 2025
- 2025Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query Optimization29 Jan 2025
31 more
- 2025OpenMLDB: A Real-Time Relational Data Feature Computation System for Online ML15 Jan 2025
- 2024CardOOD: Robust Query-driven Cardinality Estimation under Out-of-Distribution8 Dec 2024
- 2024CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation1 Dec 2024
- 2024CAMAL: Optimizing LSM-trees via Active Learning23 Sep 2024
- 2024A Practical Theory of Generalization in Selectivity Learning11 Sep 2024
- 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyond19 Jun 2024
- 2024FeatNavigator: Automatic Feature Augmentation on Tabular Data13 Jun 2024
- 2024A Novel Technique for Query Plan Representation Based on Graph Neural Nets8 May 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
- 2023Duet: efficient and scalable hybriD neUral rElation undersTanding25 Jul 2023
- 2023BitE : Accelerating Learned Query Optimization in a Mixed-Workload Environment1 Jun 2023
- 2023Data-centric Artificial Intelligence: A Survey17 Mar 2023
- 2023Lero: A Learning-to-Rank Query Optimizer14 Feb 2023
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queries11 Dec 2022
- 2022Learned k-NN Distance Estimation29 Aug 2022
- 2022Learning-Based Data Storage [Vision] (Technical Report)12 Jun 2022
- 2022AMED: Automatic Mixed-Precision Quantization for Edge Devices30 May 2022
- 2022Multi-agent Databases via Independent Learning28 May 2022
- 2022Electra: Conditional Generative Model based Predicate-Aware Query Approximation28 Jan 2022
- 2022Balsa: Learning a Query Optimizer Without Expert Demonstrations5 Jan 2022
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction3 Jan 2022
- 2021Glue: Adaptively Merging Single Table Cardinality to Estimate Join Query Size7 Dec 2021
- 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation13 Sep 2021
- 2021A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimation26 Jul 2021
- 2021Can Deep Neural Networks Predict Data Correlations from Column Names?9 Jul 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
- 2021Efficient Deep Learning Pipelines for Accurate Cost Estimations Over Large Scale Query Workload23 Mar 2021
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumeration5 Jan 2021
- 2023Data-centric Artificial Intelligence: A Surveycited by 202
- 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluationcited by 30
- 2023Lero: A Learning-to-Rank Query Optimizercited by 26
- 2021A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimationcited by 21
- 2022Balsa: Learning a Query Optimizer Without Expert Demonstrationscited by 18
- 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
- 2021Efficient Deep Learning Pipelines for Accurate Cost Estimations Over Large Scale Query Workloadcited by 4
- 2021Database Workload Characterization with Query Plan Encoderscited by 4
12 most cited of 42 All 42 (JSON)
- 2026Air-Plan: Query-Optimized Topology Selection for Over-the-Air Decentralized Federated Learning5 Jul 2026
- 2026AI-Driven Research for Databases8 Apr 2026
- 2026MICRO: A Lightweight Middleware for Optimizing Cross-store Cross-model Graph-Relation Joins [Technical Report]14 Mar 2026
- 2025Gradient-Based Join Ordering18 Nov 2025
- 2025Is it Bigger than a Breadbox: Efficient Cardinality Estimation for Real World Workloads3 Oct 2025
- 2025LLM4Hint: Leveraging Large Language Models for Hint Recommendation in Offline Query Optimization4 Jul 2025
- 2025A Learned Cost Model-based Cross-engine Optimizer for SQL Workloads3 Jun 2025
- 2025BQSched: A Non-intrusive Scheduler for Batch Concurrent Queries via Reinforcement Learning27 Apr 2025
- 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulation12 Mar 2025
- 2025RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systems6 Mar 2025
- 2025Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query Optimization29 Jan 2025
- 2025OpenMLDB: A Real-Time Relational Data Feature Computation System for Online ML15 Jan 2025
12 newest of 42 All 42 (JSON)