详解mysql数据库double write原理、性能影响及相关参数

概述【详解mysql数据库double write原理、性能影响及相关参数】今天主要介绍下MySQL一个崩溃恢复很重要的特性--double write.

The doublewrite buffer is a storage area located in the system tablespace where InnoDB writes pages that are flushed from the InnoDB buffer pool, before the pages are written to their proper positions in the data file. Only after flushing and writing pages to the doublewrite buffer, does InnoDB write pages to their proper positions. If there is an operating system, storage subsystem, or mysqld process crash in the middle of a page write, InnoDB can later find a good copy of the page from the doublewrite buffer during crash recovery.


    推荐阅读