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

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Introduce compact WAL record for the common case of commit (non-
Date: 2011-06-28 21:59:00
Message-ID: E1QbgJA-0006no-4t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2011-06-29 06:29:17 pgsql: Unify spelling of "canceled", "canceling", "cancellation"
Previous Message Alvaro Herrera 2011-06-28 21:18:37 pgsql: Remove rel.h from objectaddress.h; only relcache.h is necessary.