ecometer

Disable MySQL and MariaDB binary logs

(Hosting)
#83

The MySQL and MariaDB server binary logs can become very large, consuming CPU power while also generating I/O for the hard drive, as each modification/removal request is registered in the log file. You can thus save a large amount of resources by disabling these logs.

For MySQL, put the following as a comment in the my.cnf file (or equivalent):

# log-bin
# expire_logs_days = 10
This best practice should only be applied if it is coherent with your project's specifications.
Under CC-By-NX-SA license