发明名称 Incremental cardinality estimation for a set of data values
摘要 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.
申请公布号 US7124146(B2) 申请公布日期 2006.10.17
申请号 US20030428191 申请日期 2003.04.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 RJAIBI WALID;HAAS PETER JAY
分类号 G06F17/00;G06F17/30 主分类号 G06F17/00
代理机构 代理人
主权项
地址
您可能感兴趣的专利