File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,10 @@ mysql_max_connections: 151
48
48
# Other settings.
49
49
mysql_wait_timeout : 28800
50
50
51
- # Try number of CPU's * 2 for thread_concurrency.
52
- mysql_thread_concurrency : 2
53
-
54
51
# InnoDB settings.
55
52
# Set .._buffer_pool_size up to 80% of RAM but beware of setting too high.
56
53
mysql_innodb_file_per_table : " 1"
57
54
mysql_innodb_buffer_pool_size : " 256M"
58
- mysql_innodb_additional_mem_pool_size : " 20M"
59
55
# Set .._log_file_size to 25% of buffer pool size.
60
56
mysql_innodb_log_file_size : " 64M"
61
57
mysql_innodb_log_buffer_size : " 8M"
Original file line number Diff line number Diff line change 42
42
mode : 0644
43
43
when : mysql_slow_query_log_enabled
44
44
45
+ - name : Create error log file (if configured).
46
+ shell : " touch {{ mysql_log_error }} creates={{ mysql_log_error }}"
47
+ when : mysql_log == "" and mysql_log_error != ""
48
+
49
+ - name : Set ownership on error log file (if configured).
50
+ file :
51
+ path : " {{ mysql_log_error }}"
52
+ state : file
53
+ owner : mysql
54
+ group : mysql
55
+ mode : 0644
56
+ when : mysql_slow_query_log_enabled
57
+
45
58
- name : Ensure MySQL is started and enabled on boot.
46
59
service : " name={{ mysql_daemon }} state=started enabled={{ mysql_enabled_on_startup }}"
47
60
register : mysql_service_configuration
Original file line number Diff line number Diff line change @@ -78,13 +78,9 @@ max_connections = {{ mysql_max_connections }}
78
78
# Other settings.
79
79
wait_timeout = {{ mysql_wait_timeout }}
80
80
81
- # Try number of CPU's * 2 for thread_concurrency.
82
- thread_concurrency = {{ mysql_thread_concurrency }}
83
-
84
81
# InnoDB settings.
85
82
innodb_file_per_table = {{ mysql_innodb_file_per_table }}
86
83
innodb_buffer_pool_size = {{ mysql_innodb_buffer_pool_size }}
87
- innodb_additional_mem_pool_size = {{ mysql_innodb_additional_mem_pool_size }}
88
84
innodb_log_file_size = {{ mysql_innodb_log_file_size }}
89
85
innodb_log_buffer_size = {{ mysql_innodb_log_buffer_size }}
90
86
innodb_flush_log_at_trx_commit = {{ mysql_innodb_flush_log_at_trx_commit }}
You can’t perform that action at this time.
0 commit comments