Method for maintaining a sample synopsis under arbitrary insertions and deletions
Abstract
A method of incrementally maintaining a stable, bounded, uniform random sample S from a dataset R, in the presence of arbitrary insertions and deletions to the dataset R, and without accesses to the dataset R, comprises a random pairing method in which deletions are uncompensated until compensated by a subsequent insertion (randomly paired to the deletion) by including the insertion's item into S if and only if the uncompensated deletion's item was removed from S (i.e., was in S so that it could be removed). A method for resizing a sample to a new uniform sample of increased size while maintaining a bound on the sample size and balancing cost between dataset accesses and transactions to the dataset is also disclosed. A method for maintaining uniform, bounded samples for a dataset in the presence of growth in size of the dataset is additionally disclosed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method of incrementally maintaining a stable, bounded, uniform random sample S from a dataset R, in the presence of arbitrary insertions and deletions to the dataset R, and without accesses to the dataset R, comprising the steps of: determining whether or not there is an uncompensated deletion among the deletions to the dataset R; and in response to an insertion of a first item into the dataset R, and in the case that there is at least one uncompensated deletion of a second item from the dataset R; compensating, in S, the uncompensated deletion by the insertion by includ
- Claim 2Depends on #1
The method of claim 1 , further comprising steps of: keeping a count of uncompensated deletions; and removing, in response to a deletion wherein the deletion deletes a deleted item from the dataset
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (3)
- Notice of Allowance dated Jan. 14, 2009 from U.S. Appl. No. 11/615,481.
- Office Action from U.S. Appl. No. 11/615,481 dated Oct. 10, 2008.
- P.B. Gibbons and Y. Matias, New sampling-based summary statistics for improving approximate query answers. In Proc. ACM SIGMOD, 1998, pp. 331-342, ACM, Seattle, WA, USA.