×

Query optimization through the use of multi-column statistics to avoid the problems of non-indexed column correlation

  • US 6,272,487 B1
  • Filed: 03/26/1999
  • Issued: 08/07/2001
  • Est. Priority Date: 02/28/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for use in a database management system for optimizing a query, the method comprising:

  • collecting at least one type of multi-column statistic to reflect a relationship among multiple selected non-indexed columns of a table, wherein the step of collecting at least one type of multi-column statistic further comprises collecting a first type of multi-column quantile statistics for indicating a number of rows between two given values by dividing the data into a plurality of sub-ranges, each sub-range having an even distribution of data, and determining a frequency and cardinality of each sub-range; and

    storing the at least one type of multi-column statistic in a table for subsequent use in determining a selectivity value (a number of qualified rows) for predicates in the query, wherein the selectivity value is used in optimizing execution of the query.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×