forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit728bd99
committed
Speedup 2PC recovery by skipping two phase state files in normal path
2PC state info held in shmem at PREPARE, then cleaned at COMMIT PREPARED/ABORT PREPARED,avoiding writing/fsyncing any state information to disk in the normal path, greatly enhancing replay speed.Prepared transactions that live past one checkpoint redo horizon will be written to disk as now.Similar conceptually to978b2f6 and building uponthe infrastructure created by that commit.Authors, in equal measure: Stas Kelvich, Nikhil Sontakke and Michael PaquierDiscussion:https://postgr.es/m/CAMGcDxf8Bn9ZPBBJZba9wiyQq-Qk5uqq=VjoMnRnW5s+fKST3w@mail.gmail.com1 parent60a0b2e commit728bd99
File tree
4 files changed
+550
-306
lines changed- src
- backend/access/transam
- include/access
4 files changed
+550
-306
lines changed0 commit comments
Comments
(0)