Recently I had the discussion with one of my colleague about the impact of MySQL binary logs . It was a nice discussion and triggered me further to benchmark the MySQL with/without binary logs . The result is amazing
Server configuration :
- 4 CPU
- 8 GB RAM
- 100 GB SSD
MySQL version : 8.0.19
I have conducted the test with a bulk transaction . It is a single thread INSERT with 9.5 GB of data .
Test 1 – With binary log :
screen 1 :
from the screen 1, I had split my terminal to three screens .
1st screen : I have triggered the bulk INSERT
2nd screen : The INSERT has started to execute and in executing state .
3rd screen : You can see the individual table-space file ( .ibd ) keep growing ( 5.6 GB ) on …
[Read more]