Ambidextrous Degree Sequence Bounds for Pessimistic Cardinality Estimation
Abstract
In a large database system, upper-bounding the cardinality of a join query is a crucial task called . Recently, Abo Khamis, Nakos, Olteanu, and Suciu unified related works into the following dexterous framework. Step 1: Let be a random row of the join, equating to the log of the join cardinality. Step 2: Upper-bound using Shannon-type inequalities such as . Step 3: Upper-bound using the -norm of the degree sequence of the underlying graph of a relation. While old bound in step 3 count "claws " in the underlying graph, we proposed bounds that count "claw pairs ". The new bounds are provably not looser and empirically tighter: they overestimate by times when the old bounds overestimate by times. An example is counting friend triples in the dataset, the best dexterous bound is , the best ambidextrous bound is , and the actual cardinality is .
Cite
@article{arxiv.2510.04249,
title = {Ambidextrous Degree Sequence Bounds for Pessimistic Cardinality Estimation},
author = {Yu-Ting Lin and Hsin-Po Wang},
journal= {arXiv preprint arXiv:2510.04249},
year = {2025}
}
Comments
25 pages, 16 figures