Instructions for configuring MariaDB and MySQL performance :-
-
File Modification:
- Open the
/etc/mysql/mariadb.cnf
ormy.cnf
file (note thatmy.cnf
is a soft link tomariadb.cnf
). - Add the following configuration options:
# Provider specific configuration options wsrep_provider_options="gcache.size=1024M;gmcast.segment=0;gcache.recover=yes"
- Open the