Loading…

Deep unsupervised cardinality estimation

Cardinality estimation has long been grounded in statistical tools for density estimation. To capture the rich multivariate distributions of relational tables, we propose the use of a new type of high-capacity statistical model: deep autoregressive models. However, direct application of these models...

Full description

Saved in:
Bibliographic Details
Published in:Proceedings of the VLDB Endowment 2019-11, Vol.13 (3), p.279-292
Main Authors: Yang, Zongheng, Liang, Eric, Kamsetty, Amog, Wu, Chenggang, Duan, Yan, Chen, Xi, Abbeel, Pieter, Hellerstein, Joseph M., Krishnan, Sanjay, Stoica, Ion
Format: Article
Language:English
Citations: Items that this one cites
Items that cite this one
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Cardinality estimation has long been grounded in statistical tools for density estimation. To capture the rich multivariate distributions of relational tables, we propose the use of a new type of high-capacity statistical model: deep autoregressive models. However, direct application of these models leads to a limited estimator that is prohibitively expensive to evaluate for range or wildcard predicates. To produce a truly usable estimator, we develop a Monte Carlo integration scheme on top of autoregressive models that can efficiently handle range queries with dozens of dimensions or more. Like classical synopses, our estimator summarizes the data without supervision. Unlike previous solutions, we approximate the joint data distribution without any independence assumptions. Evaluated on real-world datasets and compared against real systems and dominant families of techniques, our estimator achieves single-digit multiplicative error at tail, an up to 90x accuracy improvement over the second best method, and is space- and runtime-efficient.
ISSN:2150-8097
2150-8097
DOI:10.14778/3368289.3368294