Authors:
Eros Cedeño
1
;
Ana Aguilera
2
;
Denisse Muñante
3
;
Jorge Correia
1
;
Leonel Guerrero
1
;
Carlos Sivira
1
and
Yudith Cardinale
1
;
4
Affiliations:
1
Departamento Computación y Tecnología de la Información, Universidad Simón Bolívar, Caracas, Venezuela
;
2
Escuela de Ingeniería Informática, Facultad de Ingeniería, Universidad de Valparaíso, Chile
;
3
ENSIIE & SAMOVAR, Évry, France
;
4
Centro de Estudios en Ciancia de Datos e IA (ESenCIA), Universidad Internacional de Valencia, Spain
Keyword(s):
Energy Consumption, Relational Databases, Empirical Evaluation, Query Optimization.
Abstract:
Query optimization strategies is an important aspect in database systems that have been mainly studied only from the perspective of reducing the execution time, neglecting the analysis of their impact on energy consumption. We perform an empirical evaluation for understanding the impact of end-to-end query optimization strategies on the power consumption of database systems, from both client and server perspectives. We perform tests over a PostgreSQL database for two optimization strategies (i.e., indexation and data compression) using the TPC-H benchmark, configured with 22 queries on a 1GB dataset. To measure the energy consumption of both client and server, we propose Juliet, a C++ agent for monitoring and estimating Linux processes energy consumption in Joules (J). Experimental results show that indexation is more effective than data compression to reduce the energy consumed by the execution of the majority of the 22 queries tested.