×

Portable and Iterative Re-Usable Suboptimization of Database Queries

  • US 20080256024A1
  • Filed: 04/13/2007
  • Published: 10/16/2008
  • Est. Priority Date: 04/13/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for optimizing a database query, the method comprising:

  • generating a query plan for the database query, wherein the query plan includes first and second subplans;

    retrieving cached optimization data associated with the first subplan and generated during evaluation of another query plan for a previous query that uses the first subplan;

    evaluating the first subplan for resource cost using the retrieved optimization data;

    evaluating the second subplan for resource cost; and

    evaluating the query plan for resource cost based upon the evaluations of resource cost for the first and second subplans.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×