Skip to content

Commit

Permalink
fix: Improve galera performance
Browse files Browse the repository at this point in the history
These changes were proposed by one of our DBAs to help cope with
DBDeadlocks. They seem to have helped reduce occurrences.
  • Loading branch information
LukeRepko committed May 10, 2024
1 parent 15b4bf1 commit f747582
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kustomize/mariadb-cluster/base/mariadb-galera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,18 @@ spec:
performance_schema=ON
innodb_log_buffer_size=33554432
wsrep_slave_threads=144
wsrep_sync_wait=14
wsrep_sync_wait=0
innodb_flush_log_at_trx_commit=0
ignore-db-dir=lost+found
skip-name-resolve
innodb_buffer_pool_size=1024M
innodb_buffer_pool_size=4G
innodb_doublewrite=0
innodb_file_format=Barracuda
innodb_file_per_table=1
innodb_flush_method=O_DIRECT
innodb_io_capacity=500
innodb_locks_unsafe_for_binlog=1
innodb_log_file_size=128M
innodb_log_file_size=1G
innodb_old_blocks_time=1000
innodb_read_io_threads=8
innodb_write_io_threads=8
Expand Down

0 comments on commit f747582

Please sign in to comment.