Patents
US 7,124,146 B2#3266944 Most CitedExpiredUnited States (USPTO)Utility

Incremental cardinality estimation for a set of data values

24Forward Citations (#3266944 Global)
1.2/yrCitation Velocity (#5039421 Global)
3.13Citation PageRank (#7061786 Global)
10Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A technique is provided for incrementally maintaining column cardinality estimates in database management systems. The system catalog table containing a cardinality estimate for a column is extended to include an appropriate data structure. A modified linear counting technique is used in a first embodiment of a method for column cardinality estimation. Moreover, a modified logarithmic counting technique is used in a second, preferred embodiment of a column cardinality estimation method to reduce storage requirements for the data structure. The cardinality estimate is produced by an initial scan of the data but is then further maintained without requiring a full scan of the data. Data changes are reflected incrementally in modifications to the initial cardinality estimate, keeping the cardinality statistics more current with respect to the database condition. The technique of the invention typically provides a capability for a database management system to produce more efficient search plans providing more effective responses to user queries through the use of improved cardinality statistics.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 24.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method performed on a computer system for estimating a cardinality value for a set of data values, the method comprising: (a) initializing a data structure for representing counts; (b) obtaining a data value from said set of data values; (c) transforming said data value into a transformed string; (d) modifying said data structure with said transformed string; (e) obtaining a summary statistic value from said modified data structure; and (f) generating said estimated cardinality value using said summary statistic value, wherein generating said estimated cardinality value step (f) is performed

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (3)

  • Bell, Colin; Nerode, Anil; NG, Raymond T.; Subrahmanian, V.S. "Implementing Deductive Databases by Mixed Integer Programming," ACM Transactions on Database Systems, vol. 21, No. 2, Jun. 1996, pp. 238-269.
  • Emiris, Ioannis; Canny, John. "A Practical Method for the Sparse Resultant," 1993 ACM 0-89791-604-2/93/0007/0183.
  • Schiefer, Swami A. "On the Estimation of Join Result Sizes," Advances in Database Technology Proceedings, Published: Berlin, Germany, 1994, pp. 287-300.