Instructions for configuring MariaDB and MySQL performance :-
-
File Modification:
- Open the
/etc/mysql/mariadb.cnformy.cnffile (note thatmy.cnfis 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