Обсуждение: pgsql: Introduce compact WAL record for the common case of commit (non-

Поиск
Список
Период
Сортировка

pgsql: Introduce compact WAL record for the common case of commit (non-

От
Simon Riggs
Дата:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/465883b0a2b4236ba6b31b648a9eabef3b7cdddb

Modified Files
--------------
src/backend/access/transam/xact.c  |  245 +++++++++++++++++++++++++-----------
src/backend/access/transam/xlog.c  |   11 ++-
src/include/access/xact.h          |   15 ++-
src/include/access/xlog_internal.h |    2 +-
4 files changed, 192 insertions(+), 81 deletions(-)