Adding tunning variable dbMaxAllowedPacket

This commit is contained in:
Philippe Caseiro 2018-06-21 10:47:27 +02:00
parent 8f5aaff1de
commit ff2d131d63
2 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,9 @@
<variable name="dbAutoOptimizeAndRepare" type="oui/non" description="Activer l'autoréparation et optimisation de toutes les bases de données"> <variable name="dbAutoOptimizeAndRepare" type="oui/non" description="Activer l'autoréparation et optimisation de toutes les bases de données">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="dbMaxAllowedPacket" type='number' description="Taille maximum d'un paquet (en Mo)">
<value>32</value>
</variable>
</family> </family>
<family name="Database Cluster"> <family name="Database Cluster">

View File

@ -15,6 +15,7 @@ query_cache_size = %%getVar('dbQueryCacheSize')
tmp_table_size = %%dbTmpTableSize tmp_table_size = %%dbTmpTableSize
max_heap_table_size = %%dbTmpTableSize max_heap_table_size = %%dbTmpTableSize
max_allowed_packet = %%dbMaxAllowedPacket
%if %%dbEnableSlowQueryLogs == "oui" %if %%dbEnableSlowQueryLogs == "oui"
slow-query-log = 1 slow-query-log = 1