×

Executing alternative plans for a SQL statement

  • US 7,877,373 B2
  • Filed: 07/10/2006
  • Issued: 01/25/2011
  • Est. Priority Date: 06/30/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method of generating output for analyzing how well a query optimizer generates alternate execution plans and selects an optimal execution plan, the method comprising:

  • receiving a query;

    in response to receiving the query, automatically performing;

    generating at least two alternate execution plans for the received query, wherein each alternate execution plan of the at least two alternate execution plans defines operations for executing said received query differently from each other alternate execution plan of the at least two alternate execution plans;

    for each execution plan of the at least two alternate execution plans, causing execution of said received query by a database server that performs the operations defined by the execution plan;

    wherein the step of causing execution of said received query for each execution plan of the at least two alternate execution plans causes at least two executions of the received query; and

    generating and storing output that describes characteristics of each of the at least two executions of said received query that is executed according to the operations defined by the execution plan of the at least two alternate execution plans;

    wherein the output is useable for analyzing how well the query optimizer generates alternate execution plans and selects the optimal execution plan;

    wherein the method is performed by one or more computing devices.

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