mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-09 19:30:18 +01:00
Updated Innodb variables.
This commit is contained in:
parent
196d97a96c
commit
daa548509d
2 changed files with 11 additions and 0 deletions
|
@ -17,6 +17,12 @@ mysql_slow_query_log_file: /var/log/mysql-slow.log
|
|||
mysql_pid_file: /var/lib/mysql/mysql.pid
|
||||
mysql_slow_query_time: 2
|
||||
mysql_max_allowed_packet: "256M"
|
||||
mysql_innodb_buffer_pool_size: "1G"
|
||||
mysql_innodb_log_buffer_size: "1G"
|
||||
mysql_innodb_log_file_size: "1G"
|
||||
mysql_innodb_flush_log_at_trx_commit: "2"
|
||||
mysql_innodb_file_per_table: 1
|
||||
mysql_innodb_log_buffer_size: "16M"
|
||||
mysql_databases:
|
||||
- name: drupal8db
|
||||
encoding: utf8
|
||||
|
|
|
@ -82,12 +82,17 @@ max_connections = {{ mysql_max_connections }}
|
|||
wait_timeout = {{ mysql_wait_timeout }}
|
||||
|
||||
# InnoDB settings.
|
||||
default-storage-engine = innodb
|
||||
innodb_file_per_table = {{ mysql_innodb_file_per_table }}
|
||||
innodb_buffer_pool_size = {{ mysql_innodb_buffer_pool_size }}
|
||||
innodb_log_file_size = {{ mysql_innodb_log_file_size }}
|
||||
innodb_log_buffer_size = {{ mysql_innodb_log_buffer_size }}
|
||||
innodb_flush_log_at_trx_commit = {{ mysql_innodb_flush_log_at_trx_commit }}
|
||||
innodb_lock_wait_timeout = {{ mysql_innodb_lock_wait_timeout }}
|
||||
innodb_flush_method = O_DIRECT
|
||||
innodb_open_files = 600
|
||||
innodb_additional_mem_pool_size = 8M
|
||||
innodb_thread_concurrency = 0
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
|
|
Loading…
Reference in a new issue