updated mariadb state
This commit is contained in:
parent
639c84332e
commit
8c4e177980
@ -2,7 +2,7 @@
|
||||
{%- from "mariadb/map.jinja" import mariadb with context %}
|
||||
mariadb-config:
|
||||
file.managed:
|
||||
- name: /etc/mysql/mariadb.conf.d/server.cnf
|
||||
- name: /etc/mysql/mariadb.conf.d/51-server.cnf
|
||||
- source: salt://mariadb/server.cnf.j2
|
||||
- user: root
|
||||
- group: root
|
||||
|
@ -10,11 +10,12 @@ mariadb:
|
||||
mysqld:
|
||||
name: mysqld
|
||||
options:
|
||||
bind_address: 0.0.0.0
|
||||
binlog_format: ROW
|
||||
bulk_insert_buffer_size: 16M
|
||||
expire_logs_days: 10
|
||||
expire_logs_days: 7
|
||||
event_scheduler: 'ON'
|
||||
innodb_buffer_pool_size: 256M
|
||||
innodb_buffer_pool_size: 512M
|
||||
innodb_file_per_table: 1
|
||||
innodb_flush_method: O_DIRECT
|
||||
innodb_io_capacity: 400
|
||||
@ -23,17 +24,18 @@ mariadb:
|
||||
key_buffer_size: 128M
|
||||
log_slow_verbosity: query_plan
|
||||
log_warnings: 2
|
||||
log-bin: localhost
|
||||
log_bin: localhost
|
||||
log_slave_updates: 1
|
||||
long_query_time: 10
|
||||
max_allowed_packet: 16M
|
||||
max_binlog_size: 100M
|
||||
max_connections: 20
|
||||
max_heap_table_size: 32M
|
||||
max_heap_table_size: 64M
|
||||
query_cache_limit: 128K
|
||||
query_cache_size: 64M
|
||||
read_buffer_size: 2M
|
||||
read_buffer_size: 40M
|
||||
read_rnd_buffer_size: 1M
|
||||
server-id: 9999
|
||||
server_id: 9999
|
||||
slow_query_log_file: /var/log/mysql/mariadb-slow.log
|
||||
sort_buffer_size: 8M
|
||||
table_open_cache: 400
|
||||
|
Loading…
Reference in New Issue
Block a user