pgsql: Rearrange storage of data in xl_running_xacts. - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Rearrange storage of data in xl_running_xacts.
Date
Msg-id E1TfFX0-0003vx-9f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rearrange storage of data in xl_running_xacts.
Previously we stored all xids mixed together.
Now we store top-level xids first, followed
by all subxids. Also skip logging any subxids
if the snapshot is suboverflowed, since there
are potentially large numbers of them and they
are not useful in that case anyway. Has value
in the envisaged design for decoding of WAL.
No planned effect on Hot Standby.

Andres Freund, reviewed by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5c11725867ac3cb06db065f7940143114280649c

Modified Files
--------------
src/backend/access/transam/xlog.c   |    2 +
src/backend/storage/ipc/procarray.c |   65 +++++++++++++++++++++++------------
src/backend/storage/ipc/standby.c   |    8 +++--
src/include/storage/standby.h       |    2 +
4 files changed, 52 insertions(+), 25 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: XidEpoch++ if wraparound during checkpoint.
Next
From: Tom Lane
Date:
Subject: pgsql: Don't advance checkPoint.nextXid near the end of a checkpoint se