×

Delaying evaluation of expensive expressions in a query

  • US 20070078812A1
  • Filed: 09/30/2005
  • Published: 04/05/2007
  • Est. Priority Date: 09/30/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of generating an execution plan for a query, comprising:

  • establishing an expensive expression in the query;

    determining a first execution plan for the query in which an operation evaluating the expensive expression occurs no later than a non-empty set of operations that do not evaluate the expensive expression;

    determining one or more equivalent execution plans that include an execution plan in which the operation evaluating the expensive expression is delayed relative to the non-empty set of operations not evaluating the expensive expression; and

    choosing, based on a set of criteria, a particular execution plan from the first execution plan and the one or more equivalent execution plans.

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