Skip to content

Commit 2450a28

Browse files
authored
Merge pull request geerlingguy#148 from initlabopen/master
Add new parameters
2 parents e3862f2 + 211a3d5 commit 2450a28

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ mysql_read_rnd_buffer_size: "4M"
4444
mysql_myisam_sort_buffer_size: "64M"
4545
mysql_thread_cache_size: "8"
4646
mysql_query_cache_size: "16M"
47+
mysql_query_cache_limit: "1M"
4748
mysql_max_connections: "151"
49+
mysql_tmp_table_size: "16M"
50+
mysql_max_heap_table_size: "16M"
4851

4952
# Other settings.
5053
mysql_lower_case_table_names: "0"

templates/my.cnf.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ read_rnd_buffer_size = {{ mysql_read_rnd_buffer_size }}
7777
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 }}
80+
query_cache_limit = {{ mysql_query_cache_limit }}
8081
max_connections = {{ mysql_max_connections }}
82+
tmp_table_size = {{ mysql_tmp_table_size }}
83+
max_heap_table_size = {{ mysql_max_heap_table_size }}
8184

8285
# Other settings.
8386
wait_timeout = {{ mysql_wait_timeout }}
@@ -108,4 +111,3 @@ pid-file = {{ mysql_pid_file }}
108111
#
109112
!includedir {{ mysql_config_include_dir }}
110113
{% endif %}
111-

0 commit comments

Comments
 (0)