diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2017-04-04 15:56:56 -0400 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2017-04-04 15:56:56 -0400 |
commit | 728bd991c3c4389fb39c45dcb0fe57e4a1dccd71 (patch) | |
tree | 75e41ea8472f46bf36c18e57778bbb8da57027fe /src/backend/utils/adt/network_gist.c | |
parent | 60a0b2ec8943451186dfa22907f88334d97cb2e0 (diff) | |
download | postgresql-728bd991c3c4389fb39c45dcb0fe57e4a1dccd71.tar.gz postgresql-728bd991c3c4389fb39c45dcb0fe57e4a1dccd71.zip |
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 to 978b2f65aa1262eb4ecbf8b3785cb1b9cf4db78e and building upon
the infrastructure created by that commit.
Authors, in equal measure: Stas Kelvich, Nikhil Sontakke and Michael Paquier
Discussion: https://postgr.es/m/CAMGcDxf8Bn9ZPBBJZba9wiyQq-Qk5uqq=VjoMnRnW5s+fKST3w@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/network_gist.c')
0 files changed, 0 insertions, 0 deletions