mlsanityData to 7 Oct 2026

An End-to-End Learning-based Cost Estimator

arXiv 1906.02560 ↗First posted 6 Jun 2019cs.DBcited by 43

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 9; 2022: 8; 2023: 5; 2024: 8; 2025: 10; 2026: 3.

43 papers.

Sort:

By area:

  1. 2023Data-centric Artificial Intelligence: A Surveycited by 202
  2. 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluationcited by 30
  3. 2023Lero: A Learning-to-Rank Query Optimizercited by 26
  4. 2021A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimationcited by 21
  5. 2022Balsa: Learning a Query Optimizer Without Expert Demonstrationscited by 18
  6. 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Predictioncited by 16
  7. 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumerationcited by 14
  8. 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
  9. 2021A Unified Transferable Model for ML-Enhanced DBMScited by 10
  10. 2021One Model to Rule them All: Towards Zero-Shot Learning for Databasescited by 9
  11. 2021Efficient Deep Learning Pipelines for Accurate Cost Estimations Over Large Scale Query Workloadcited by 4
  12. 2021Database Workload Characterization with Query Plan Encoderscited by 4
31 more
  1. 2025RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systemscited by 4
  2. 2022AMED: Automatic Mixed-Precision Quantization for Edge Devicescited by 3
  3. 2023Duet: efficient and scalable hybriD neUral rElation undersTandingcited by 3
  4. 2024FeatNavigator: Automatic Feature Augmentation on Tabular Datacited by 3
  5. 2024Learned Graph Rewriting with Equality Saturation: A New Paradigm in Relational Query Rewrite and Beyondcited by 3
  6. 2024A Practical Theory of Generalization in Selectivity Learningcited by 3
  7. 2025OpenMLDB: A Real-Time Relational Data Feature Computation System for Online MLcited by 3
  8. 2021Can Deep Neural Networks Predict Data Correlations from Column Names?cited by 2
  9. 2021Glue: Adaptively Merging Single Table Cardinality to Estimate Join Query Sizecited by 2
  10. 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challengescited by 2
  11. 2025A Learned Cost Model-based Cross-engine Optimizer for SQL Workloadscited by 2
  12. 2025Cost Trade-offs of Reasoning and Non-Reasoning Large Language Models in Text-to-SQLcited by 2
  13. 2026AI-Driven Research for Databasescited by 2
  14. 2022Electra: Conditional Generative Model based Predicate-Aware Query Approximationcited by 1
  15. 2024A Novel Technique for Query Plan Representation Based on Graph Neural Netscited by 1
  16. 2024CAMAL: Optimizing LSM-trees via Active Learningcited by 1
  17. 2024CardOOD: Robust Query-driven Cardinality Estimation under Out-of-Distributioncited by 1
  18. 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulationcited by 1
  19. 2025Is it Bigger than a Breadbox: Efficient Cardinality Estimation for Real World Workloadscited by 1
  20. 2022Multi-agent Databases via Independent Learningcited by 0
  21. 2022Learning-Based Data Storage [Vision] (Technical Report)cited by 0
  22. 2022Learned k-NN Distance Estimationcited by 0
  23. 2023BitE : Accelerating Learned Query Optimization in a Mixed-Workload Environmentcited by 0
  24. 2024LearnedWMP: Workload Memory Prediction Using Distribution of Query Templatescited by 0
  25. 2024CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimationcited by 0
  26. 2025Reqo: A Comprehensive Learning-Based Cost Model for Robust and Explainable Query Optimizationcited by 0
  27. 2025BQSched: A Non-intrusive Scheduler for Batch Concurrent Queries via Reinforcement Learningcited by 0
  28. 2025LLM4Hint: Leveraging Large Language Models for Hint Recommendation in Offline Query Optimizationcited by 0
  29. 2025Gradient-Based Join Orderingcited by 0
  30. 2026MICRO: A Lightweight Middleware for Optimizing Cross-store Cross-model Graph-Relation Joins [Technical Report]cited by 0
  31. 2026Air-Plan: Query-Optimized Topology Selection for Over-the-Air Decentralized Federated Learningcited by 0