From df43532999093f3a8bb3dfc2aa26eefb6421cc81 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Mon, 7 Aug 2023 16:01:59 +0200 Subject: [PATCH] updated mariadb state --- states/mariadb/defaults.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/states/mariadb/defaults.yaml b/states/mariadb/defaults.yaml index 3786cf1..d86c143 100644 --- a/states/mariadb/defaults.yaml +++ b/states/mariadb/defaults.yaml @@ -30,7 +30,7 @@ mariadb: innodb_log_buffer_size: 8M innodb_log_file_size: 64M innodb_open_files: 100 - key_buffer_size: 128M + key_buffer_size: 64M log_slow_verbosity: query_plan log_warnings: 2 log_bin: localhost @@ -38,12 +38,12 @@ mariadb: long_query_time: 10 max_allowed_packet: 16M max_binlog_size: 50M - max_connections: 20 + max_connections: 10 max_heap_table_size: 64M performance_schema: 'ON' query_cache_limit: 512K - query_cache_size: 64M - read_buffer_size: 40M + query_cache_size: 32M + read_buffer_size: 20M read_rnd_buffer_size: 1M server_id: 9999 slow_query_log_file: /var/log/mysql/mariadb-slow.log