14.4.13.1 Group Commit for Redo Log Flushing

InnoDB, like any other ACID-compliant database engine, flushes the redo log of a transaction before it is committed. InnoDB uses group commit functionality to group multiple such flush requests together to avoid one flush for each commit. With group commit, InnoDB issues a single write to the log file to perform the commit action for multiple user transactions that commit at about the same time, significantly improving throughput.
innodb像其他的ACID标准数据库引擎一样,在事务提交之前会刷新重做日志,InnoDB 使用group commit 功能将多个这样的刷新请求组合在一起, 以避免每次提交时都刷新一次。通过group commit ,InnoDB向日志文件发出一次写入操作,以便为大约同时提交的多个用户事务执行提交操作,从而显着提高吞吐量。
For more information about performance of COMMIT and other transactional operations, see Section 8.5.2, “Optimizing InnoDB Transaction Management”.
有关 COMMIT 和其他事务性操作的性能的详细信息,请看Section 8.5.2, “Optimizing InnoDB Transaction Management”.

PREV:14.4.13 Redo Log https://blog.51cto.com/itzhoujun/2353749

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章