×

Optimizing database queries using query execution plans derived from automatic summary table determining cost based queries

  • US 7,080,062 B1
  • Filed: 02/11/2000
  • Issued: 07/18/2006
  • Est. Priority Date: 05/18/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of optimizing a query in a computer, the query being performed by the computer to retrieve data from a database stored on the computer, the method comprising the steps of:

  • (a) identifying one or more automatic summary tables (ASTs) that overlap the query by matching definitions of the ASTs with requirements of the query, wherein the requirements of the query satisfied by an AST are encapsulated as a set of properties;

    (b) enumerating one or more alternative query execution plans (QEPs) for the query, including at least one QEP that represents one or more access paths of the identified ASTs;

    (c) assigning a cost to each of the alternative QEPs; and

    (d) choosing a most efficient one of the alternative QEPs based upon the assigned costs.

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