From 1f536fee87c2d4b31068846a0a7197f1f584c256 Mon Sep 17 00:00:00 2001 From: Pete Birley Date: Wed, 3 May 2017 13:42:48 -0500 Subject: [PATCH] MariaDB: Log and buffer pool default size reduction This PS reduces the default log and buffer size. Change-Id: If789064424bfbaba7a427f9bbfe6f3a64e954fdf Closes-Bug: #1688058 --- mariadb/templates/etc/_tuning.cnf.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mariadb/templates/etc/_tuning.cnf.tpl b/mariadb/templates/etc/_tuning.cnf.tpl index 52022373c7..2edaa24a4b 100644 --- a/mariadb/templates/etc/_tuning.cnf.tpl +++ b/mariadb/templates/etc/_tuning.cnf.tpl @@ -42,8 +42,8 @@ table_definition_cache=1024 # will ensure you use memory and not disks for most read operations. # Typical values are 50..75% of available RAM. # TODO(tomasz.paszkowski): This needs to by dynamic based on avaliable RAM. -innodb_buffer_pool_size=4096M -innodb_log_file_size=2000M +innodb_buffer_pool_size=1024M +innodb_log_file_size=200M innodb_flush_method=O_DIRECT innodb_flush_log_at_trx_commit=2 innodb_old_blocks_time=1000