Browse Source

innodb_flush_log_at_trx_commit = 2

INADA Naoki 11 years ago
parent
commit
b4e0d7ca51
1 changed files with 2 additions and 0 deletions
  1. 2 0
      config/my.cnf

+ 2 - 0
config/my.cnf

@@ -63,6 +63,8 @@ table_definition_cache  = 800
 max_heap_table_size     = 128M
 tmp_table_size          = 128M
 innodb_use_native_aio   = 1
+# sync for every sec. not for every commit.
+innodb_flush_log_at_trx_commit = 2
 
 #
 # * Query Cache Configuration