paulbsd-salt/states/mariadb/defaults.yaml
2020-07-10 00:58:55 +02:00

42 lines
1.1 KiB
YAML

---
mariadb:
enabled: true
connection_user: root
connection_pass: password
connection_conv: None
databases: {}
users: {}
config:
mysqld:
name: mysqld
options:
binlog_format: ROW
bulk_insert_buffer_size: 16M
expire_logs_days: 10
event_scheduler: 'ON'
innodb_buffer_pool_size: 256M
innodb_file_per_table: 1
innodb_flush_method: O_DIRECT
innodb_io_capacity: 400
innodb_log_buffer_size: 8M
innodb_open_files: 400
key_buffer_size: 128M
log_slow_verbosity: query_plan
log_warnings: 2
log-bin: localhost
long_query_time: 10
max_allowed_packet: 16M
max_binlog_size: 100M
max_connections: 20
max_heap_table_size: 32M
query_cache_limit: 128K
query_cache_size: 64M
read_buffer_size: 2M
read_rnd_buffer_size: 1M
server-id: 9999
slow_query_log_file: /var/log/mysql/mariadb-slow.log
sort_buffer_size: 8M
table_open_cache: 400
thread_cache_size: 128
tmp_table_size: 32M
wait_timeout: 600