An Empirical Analysis of Deep Learning for Cardinality Estimation
Not on the map. Why?
Abstract (arXiv)
We implement and evaluate deep learning for cardinality estimation by studying the accuracy, space and time trade-offs across several architectures. We find that simple deep learning models can learn cardinality estimations across a variety of datasets (reducing the error by 72% - 98% on average compared to PostgreSQL). In addition, we empirically evaluate the impact of injecting cardinality estimates produced by deep learning models into the PostgreSQL optimizer. In many cases, the estimates from these models lead to better query plans across all datasets, reducing the runtimes by up to 49% on select-project-join workloads. As promising as these models are, we also discuss and address some of the challenges of using them in practice.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 0; 2023: 1; 2024: 2; 2025: 2.
8 papers.
- 2021A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimationcited by 21
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumerationcited by 14
- 2021Efficient Deep Learning Pipelines for Accurate Cost Estimations Over Large Scale Query Workloadcited by 4
- 2023Duet: efficient and scalable hybriD neUral rElation undersTandingcited by 3
- 2024HERO: Hint-Based Efficient and Reliable Query Optimizercited by 3
- 2024GEqO: ML-Accelerated Semantic Equivalence Detectioncited by 1
- 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulationcited by 1
- 2025Selective Use of Yannakakis' Algorithm to Improve Query Performance: Machine Learning to the Rescuecited by 0
- 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
- 2024HERO: Hint-Based Efficient and Reliable Query Optimizer3 Dec 2024
- 2024GEqO: ML-Accelerated Semantic Equivalence Detection2 Jan 2024
- 2023Duet: efficient and scalable hybriD neUral rElation undersTanding25 Jul 2023
- 2021A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimation26 Jul 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