Method for estimating the number of distinct values in a partitioned dataset
Abstract
The task of estimating the number of distinct values (DVs) in a large dataset arises in a wide variety of settings in computer science and elsewhere. The present invention provides synopses for DV estimation in the setting of a partitioned dataset, as well as corresponding DV estimators that exploit these synopses. Whenever an output compound data partition is created via a multiset operation on a pair of (possibly compound) input partitions, the synopsis for the output partition can be obtained by combining the synopses of the input partitions. If the input partitions are compound partitions, it is not necessary to access the synopses for all the base partitions that were used to construct the input partitions. Superior (in certain cases near-optimal) accuracy in DV estimates is maintained, especially when the synopsis size is small. The synopses can be created in parallel, and can also handle deletions of individual partition elements.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-based method to estimate distinct values in a partitioned dataset, said computer-based implemented in computer readable program code stored in computer memory, said computer-based method comprising the steps of: a. creating a synopsis of each partition in a partitioned dataset; b. combining created synopsis to construct distinct value (DV) estimations of a base partition or of a compound partition that is based on at least one of the following multiset operations: multiset-union, multiset-intersection, and multiset-difference; and c. outputting said constructed DV estimations in (b)
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (29)
Non-Patent Literature (5)
- Abdelkader Hameurlain et al. "CPU and incremental memory allocation in dynamic parallelization of SQL queries",Parallel Computing 28 (2002) 525-556.
- Damianos Chatziantoniou et al. "Partitioned optimization of complex queries",Information Systems 32 (2007) 248-282.
- Kevin Beyer1 et al. "On Synopses for DistinctValue Estimation Under Multiset Operations",SIGMOD'07, Jun. 12-14, 2007,, pp. 199-.
- Neoklis Polyzotis, "SelectivityBased Partitioning: A DivideandUnion Paradigm for Effective Query Optimization", CIKM'05, Oct. 31-Nov. 5, 2005.
- Phillip B. Gibbons, Distinct Sampling for highly-Accurate answers to Distinct values queries and event reports, proceedings of the 27th VLDB, 2001, 10 pages.