Просмотр исходного кода

innodb_flush_log_at_trx_commit = 2

INADA Naoki 11 лет назад
Родитель
Сommit
b4e0d7ca51
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      config/my.cnf

+ 2 - 0
config/my.cnf

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