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

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