Join Size Bounds using Lp-Norms on Degree Sequences

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Khamis, Mahmoud Abo, Nakos, Vasileios, Olteanu, Dan, Suciu, Dan
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916276257947648
author Khamis, Mahmoud Abo
Nakos, Vasileios
Olteanu, Dan
Suciu, Dan
author_facet Khamis, Mahmoud Abo
Nakos, Vasileios
Olteanu, Dan
Suciu, Dan
contents Estimating the output size of a query is a fundamental yet longstanding problem in database query processing. Traditional cardinality estimators used by database systems can routinely underestimate the true output size by orders of magnitude, which leads to significant system performance penalty. Recently, upper bounds have been proposed that are based on information inequalities and incorporate sizes and max-degrees from input relations, yet they their main benefit is limited to cyclic queries, because they degenerate to rather trivial formulas on acyclic queries. We introduce a significant extension of the upper bounds, by incorporating $\ell_p$-norms of the degree sequences of join attributes. Our bounds are significantly lower than previously known bounds, even when applied to acyclic queries. These bounds are also based on information theory, they come with a matching query evaluation algorithm, are computable in exponential time in the query size, and are provably tight when all degrees are "simple".
format Preprint
id arxiv_https___arxiv_org_abs_2306_14075
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Join Size Bounds using Lp-Norms on Degree Sequences
Khamis, Mahmoud Abo
Nakos, Vasileios
Olteanu, Dan
Suciu, Dan
Databases
Information Theory
Estimating the output size of a query is a fundamental yet longstanding problem in database query processing. Traditional cardinality estimators used by database systems can routinely underestimate the true output size by orders of magnitude, which leads to significant system performance penalty. Recently, upper bounds have been proposed that are based on information inequalities and incorporate sizes and max-degrees from input relations, yet they their main benefit is limited to cyclic queries, because they degenerate to rather trivial formulas on acyclic queries. We introduce a significant extension of the upper bounds, by incorporating $\ell_p$-norms of the degree sequences of join attributes. Our bounds are significantly lower than previously known bounds, even when applied to acyclic queries. These bounds are also based on information theory, they come with a matching query evaluation algorithm, are computable in exponential time in the query size, and are provably tight when all degrees are "simple".
title Join Size Bounds using Lp-Norms on Degree Sequences
topic Databases
Information Theory
url https://arxiv.org/abs/2306.14075