[MySQL] Some tweaks to lower RAM consumption, thanks to @Thomas2500

master
andryyy 2019-11-21 19:41:50 +01:00
parent d6af0ae7d6
commit 79bcbe5a51
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 8 additions and 6 deletions

View File

@ -7,16 +7,18 @@ collation-server = utf8mb4_unicode_ci
#innodb_large_prefix = TRUE
#sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
max_allowed_packet = 192M
max-connections = 500
max-connections = 350
key_buffer_size = 0
read_buffer_size = 128K
sort_buffer_size = 1M
innodb_buffer_pool_size = 8M
read_rnd_buffer_size = 256K
tmp_table_size = 16M
performance_schema = 0
innodb-strict-mode = 0
innodb_buffer_pool_size = 128M
key_buffer_size = 24M
thread_cache_size = 8
query_cache_type = 0
query_cache_size = 0
sort_buffer_size = 16M
read_rnd_buffer_size = 2M
tmp_table_size = 48M
max_heap_table_size = 48M
thread_stack = 128K
skip-host-cache