Skip to content

Commit

Permalink
disable query_cache with mariadb 10.1 default installs
Browse files Browse the repository at this point in the history
updated mariadb mysql /etc/my.cnf templates to disable query_cache by default for better performance when using innodb
  • Loading branch information
centminmod committed Mar 22, 2016
1 parent cad4609 commit f632c91
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/mysql/my-mdb10-16gb.cnf
Expand Up @@ -48,7 +48,7 @@ read_rnd_buffer_size = 512K
bulk_insert_buffer_size = 8M
query_cache_limit = 512K
query_cache_size = 64M
query_cache_type = 1
query_cache_type = 0
query_cache_min_res_unit = 2K
query_prealloc_size = 262144
query_alloc_block_size = 65536
Expand Down
2 changes: 1 addition & 1 deletion config/mysql/my-mdb10-32gb.cnf
Expand Up @@ -48,7 +48,7 @@ read_rnd_buffer_size = 512K
bulk_insert_buffer_size = 8M
query_cache_limit = 512K
query_cache_size = 64M
query_cache_type = 1
query_cache_type = 0
query_cache_min_res_unit = 2K
query_prealloc_size = 262144
query_alloc_block_size = 65536
Expand Down
2 changes: 1 addition & 1 deletion config/mysql/my-mdb10-4gb.cnf
Expand Up @@ -48,7 +48,7 @@ read_rnd_buffer_size = 512K
bulk_insert_buffer_size = 8M
query_cache_limit = 512K
query_cache_size = 64M
query_cache_type = 1
query_cache_type = 0
query_cache_min_res_unit = 2K
query_prealloc_size = 262144
query_alloc_block_size = 65536
Expand Down
2 changes: 1 addition & 1 deletion config/mysql/my-mdb10-64gb-8c.cnf
Expand Up @@ -48,7 +48,7 @@ read_rnd_buffer_size = 512K
bulk_insert_buffer_size = 8M
query_cache_limit = 512K
query_cache_size = 64M
query_cache_type = 1
query_cache_type = 0
query_cache_min_res_unit = 2K
query_prealloc_size = 262144
query_alloc_block_size = 65536
Expand Down
2 changes: 1 addition & 1 deletion config/mysql/my-mdb10-64gb.cnf
Expand Up @@ -48,7 +48,7 @@ read_rnd_buffer_size = 512K
bulk_insert_buffer_size = 8M
query_cache_limit = 512K
query_cache_size = 64M
query_cache_type = 1
query_cache_type = 0
query_cache_min_res_unit = 2K
query_prealloc_size = 262144
query_alloc_block_size = 65536
Expand Down
2 changes: 1 addition & 1 deletion config/mysql/my-mdb10-8gb.cnf
Expand Up @@ -48,7 +48,7 @@ read_rnd_buffer_size = 512K
bulk_insert_buffer_size = 8M
query_cache_limit = 512K
query_cache_size = 64M
query_cache_type = 1
query_cache_type = 0
query_cache_min_res_unit = 2K
query_prealloc_size = 262144
query_alloc_block_size = 65536
Expand Down
2 changes: 1 addition & 1 deletion config/mysql/my-mdb10-min.cnf
Expand Up @@ -48,7 +48,7 @@ read_rnd_buffer_size = 256K
bulk_insert_buffer_size = 8M
query_cache_limit = 512K
query_cache_size = 16M
query_cache_type = 1
query_cache_type = 0
query_cache_min_res_unit = 2K
query_prealloc_size = 262144
query_alloc_block_size = 65536
Expand Down
2 changes: 1 addition & 1 deletion config/mysql/my-mdb10.cnf
Expand Up @@ -48,7 +48,7 @@ read_rnd_buffer_size = 256K
bulk_insert_buffer_size = 8M
query_cache_limit = 512K
query_cache_size = 16M
query_cache_type = 1
query_cache_type = 0
query_cache_min_res_unit = 2K
query_prealloc_size = 262144
query_alloc_block_size = 65536
Expand Down

0 comments on commit f632c91

Please sign in to comment.