paulbsd-salt/states/mariadb/defaults.yaml
2023-05-17 13:20:04 +02:00

46 lines
1.2 KiB
YAML

---
mariadb:
enabled: true
connection_user: root
connection_pass: password
connection_conv: None
databases: {}
users: {}
config:
mysqld:
options:
bind_address: 0.0.0.0
binlog_format: ROW
bulk_insert_buffer_size: 16M
expire_logs_days: 7
event_scheduler: 'ON'
innodb_buffer_pool_size: 1024M
innodb_file_per_table: 1
innodb_flush_method: O_DIRECT
innodb_io_capacity: 200
innodb_log_buffer_size: 8M
innodb_log_file_size: 64M
innodb_open_files: 100
key_buffer_size: 128M
log_slow_verbosity: query_plan
log_warnings: 2
log_bin: localhost
log_slave_updates: 1
long_query_time: 10
max_allowed_packet: 16M
max_binlog_size: 50M
max_connections: 20
max_heap_table_size: 64M
performance_schema: 'ON'
query_cache_limit: 512K
query_cache_size: 64M
read_buffer_size: 40M
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