1. A computer-implemented method of managing the execution of a query, comprising: receiving a query to be executed; calculating an initial energy consumption value for the received query; and upon determining the determined initial energy consumption value does not exceed a first threshold amount of energy, executing the query by operation of one or more computer processors.