2018-04-11 17:00:18 +02:00
|
|
|
[mysqld]
|
|
|
|
innodb_file_per_table=1
|
|
|
|
skip-name-resolve
|
|
|
|
|
|
|
|
innodb_buffer_pool_size=%%getMemoryPercentage(%%getVar('dbInnoDBBufferPoolPercentage', 10))
|
|
|
|
max_connections=%%dbMaxConnections
|
|
|
|
thread_cache_size=%%dbThreadCacheSize
|
|
|
|
|
|
|
|
%if %%dbCacheQueryEnable == 'oui'
|
|
|
|
query_cache_type = 1
|
2018-04-11 17:17:09 +02:00
|
|
|
query_cache_limit = %%getVar('dbQueryCacheLimit')
|
2018-05-22 16:39:20 +02:00
|
|
|
query_cache_min_res_unit = %%getVar('dbQueryCacheMinRestUnit')
|
2018-04-11 17:17:09 +02:00
|
|
|
query_cache_size = %%getVar('dbQueryCacheSize')
|
2018-04-11 17:00:18 +02:00
|
|
|
%end if
|
|
|
|
|
|
|
|
tmp_table_size = %%dbTmpTableSize
|
|
|
|
max_heap_table_size = %%dbTmpTableSize
|
2018-06-21 11:04:14 +02:00
|
|
|
max_allowed_packet = %%{dbMaxAllowedPacket}M
|
2018-04-11 17:00:18 +02:00
|
|
|
|
2018-06-21 15:27:37 +02:00
|
|
|
wait_timeout = %%dbWaitTimeout
|
2018-06-21 13:32:37 +02:00
|
|
|
interactive_timeout = %%{dbInteractiveTimeout}
|
|
|
|
|
2018-04-11 17:00:18 +02:00
|
|
|
%if %%dbEnableSlowQueryLogs == "oui"
|
|
|
|
slow-query-log = 1
|
2018-04-11 17:17:09 +02:00
|
|
|
slow-query-log-file = %%getVar('dbSlowQueryLogFile')
|
|
|
|
long_query_time = %%getVar('dbSlowQueryLogTime')
|
2018-04-11 17:00:18 +02:00
|
|
|
%end if
|
|
|
|
|
|
|
|
|