×

System and method for query optimization using quantile values of a large unordered data set

  • US 5,864,841 A
  • Filed: 08/28/1997
  • Issued: 01/26/1999
  • Est. Priority Date: 04/14/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. A data storage system, comprising:

  • a computer;

    one or more input devices electrically connected to the computer for generating a user request for data satisfying a predetermined condition;

    a database accessible by the computer for holding a set of data records; and

    a database management system executed by the computer, the database management system including a compiler, the compiler including;

    a query optimizer for generating a query plan in response to quantiles of the set of data records;

    comparator means in the query optimizer for sequentially comparing records in the data set to a test value of the condition in a single pass over the data set;

    means for selectively inserting a record in a test set having a cardinality less than the cardinality of the data set based upon the comparison and the condition; and

    means for accessing the test set to generate a quantile value representative of a number of records in the database satisfying the condition.

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