Estimating the size of a join by generating and combining partial join estimates
Abstract
A program product, an apparatus, and a method of estimating a join size by generating partial join estimates and combining the partial join estimates. In particular, robust formulas are provided that may result in more consistent estimates and fewer inaccuracies. Inconsistencies and inaccuracies are generally present in conventional join size estimation techniques, however, consistent with the invention, consistent join size estimates may be generated resulting in improved access plan selection during optimization.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of estimating a join size for first and second tables, the method comprising, in a computer including a hardware-implemented processor: (a) determining a plurality of merge regions from first and second histograms respectively associated with the first and second tables, wherein each histogram includes a plurality of regions, and wherein each merge region overlaps a region from at least one of the first or the second histograms; (b) for each merge region, calculating a partial join estimation for such merge region, wherein calculating the partial join estimation includes scaling a den
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- "How Fuzzy Query Works (Part 2)" by Sonalysts, http://fuzzy.sonalysts.com/fuzzysql2.htm, (2003).
- "How Fuzzy Query Works (Part 3)" by Sonalysts, http://fuzzy.sonalysts.com/fuzzysql3.htm, (2003).
- "How Fuzzy Query Works (Part 5)" by Sonalysts, http://fuzzy.sonalysts.com/fuzzysql5.htm, (2003).
- "How Fuzzy Query Works (Part 6)" by Sonalysts, http://fuzzy.sonalysts.com/fuzzysql6.htm, (2003).
- "How Fuzzy Query Works" by Sonalysts, http://fuzzy.sonalysts.com/fuzzysql1.htm, (2003).