×

Access path selection for SQL with variables in a RDBMS

  • US 6,219,660 B1
  • Filed: 09/08/1999
  • Issued: 04/17/2001
  • Est. Priority Date: 09/30/1997
  • Status: Expired due to Term
First Claim
Patent Images

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

  • receiving the query containing at least one variable;

    determining an access path for the query during a bind process based on a default filter factor; and

    at execution time optimizing the access path by, determining a value for each variable in the query;

    generating an optimal filter factor using the determined value for each variable; and

    generating a new access path for the query using the optimal filter factor, while disregarding any previously generated access path based on the default filter factor.

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