https://dfarq.homeip.net/limit-cpu-usage-in-mariadb/
Limit CPU usage in MariaDB