arXiv · 1905.06425
An Empirical Analysis of Deep Learning for Cardinality Estimation
Abstract
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Jennifer Ortiz, Magdalena Balazinska, Johannes Gehrke, S. Sathiya Keerthi. 2019-09-12. An Empirical Analysis of Deep Learning for Cardinality Estimation. https://arxiv.org/abs/1905.06425
Cite the original work for its findings. Save a collection to share your selection of sources.