diff --git a/dicos/25_bdd_server.xml b/dicos/25_bdd_server.xml index 52be345..8e966ff 100644 --- a/dicos/25_bdd_server.xml +++ b/dicos/25_bdd_server.xml @@ -44,6 +44,10 @@ Default + + + 128 + diff --git a/tmpl/tunning.cnf b/tmpl/tunning.cnf index fc0d5e1..1eafe79 100644 --- a/tmpl/tunning.cnf +++ b/tmpl/tunning.cnf @@ -8,9 +8,9 @@ thread_cache_size=%%dbThreadCacheSize %if %%dbCacheQueryEnable == 'oui' query_cache_type = 1 -query_cache_limit = %%dbQueryCacheLimit -query_cache_min_res_unit = %%dbQueryCacheMinResUint -query_cache_size = %%dbQueryCacheSize +query_cache_limit = %%getVar('dbQueryCacheLimit') +query_cache_min_res_unit = %%getVar('dbQueryCacheMinResUint') +query_cache_size = %%getVar('dbQueryCacheSize') %end if tmp_table_size = %%dbTmpTableSize @@ -18,8 +18,8 @@ max_heap_table_size = %%dbTmpTableSize %if %%dbEnableSlowQueryLogs == "oui" slow-query-log = 1 -slow-query-log-file = %%dbSlowQueryLogFile -long_query_time = %%dbSlowQueryLogTime +slow-query-log-file = %%getVar('dbSlowQueryLogFile') +long_query_time = %%getVar('dbSlowQueryLogTime') %end if wait_timeout = %%dbWaitTimeout