Introduce compact WAL record for the common case of commit (non-DDL).
Simon Riggs <simon@2ndQuadrant.com>
Introduce compact WAL record for the common case of commit (non-DDL). XLOG_XACT_COMMIT_COMPACT leaves out invalidation messages and relfilenodes, saving considerable space for the vast majority of transaction commits. XLOG_XACT_COMMIT keeps same definition as XLOG_PAGE_MAGIC 0xD067 and earlier. Leonardo Francalanci and Simon Riggs
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xact.c | modified | +169 −76 |
| src/backend/access/transam/xlog.c | modified | +9 −2 |
| src/include/access/xact.h | modified | +13 −2 |
| src/include/access/xlog_internal.h | modified | +1 −1 |