innodb_flush_log_at_trx_commit

Controls the balance between strict ACID compliance for commit operations and higher performance that is possible when commit-related I/O operations are rearranged and done in batches. You can achieve better performance by changing the default value but then you can lose transactions in a crash.

控制二者的平衡--提交操作遵守严格ACID特性和相关提交操作被重新排列并分批完成的高性能的可能性。您可以通过更改默认值来获得更好的性能,但是在崩溃时可能会丢失事务。

• The default setting of 1 is required for full ACID compliance. Logs are written and flushed to disk at each transaction commit.

默认值是1,完成遵守ACID特性。每次事务提交时,日志都会写入并刷新到磁盘。

• With a setting of 0, logs are written and flushed to disk once per second. Transactions for which
logs have not been flushed can be lost in a crash.

设置为0时,日志每秒写入并刷新到磁盘一次。未刷新日志的事务可能会在崩溃中丢失。

• With a setting of 2, logs are written after each transaction commit and flushed to disk once per
second. Transactions for which logs have no

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值