<scp>CorrBound:</scp> Cardinality Estimation Accounting for Inter- and Intra-relation Correlations
This paper introduces CorrBound , a cardinality estimator that exploits the correlations between the join columns across and within relations. The state-of-the-art estimators do not observe such correlations and can therefore yield poor estimates. By explicitly accounting for correlations, CorrBound can significantly improve the accuracy of cardinality estimation. CorrBound supports multi-join queries (acyclic or cyclic) with conjunctions of equality and range predicates and group-by clauses. Its estimate is the optimal solution of a linear program whose constraints encode data statistics and Shannon inequalities. It uses a new information inequality that captures the intra- and inter-relation correlations of join columns and uses the generalized inner product of degree vectors of join columns. This inequality also captures the ℓ p -norm inequality used by the state-of-the-art estimator LpBound. The inequality comes with a high-dimensionality challenge: managing the cardinality tensor defined by the generalized inner products of many large degree vectors. To keep the estimation time feasible, CorrBound uses two compression techniques that retain the accuracy of the inner products: sketches of degree vectors and low-rank decomposition of the cardinality tensor. We experimentally evaluate CorrBound against traditional, pessimistic, and machine learning-based estimators on the JOBlight and STATS, and subgraph matching benchmarks. Our main finding is that CorrBound can be more accurate than the state of the art while maintaining a low estimation time.
Authors
- Mahmoud Abo Khamis (ORCID: https://orcid.org/0000-0003-3894-6494)
- Dan Olteanu (ORCID: https://orcid.org/0000-0002-4682-7068)
- Kyle Deeds (ORCID: https://orcid.org/0000-0003-2267-3276)
- Dan Suciu (ORCID: https://orcid.org/0000-0002-4144-0868)
- Haozhe Zhang (ORCID: https://orcid.org/0000-0002-0930-1980)
Institutions
- University of Washington (US)
- University of Zurich (CH)
- Seattle University (US)
Publication Details
- Journal
- Proceedings of the ACM on Management of Data
- Published
- 2026-04-02
- DOI
- https://doi.org/10.1145/3786633
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung