Group-by size result estimation
Abstract
A method and system for accurately estimating a result size of a Group-By operation in a relational database. The estimate utilizes the probability of union of the columns involved in the operation, as well as the relative cardinality of each column with respect to the other columns in the operation. In addition, the estimate incorporates the use of table filters when indicated such that table filters are applied prior to determining the size of the tables in the operation, as well as including equivalent columns into the list of columns that are a part of the Group-By operation. Accordingly, the estimate of the result size of the operation includes influencing factors that provide an accurate estimation of system memory requirements.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for estimating a result size of a Group-By operation comprising: receiving, by at least one computing device, the Group-By operation comprising inputs referencing database tables stored on a computer readable medium; calculating, by the at least one computing device, a cumulative selectivity in the Group-By operation by aggregating a normalized selectivity of a first column and a normalized selectivity of a second column, wherein the first column and the second column are referenced in the inputs of the Group-By operation, wherein the normalized selectivity for the first column is cal
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- Notice of Allowance mailed Aug. 10, 2012, in U.S. Appl. No. 11/862,058, Miao, B. et al., filed Sep. 26, 2007.
- Notice of Allowance mailed Sep. 9, 2006, in U.S. Appl. No. 10/811,988, Miao, B. et al., filed Mar. 30, 2004.
- Office Action mailed Apr. 30, 2012, in U.S. Appl. No. 11/862,058, Miao, B. et al., filed Sep. 26, 2007.
- Office Action mailed Dec. 20, 2011, in U.S. Appl. No. 11/862,058, Miao, B. et al., filed Sep. 26, 2007.
- Office Action mailed Mar. 21, 2007, in U.S. Appl. No. 10/811,988, Miao, B. et al., filed Mar. 30, 2004.