Browse Source

[MySQL] Reduce memory usage

andryyy 5 years ago
parent
commit
04ae2fadef
1 changed files with 6 additions and 0 deletions
  1. 6 0
      data/conf/mysql/my.cnf

+ 6 - 0
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