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