Просмотр исходного кода

Update table_open_cache for small instances to 10.

Raphael Schneeberger 7 лет назад
Родитель
Сommit
7c5708abff

+ 1 - 1
install/debian/8/mysql/my-small.cnf

@@ -21,7 +21,7 @@ symbolic-links=0
 skip-external-locking
 key_buffer_size = 16K
 max_allowed_packet = 1M
-table_open_cache = 4
+table_open_cache = 10
 sort_buffer_size = 64K
 read_buffer_size = 256K
 read_rnd_buffer_size = 256K

+ 1 - 1
install/debian/9/mysql/my-small.cnf

@@ -21,7 +21,7 @@ symbolic-links=0
 skip-external-locking
 key_buffer_size = 16K
 max_allowed_packet = 1M
-table_open_cache = 4
+table_open_cache = 10
 sort_buffer_size = 64K
 read_buffer_size = 256K
 read_rnd_buffer_size = 256K

+ 1 - 1
install/ubuntu/14.04/mysql/my-small.cnf

@@ -21,7 +21,7 @@ symbolic-links=0
 skip-external-locking
 key_buffer_size = 16K
 max_allowed_packet = 1M
-table_open_cache = 4
+table_open_cache = 10
 sort_buffer_size = 64K
 read_buffer_size = 256K
 read_rnd_buffer_size = 256K

+ 1 - 1
install/ubuntu/16.04/mysql/my-small.cnf

@@ -21,7 +21,7 @@ symbolic-links=0
 skip-external-locking
 key_buffer_size = 16K
 max_allowed_packet = 1M
-table_open_cache = 4
+table_open_cache = 10
 sort_buffer_size = 64K
 read_buffer_size = 256K
 read_rnd_buffer_size = 256K

+ 1 - 1
install/ubuntu/18.04/mysql/my-small.cnf

@@ -21,7 +21,7 @@ symbolic-links=0
 skip-external-locking
 key_buffer_size = 16K
 max_allowed_packet = 1M
-table_open_cache = 4
+table_open_cache = 10
 sort_buffer_size = 64K
 read_buffer_size = 256K
 read_rnd_buffer_size = 256K