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:
parent
8ee52143fc
commit
57a83cef26
@ -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:
|
||||||
|
@ -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
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user