Skip to content

Commit

Permalink
NGX-726: Configure and enable query cache
Browse files Browse the repository at this point in the history
  • Loading branch information
combssm committed Jul 17, 2023
1 parent 11efd8e commit 91f5c27
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/etc/my.cnf.d/qcache.cnf.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# {{ ansible_managed }}
# Query Cache options


[mysqld]
query_alloc_block_size = {{ mysql_query_alloc_block_size }}
query_cache_limit = {{ mysql_query_cache_limit }}
query_cache_min_res_unit = {{ mysql_query_cache_min_res_unit }}
query_cache_size = {{ mysql_query_cache_size }}
query_cache_strip_comments = {{ mysql_query_cache_strip_comments }}
query_cache_type = {{ mysql_query_cache_type }}
query_cache_wlock_invalidate = {{ mysql_query_cache_wlock_invalidate }}
query_prealloc_size = {{ mysql_query_prealloc_size }}

0 comments on commit 91f5c27

Please sign in to comment.