Adding tunning options for InnoDBLogBufferSize and InnoDBLogFileSize
This commit is contained in:
parent
e80180bd04
commit
24552b6ccc
|
@ -58,6 +58,12 @@
|
||||||
<variable name="dbInnoDBBufferPoolPercentage" type="number" description="Pourcentage de mémoire à dédier à MariaDB">
|
<variable name="dbInnoDBBufferPoolPercentage" type="number" description="Pourcentage de mémoire à dédier à MariaDB">
|
||||||
<value>20</value>
|
<value>20</value>
|
||||||
</variable>
|
</variable>
|
||||||
|
<variable name="dbInnoDBLogBufferSize" type='number' description="Taille du tampon utilisé pour écrire les fichiers de transaction innodb sur le disque (en Mo)">
|
||||||
|
<value>8</value>
|
||||||
|
</variable>
|
||||||
|
<variable name='dbInnoDBLogFileSize' type='number' description="Taille des fichiers de transaction InnoDB">
|
||||||
|
<value>6</value>
|
||||||
|
</variable>
|
||||||
<variable name="dbMaxConnections" type="number" description="Nombre de connection maximum pour le serveur de bases de données (max_connections)">
|
<variable name="dbMaxConnections" type="number" description="Nombre de connection maximum pour le serveur de bases de données (max_connections)">
|
||||||
<value>100</value>
|
<value>100</value>
|
||||||
</variable>
|
</variable>
|
||||||
|
|
|
@ -3,6 +3,9 @@ innodb_file_per_table=1
|
||||||
skip-name-resolve
|
skip-name-resolve
|
||||||
|
|
||||||
innodb_buffer_pool_size=%%getMemoryPercentage(%%getVar('dbInnoDBBufferPoolPercentage', 10))
|
innodb_buffer_pool_size=%%getMemoryPercentage(%%getVar('dbInnoDBBufferPoolPercentage', 10))
|
||||||
|
innodb_log_buffer_size=%%{dbInnoDBLogBufferSize}M
|
||||||
|
innodb_log_file_size=%%{dbInnoDBLogFileSize}M
|
||||||
|
|
||||||
max_connections=%%dbMaxConnections
|
max_connections=%%dbMaxConnections
|
||||||
thread_cache_size=%%dbThreadCacheSize
|
thread_cache_size=%%dbThreadCacheSize
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue