From 04ae2fadefb43a785b508e113eadba35dfe43a87 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 6 Nov 2019 20:12:25 +0100 Subject: [PATCH] [MySQL] Reduce memory usage --- data/conf/mysql/my.cnf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/conf/mysql/my.cnf b/data/conf/mysql/my.cnf index ee3211d3..8df5483a 100644 --- a/data/conf/mysql/my.cnf +++ b/data/conf/mysql/my.cnf @@ -10,6 +10,12 @@ max_allowed_packet = 192M max-connections = 500 performance_schema = 0 innodb-strict-mode = 0 +innodb_buffer_pool_size = 96M +key_buffer = 16M +thread_cache_size = 8 +query_cache_size = 8M +query_cache_limit = 512K +thread_stack = 128K skip-host-cache skip-name-resolve log-warnings = 0