# Database Engines: Evolution of Greenness

**Authors:** Andriy V. Miranskyy, Zainab Al-zanbouri, David Godwin, Ayse, Basar Bener

arXiv: 1701.02344 · 2017-11-21

## TL;DR

This study analyzes how the energy consumption and performance of MySQL database engines evolve over time, highlighting the correlation between software metrics and energy efficiency to guide greener database development.

## Contribution

It provides an empirical analysis of energy consumption across multiple database releases and identifies software metrics linked to greenness and performance.

## Key findings

- Energy consumption increases with database evolution.
- Lines of Code correlates with energy use and execution time.
- Practitioners can select greener database versions based on metrics.

## Abstract

Context: Information Technology consumes up to 10\% of the world's electricity generation, contributing to CO2 emissions and high energy costs. Data centers, particularly databases, use up to 23% of this energy. Therefore, building an energy-efficient (green) database engine could reduce energy consumption and CO2 emissions.   Goal: To understand the factors driving databases' energy consumption and execution time throughout their evolution.   Method: We conducted an empirical case study of energy consumption by two MySQL database engines, InnoDB and MyISAM, across 40 releases. We examined the relationships of four software metrics to energy consumption and execution time to determine which metrics reflect the greenness and performance of a database.   Results: Our analysis shows that database engines' energy consumption and execution time increase as databases evolve. Moreover, the Lines of Code metric is correlated moderately to strongly with energy consumption and execution time in 88% of cases.   Conclusions: Our findings provide insights to both practitioners and researchers. Database administrators may use them to select a fast, green release of the MySQL database engine. MySQL database-engine developers may use the software metric to assess products' greenness and performance. Researchers may use our findings to further develop new hypotheses or build models to predict greenness and performance of databases.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1701.02344/full.md

## Figures

37 figures with captions in the complete paper: https://tomesphere.com/paper/1701.02344/full.md

## References

63 references — full list in the complete paper: https://tomesphere.com/paper/1701.02344/full.md

---
Source: https://tomesphere.com/paper/1701.02344