×

Energy monetary cost aware query optimization

  • US 8,447,772 B2
  • Filed: 06/23/2010
  • Issued: 05/21/2013
  • Est. Priority Date: 06/23/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of optimizing a query, comprising:

  • determining a plurality of execution plans for executing a query, wherein each of the plurality of execution plans represents an alternative way of executing the query relative to the other execution plans in the plurality of execution plans, and wherein each of the plurality of execution plans includes a plurality of operations to be performed in executing the query and a schedule in which to perform operations in the plurality of operations;

    for each of the plurality of execution plans;

    determining a power consumption value for the execution plan, wherein the power consumption value approximates an amount of power that would be consumed by executing the query using the respective execution plan; and

    determining a monetary cost for executing the query according to the execution plan, based on one or more pricing values and the determined power consumption value for the execution plan;

    selecting a first execution plan from the plurality of execution plans to use in executing the query, based on the determined monetary cost for the first execution plan; and

    executing the query according to the first execution plan, wherein an entirety of the query is executed once the first execution plan is completed.

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