An Empirical Analysis of Deep Learning for Cardinality Estimation

05/15/2019
by   Jennifer Ortiz, et al.
0

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 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 select-project-join workloads. As promising as these models are, we also discuss and address some of the challenges of using them in practice.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset