CheckPoint刷写脏页

1、CreateCheckPoint调用函数CheckPointGuts将共享内存中所有的脏页刷到磁盘。脏页除表和索引页外还包括XACT、pg_commit_ts、pg_subtrans、pg_multixact、pg_replslot等相关页。这些页的open、write方式不经过smgropen,即不使用数组smgrsw[]通过reln->smgr_which来指定表使用哪种IO方式,虽然当前
相关文章
相关标签/搜索