OSDN Git Service

Introduce compact WAL record for the common case of commit (non-DDL).
authorSimon Riggs <simon@2ndQuadrant.com>
Tue, 28 Jun 2011 21:58:17 +0000 (22:58 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Tue, 28 Jun 2011 21:58:17 +0000 (22:58 +0100)
commit465883b0a2b4236ba6b31b648a9eabef3b7cdddb
tree830d1e0365e02b4a9fa897eb1a084b36f342e428
parent6f3efa76b042cdc457dba5bf8d8257f3ae83fb10
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
src/backend/access/transam/xact.c
src/backend/access/transam/xlog.c
src/include/access/xact.h
src/include/access/xlog_internal.h