roles/mariadb: Tweak temp table size

mysqltuner.pl said:

    When making adjustments, make tmp_table_size/max_heap_table_size equal
This commit is contained in:
Alan Orth 2020-12-29 11:10:31 +02:00
parent 8ee52143fc
commit 57a83cef26
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 6 additions and 2 deletions

View File

@ -27,4 +27,8 @@ max_connections: 33
query_cache_size: 0 query_cache_size: 0
query_cache_type: 0 query_cache_type: 0
# mysqltuner says we should use larger than 32M on our setup
tmp_table_size: 64M
max_heap_table_size: 64M
# vim: set ts=2 sw=2: # vim: set ts=2 sw=2:

View File

@ -57,8 +57,8 @@ max_allowed_packet = 16M
thread_cache_size = 128 thread_cache_size = 128
sort_buffer_size = 4M sort_buffer_size = 4M
bulk_insert_buffer_size = 16M bulk_insert_buffer_size = 16M
tmp_table_size = 32M tmp_table_size = {{ tmp_table_size }}
max_heap_table_size = 32M max_heap_table_size = {{ max_heap_table_size }}
# #
# * MyISAM # * MyISAM
# #