Skip to main content

Pessimistic Cardinality Estimation

Abo Khamis‚ Mahmoud‚ Kyle Deeds‚ Dan Olteanu and Dan Suciu

Abstract

Cardinality Estimation is to estimate the size of the output of a query without computing it, by using only statistics on the input relations. Existing estimators try to return an unbiased estimate of the cardinality: this is notoriously difficult. A new class of estimators have been proposed recently, called pessimistic estimators, which compute a guaranteed upper bound on the query output. Two recent advances have made pessimistic estimators practical. The first is the recent observation that degree sequences of the input relations can be used to compute query upper bounds. The second is a long line of theoretical results that have developed the use of information theoretic inequalities for query upper bounds. This paper is a short overview of pessimistic cardinality estimators, contrasting them with traditional estimators.

Address
New York‚ NY‚ USA
ISSN
0163−5808
Journal
SIGMOD Rec.
Month
jan
Number
4
Pages
1–17
Publisher
Association for Computing Machinery
Volume
53
Year
2025