Method and apparatus for estimating the number of occurrences of frequent values in a data set
AssigneeInternational Business Machines Corporation
InventorsBruce G. Lindsay, Eugene J. Shekita
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsBruce G. Lindsay, Eugene J. Shekita
Estimating the term…
A data base management system estimates the number of occurrences of values of query search keys in a data set by defining at least two independent hashing functions that map the values of the data set to buckets of respective hashing tables and maintaining a bucket count as each value from the data set is mapped to the hashing tables. A bucket is defined to be a "popular" bucket if the bucket count of the value exceeds a predetermined threshold. If all of the buckets to which a value is mapped are designated popular buckets, that value is designated an "active" value. Once a value is designated active, statistical data related to the value is collected. Estimates of the most frequently occurring values in the data set are generated from the collected statistical data. In this way, a data base management system can more effectively produce a search plan that provides an efficient response to user queries.
A method of estimating the number of occurrences of values of query search keys in a data set stored in a digital computer for use by a query optimizer of the computer, the method comprising the steps of:
A method of estimating the most frequently occurring values of query search keys in a data set located in data storage of a digital computer for use by a data base manager of the computer in retrieving values from the data storage in accordance with a user query, the method comprising the steps of:
A computer combination having a central processor unit, data storage having a data set of values, and a data base management system having a data base manager that operates on the data set to retrieve values of query search keys in accordance with a user query, the combination including:
A frequent values estimator system for use in a computer system having a central processor unit, data storage having a data set of values, and a data base management system having a data base manager that operates on the data set to retrieve values of query search keys in accordance with a user query, the system including:
A computer system comprising:
Dependencies are inferred from the claim text.