arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1701.02344cs.SEcs.DB
收藏

数据库引擎:绿色化的进化

Database Engines: Evolution of Greenness

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

摘要:

背景:信息技术消耗了全球10%的发电量,导致二氧化碳排放和高能源成本。数据中心,特别是数据库,消耗了高达23%的能源。因此,构建节能(绿色)数据库引擎可以减少能源消耗和二氧化碳排放。目标:了解在数据库发展过程中驱动数据库能耗和执行时间的因素。方法:我们对两个MySQL数据库引擎InnoDB和MyISAM在40个版本中的能耗进行了实证案例研究。我们研究了四个软件指标与能耗和执行时间的关系,以确定哪些指标反映了数据库的绿色和性能。结果:我们的分析表明,随着数据库的发展,数据库引擎的能源消耗和执行时间增加。此外,在88%的情况下,代码行数指标与能耗和执行时间中度到强烈相关。结论:我们的研究结果为从业者和研究人员提供了见解。数据库管理员可以使用它们来选择快速、绿色的MySQL数据库引擎版本。MySQL数据库引擎开发人员可以使用软件度量来评估产品的绿色度和性能。研究人员可以利用我们的研究结果进一步开发新的假设或建立模型来预测数据库的绿色和性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑