Optimizing Database Queries
First Claim
Patent Images
1. A computer-implemented method, comprising:
- receiving a database query;
generating a plurality of query plans for executing the database query;
estimating one or more characteristics of energy consumption requirements for executing each query plan; and
selecting, based at least on the one or more characteristics of energy consumption requirements, one of the plurality of query plans for executing the database query.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention provide techniques for optimizing database queries for energy efficiency. In general, a query optimizer is configured to compare energy requirements of query plans, and to select a query plan requiring minimal energy to execute. In one embodiment, the query optimizer may also compare time performance of the query plans, and may select a query plan by matching to a user preference for a relative priority between energy requirements and time performance.
27 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
receiving a database query; generating a plurality of query plans for executing the database query; estimating one or more characteristics of energy consumption requirements for executing each query plan; and selecting, based at least on the one or more characteristics of energy consumption requirements, one of the plurality of query plans for executing the database query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer readable storage medium containing a program which, when executed, performs an operation, comprising:
-
receiving a database query; generating a plurality of query plans for executing the database query; estimating one or more characteristics of energy consumption requirements for executing each query plan; and selecting, based at least on the one or more characteristics of energy consumption requirements, one of the plurality of query plans for executing the database query. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system, comprising:
-
a database; a processor; and a memory containing a program, which when executed by the processor is configured to perform an operation, comprising; receiving a database query; generating a plurality of query plans for executing the database query; estimating one or more characteristics of energy consumption requirements for executing each query plan; and selecting, based at least on the one or more characteristics of energy consumption requirements, one of the plurality of query plans for executing the database query. - View Dependent Claims (18, 19, 20)
-
Specification