For benchmarking purposes, we used SysBench utility and server with the following configuration:
- Operating System: Debian 10;
- CPU: 2 cores;
- RAM: 4GB;
- MySQL version: 8.0.23
To prepare the database, we ran following command:
sysbench --db-driver=mysql --mysql-user=root --mysql-password='root' --mysql-db=test
--mysql_storage_engine=innodb --table_size=10000000 --tables=2 --threads=2 /usr/share/sysbench/oltp_read_write.lua prepare
After that we ran Releem agent to get the recommended configuration.
We compared performance of MySQL 8 server running under different configurations:
- default
- innodb_dedicated_server
- Recommended configuration by Releem