From 7b0eaf0361f37a1bacc7073156e65646d5240830 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Feb 2023 13:48:24 +0100 Subject: [PATCH] updated mariadb state --- states/mariadb/defaults.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/states/mariadb/defaults.yaml b/states/mariadb/defaults.yaml index 4127737..d95e449 100644 --- a/states/mariadb/defaults.yaml +++ b/states/mariadb/defaults.yaml @@ -15,12 +15,13 @@ mariadb: bulk_insert_buffer_size: 16M expire_logs_days: 7 event_scheduler: 'ON' - innodb_buffer_pool_size: 512M + innodb_buffer_pool_size: 1024M innodb_file_per_table: 1 innodb_flush_method: O_DIRECT - innodb_io_capacity: 400 + innodb_io_capacity: 200 innodb_log_buffer_size: 8M - innodb_open_files: 400 + innodb_log_file_size: 64M + innodb_open_files: 100 key_buffer_size: 128M log_slow_verbosity: query_plan log_warnings: 2 @@ -31,7 +32,8 @@ mariadb: max_binlog_size: 100M max_connections: 20 max_heap_table_size: 64M - query_cache_limit: 128K + performance_schema: 'ON' + query_cache_limit: 512K query_cache_size: 64M read_buffer_size: 40M read_rnd_buffer_size: 1M