Patents
US 7,987,177 B2#9356207 Most CitedActiveUnited States (USPTO)Utility

Method for estimating the number of distinct values in a partitioned dataset

11Forward Citations (#9356207 Global)
0.7/yrCitation Velocity (#10429645 Global)
2.19Citation PageRank (#12583384 Global)
29Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (29)

PatentTitleYearCitations
US 5,530,883 ADatabase engine199616
US 5,542,089 AMethod and apparatus for estimating the number of occurrences of frequent values in a data set1996201
US 5,727,197 AMethod and apparatus for segmenting a database199886
US 5,802,521 AMethod and apparatus for determining distinct cardinality dual hash bitmaps199846
US 5,832,475 ADatabase system and method employing data cube operator for group-by operations1998184
US 5,950,185 AApparatus and method for approximating frequency moments199932
US 5,999,928 AEstimating the number of distinct values for an attribute in a relational database table199922
US 6,061,676 AEffecting constraint magic rewriting on a query with the multiset version of the relational algebric theta-semijoin operator2000125
US 6,226,629 B1Method and apparatus determining and using hash functions and hash values2001114
US 2002083033 A1Storage format for encoded vector indexes—39
US 2002198867 A1Learning from empirical results in query optimization—191
US 2003208488 A1System and method for organizing, compressing and structuring data for data mining readiness—50
US 2004049492 A1Distinct sampling system and a method of distinct sampling for a database—32
US 2004059743 A1Sampling statistics in a database system—40
US 6,732,110 B2Estimation of column cardinality in a partitioned relational database200433
US 6,738,762 B1Multidimensional substring selectivity estimation using set hashing of cross-counts200462
US 2004133567 A1Run-time optimizations of queries with SQL spreadsheet—81
US 6,865,567 B1Method of generating attribute cardinality maps2005284
US 2005097072 A1Method for discovering undeclared and fuzzy rules in databases—49

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.