Towards Energy Efficient Databases
DBJoules measures the energy consumption of queries written in various databases. This tool can be serves as a valuable resource for developers and practitioners seeking to develop energy-aware application.
- Windows Operating System
- Have Python, MySQL, PostgreSQL, MongoDB, Couchbase installed in your system.
- It is recommended to download couchbase-server of version 7.0.2
- Clone the repository: '''git clone https://github.com/rishalab/DBJoules.git'''
- Run "setup.py" file to install necessary dependencies: '''python setup.py'''
- Run "stop_background_processes.py" file to stop all the currently running background processes '''python stop_background_processes.py'''
- Command to start the tool '''python main_app.py'''
- Measuring energy consumption due to query execution in four databases: MySQL, PostgreSQL, MongoDB, Couchbase.
- Comparing energy consumption among these databases.