Patent №
US 7,124,146
Granted
2006-10-17
Filed 2003
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
1
planning
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
10428191
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.
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 140410919
Assignors
RJAIBI, WALID, HAAS, PETER JAY
On an employer assignment, the assignors are typically the inventors.