Energy consumption of Database Management - Florina Jonuzi.pdf
georgmolz1
18 views
18 slides
Jun 07, 2024
Slide 1 of 18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
About This Presentation
Energy consumption of Database Management - Florina Jonuzi - slides from meetup Green Software Development Manifesto, Jun6 2024
Size: 1.87 MB
Language: en
Added: Jun 07, 2024
Slides: 18 pages
Slide Content
INTERNAL
Energy consumptionofDatabase Management
Systems
Florina Jonuzi
INTERNAL
Agenda
1.Relevanceoftheresearch
2.Research questions
3.Methodology
4.Results
5.Conclusionand outlook
people.code.commitment.
INTERNAL
Problem description
Currentchallenge
energyconsumptionin data
centresisincreasing
DBMSs are a core
component of data
centres
Lack of methods for
determining the energy
requirements of DBMS
Relevanceoftheresearchtopic
INTERNAL
Objectives
Measurement of energy consumption and energy efficiency of
different DBMS under different load scenarios
Decisionsupportforenergy-efficientdatabasesolutions
Promotion of development strategies for optimisation
Relevance of the research topic
INTERNAL
Research questions
Which methods and tools are suitable for measuring the energy requirements of database
systems?
Are there significant differences between relational database management systems and
non-relational database management systems in terms of their energy requirements?
How do different load scenarios influence the energy requirements of different database
systems?
Can the energy requirements of database systems be reduced or improved through
approaches such as indexing, caching and optimised queries?
INTERNAL
Methodology – experimental setup
Figure 13: Experimental setup for measuring the YCSB (based on the measurement
setup at Trier University of Applied Sciences) [1]
Figure 14: trial
INTERNAL
Results – index optimization
Figure 11: Index optimizationMariaDB
Figure 12: Index optimizationMongoDB
Table 13: withoutIndex Table 14: withIndex
INTERNAL
Answering the research questions
1.Whichmethodsandtoolsaresuitableformeasuringtheenergy
requirementsofdatabasesystems?
→Various benchmark tools (YCSB, TPC, Sysbench, ...) that analyse the
performance of database systems under various load scenarios
→several methods to measure energy consumption
→different measurement methods to measure consumption (e.g.
using external measuring devices such as Shelly Plug, software-
based methods such as Powertop)
2. Are there significant differences between relational database
management systems and non-relational database management
systems in terms of their energy consumption?
→ Significant discrepancies between SQL and NoSQL
INTERNAL
Answering the research questions
3.How do different load scenarios (e.g. predominantly read access,
predominantly write access, etc.) influence the energy requirements of
different database systems?
→ Different load scenarios have different influences on energy
requirements for both database systems
4.Can the energy requirements of database systems be reduced or
improved through approaches such as indexing, caching and
optimised queries?
→ Energy efficiency is significantly promoted by optimizing queries
using an index
→ Analyses have shown that both MariaDB and MongoDB save
considerable energy with an index.
INTERNAL
Conclusion and outlook
•Energy consumption
varies
•MongoDB moreenergy
efficientwhenreading
& creatingdata
•MariaDBmoreenergy-
efficientforcomplex
queries
Findings
•Approach to
selecting
benchmark
•Shelly plugreal time
data
•Hardware factor:
HDD harddrive
•Noconsiderationof
multi-user access
•Selectionofa
benchmark
•Executionon a
different OS
•Use ofcooling
systemsorfans
Challenges Outlook