Adding tunning options for wait_timeout and interactive_timeout
This commit is contained in:
parent
afa791cd21
commit
de695a0aff
|
@ -97,6 +97,12 @@
|
|||
<variable name="dbMaxAllowedPacket" type='number' description="Taille maximum d'un paquet (en Mo)">
|
||||
<value>32</value>
|
||||
</variable>
|
||||
<variable name='dbWaitTimeout' type='number' description="Nombre de secondes d'attente avant de fermer la connection">
|
||||
<value>28800</value>
|
||||
</variable>
|
||||
<variable name='dbInteractiveTimeout' type='number' description="Nombre de secondes d'attente avant de fermer la connection en mode interactif">
|
||||
<value>28800</value>
|
||||
</variable>
|
||||
</family>
|
||||
|
||||
<family name="Database Cluster">
|
||||
|
|
|
@ -17,6 +17,9 @@ tmp_table_size = %%dbTmpTableSize
|
|||
max_heap_table_size = %%dbTmpTableSize
|
||||
max_allowed_packet = %%{dbMaxAllowedPacket}M
|
||||
|
||||
wait_timeout = %%{dbWaitTimeout}
|
||||
interactive_timeout = %%{dbInteractiveTimeout}
|
||||
|
||||
%if %%dbEnableSlowQueryLogs == "oui"
|
||||
slow-query-log = 1
|
||||
slow-query-log-file = %%getVar('dbSlowQueryLogFile')
|
||||
|
|
Loading…
Reference in New Issue