Cardinality estimation of joins
Abstract
A method of estimating cardinality of a join of tables using multi-column density values and additionally using coarser density values of a subset of the multi-column density attributes. In one embodiment, the subset of attributes for the coarser densities is a prefix of the set of multi-column density attributes. A number of tuples from each table that participate in the join may be estimated using densities of the subsets. The cardinality of the join can be estimated using the multi-column density for each table and the estimated number of tuples that participate in the join from each table.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 13.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of estimating cardinality of a join of tables using multicolumn density values, comprising: identifying a number of distinct combination tuples, the combination tuples containing a combination of values of a plurality of attributes for each table; determining a number of duplicates for each identified distinct combination tuple; identifying a number of distinct subset tuples containing a value of a subset of the plurality of attributes for each table; determining a number of duplicates for each identified subset tuple; estimating a number of tuples from each table that participate in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 6,865,567 B1 | Method of generating attribute cardinality maps | 2005 | 284 |
Non-Patent Literature (5)
- H. Garcia-Molina, J.D. Ullman and Jennider Widom. Database System Implementation Prentice Hall, 2000. (Section 7.4.4).
- Nicolas Bruno & Surajit Chaudhuri, "Exploiting Statistics on Query Expressions for Optimization", ACM SIGMOD Jun. 4-6, 2002, Madison, Wisconsin, USA.
- Nicolas Bruno, "Automatic Management of Statictics on Query Expression in Relational Databases", Department of Computer Science, Columbia University, Apr. 25, 2002, New York, NY.
- Nicolas Bruno, Surajit Chaudhuri, Luis Gravano; "STHoles: a Multidimensional Workload-Aware Histogram"; ACM SIGMOD May 21-24, 2001; Santa Barbara, California, USA.
- P.G. Selinger, M.M. Astrahan, D.D. Chamberlin, R.A. Lorie, T.G. Price: Access Path Selection in a Relational Database Management System, In Proceedings of the 1979 ACM Int'l Conference on Management of Data (SIGMOD '79), 1979.