INCREMENTAL CARDINALITY ESTIMATION FOR A SET OF DATA VALUES

Patent №

US 7,124,146

Granted

2006-10-17

Filed 2003

Owner

INTERNATIONAL BUSINESS MACHINES CORPORATION

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.

PlanningG06F 16/24545Y10S 707/941Y10S 707/959Y10S 707/99937Y10S 707/99942Y10S 707/99943Y10S 707/99944Y10S 707/99945+1 more

AI classification

Planning0.58
Machine learning0.26
Evolutionary computation0.14
Knowledge representation0.03
Natural language0.01
AI hardware0.00
Speech0.00
Vision0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 140410919

Assignors

RJAIBI, WALID, HAAS, PETER JAY

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC