瀏覽代碼

[MySQL] Slightly more resources

andryyy 5 年之前
父節點
當前提交
8ce639aa25
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      data/conf/mysql/my.cnf

+ 4 - 4
data/conf/mysql/my.cnf

@@ -9,11 +9,11 @@ collation-server               = utf8mb4_unicode_ci
 max_allowed_packet      = 192M
 max_allowed_packet      = 192M
 max-connections         = 350
 max-connections         = 350
 key_buffer_size         = 0
 key_buffer_size         = 0
-read_buffer_size        = 128K
-sort_buffer_size        = 1M
-innodb_buffer_pool_size = 8M
+read_buffer_size        = 192K
+sort_buffer_size        = 2M
+innodb_buffer_pool_size = 24M
 read_rnd_buffer_size    = 256K
 read_rnd_buffer_size    = 256K
-tmp_table_size          = 16M
+tmp_table_size          = 24M
 performance_schema      = 0
 performance_schema      = 0
 innodb-strict-mode      = 0
 innodb-strict-mode      = 0
 thread_cache_size       = 8
 thread_cache_size       = 8