CheckPoint刷寫髒頁

1、CreateCheckPoint調用函數CheckPointGuts將共享內存中所有的髒頁刷到磁盤。髒頁除表和索引頁外還包括XACT、pg_commit_ts、pg_subtrans、pg_multixact、pg_replslot等相關頁。這些頁的open、write方式不經過smgropen,即不使用數組smgrsw[]通過reln->smgr_which來指定表使用哪種IO方式,雖然當前
相關文章
相關標籤/搜索