postgresql/src/backend/access
Simon Riggs 978b2f65aa Speedup 2PC by skipping two phase state files in normal path
2PC state info is written only to WAL at PREPARE, then read back from WAL at
COMMIT PREPARED/ABORT PREPARED. Prepared transactions that live past one bufmgr
checkpoint cycle will be written to disk in the same form as previously. Crash
recovery path is not altered. Measured performance gains of 50-100% for short
2PC transactions by completely avoiding writing files and fsyncing. Other
optimizations still available, further patches in related areas expected.

Stas Kelvich and heavily edited by Simon Riggs

Based upon earlier ideas and patches by Michael Paquier and Heikki Linnakangas,
a concrete example of how Postgres-XC has fed back ideas into PostgreSQL.

Reviewed by Michael Paquier, Jeff Janes and Andres Freund
Performance testing by Jesper Pedersen
2016-01-20 18:40:44 -08:00
..
brin Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
common Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
gin Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
gist Fix assorted inconsistencies in GiST opclass support function declarations. 2016-01-19 12:04:36 -05:00
hash Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
heap Update copyright for 2016 2016-01-02 13:33:40 -05:00
index Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
nbtree Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
rmgrdesc Revoke change to rmgr desc of btree vacuum 2016-01-09 18:31:08 +00:00
spgist Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
tablesample Update copyright for 2016 2016-01-02 13:33:40 -05:00
transam Speedup 2PC by skipping two phase state files in normal path 2016-01-20 18:40:44 -08:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00