瀏覽代碼

Merge branch 'mysql-fastcommit' of http://github.com/methane/FrameworkBenchmarks into 886

James Yen 11 年之前
父節點
當前提交
b4a5553a90
共有 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
 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