Add performance configuration for InnoDB

Added following setting to my.cnf/server.cnf
innodb_buffer_pool_size = 20% of available memory
innodb_flush_method = O_DIRECT
innodb_file_per_table = 1

Change-Id: I392720b3dff860ec1e1416657d7517e7a7041849
Fixes: rhbz#1078999
This commit is contained in:
Martin Magr
2014-04-01 14:56:13 +02:00
committed by Lukas Bezdicka
parent 4a33c3ff1d
commit fa002b8e36
5 changed files with 67 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
[mysqld]
innodb_buffer_pool_size = <%= @buffer_pool_size %>M
innodb_log_file_size = <%= @log_file_size %>M
innodb_flush_method = O_DIRECT
innodb_file_per_table = 1