mirror of
https://github.com/MariaDB/server.git
synced 2025-02-09 23:24:11 +01:00
![Marko Mäkelä](/assets/img/avatar_default.png)
Historically, InnoDB split the redo log into at least 2 files. MDEV-12061 allowed the minimum to be innodb_log_files_in_group=1, but it kept the default at innodb_log_files_in_group=2. Because performance seems to be slightly better with only one log file, and because implementing an append-only variant of the log would require a single file, let us define the default to be 1, and have innodb_log_file_size=96M, to retain the same default total size.
9 lines
298 B
INI
9 lines
298 B
INI
!include ../galera_2nodes.cnf
|
|
|
|
[mysqld.1]
|
|
innodb_log_file_size=220M
|
|
wsrep_provider_options='base_port=@mysqld.1.#galera_port;gcache.recover=yes;pc.ignore_sb=true;'
|
|
|
|
[mysqld.2]
|
|
innodb_log_file_size=220M
|
|
wsrep_provider_options='base_port=@mysqld.2.#galera_port;gcache.recover=yes;pc.ignore_sb=true;'
|