In the rapidly evolving landscape of modern data-driven technologies, software relies on large datasets and constant data center operations using various database systems to support computation-intensive tasks. As energy consumption in software systems becomes a growing concern, selecting the right database from energy-efficiency perspective is also critical. To address this, we introduce \textbf{\textit{DBJoules}}, a tool that measures the energy consumption of activities in database systems. \textit{DBJoules} supports energy measurement of CRUD operations for four popular databases. Through evaluations on two widely-used datasets, we identify disparities of 7\% to 38\% in the energy consumption of these databases. Hence, the goal is to raise developer awareness about the effect of running queries in different databases from an energy consumption perspective, enabling them to select appropriate database for sustainable usage. The tool's demonstration is available at \url{https://youtu.be/D1MTZum0jok} and related artifacts at \url{https://rishalab.github.io/DBJoules/}.
翻译:在现代数据驱动技术的快速发展中,软件依赖大型数据集和持续的数据中心运营,使用各种数据库系统来支持计算密集型任务。随着软件系统能耗问题日益受到关注,从能效角度选择合适的数据库也变得至关重要。为此,我们提出\textbf{\textit{DBJoules}}——一种用于测量数据库系统活动能耗的工具。\textit{DBJoules}支持四种主流数据库的CRUD操作能耗测量。通过对两个广泛使用的数据集的评估,我们发现这些数据库的能耗差异为7%至38%。因此,我们的目标是提升开发者对在不同数据库中执行查询时能耗影响的认识,使其能够选择适合可持续使用的数据库。该工具的演示视频可在\url{https://youtu.be/D1MTZum0jok}获取,相关工件可在\url{https://rishalab.github.io/DBJoules/}获取。