Skip to content

Commit 743eb43

Browse files
author
drupaladmin
committed
Added parameters:
mysql_tmp_table_size mysql_max_heap_table_size
1 parent 332aae6 commit 743eb43

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ mysql_myisam_sort_buffer_size: "64M"
4545
mysql_thread_cache_size: "8"
4646
mysql_query_cache_size: "16M"
4747
mysql_max_connections: "151"
48+
mysql_tmp_table_size: "16M"
49+
mysql_max_heap_table_size: "16M"
4850

4951
# Other settings.
5052
mysql_lower_case_table_names: "0"

templates/my.cnf.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ myisam_sort_buffer_size = {{ mysql_myisam_sort_buffer_size }}
7878
thread_cache_size = {{ mysql_thread_cache_size }}
7979
query_cache_size = {{ mysql_query_cache_size }}
8080
max_connections = {{ mysql_max_connections }}
81+
tmp_table_size = {{ mysql_tmp_table_size }}
82+
max_heap_table_size = {{ max_heap_table_size }}
8183

8284
# Other settings.
8385
wait_timeout = {{ mysql_wait_timeout }}
@@ -108,4 +110,3 @@ pid-file = {{ mysql_pid_file }}
108110
#
109111
!includedir {{ mysql_config_include_dir }}
110112
{% endif %}
111-

0 commit comments

Comments
 (0)