Skip site navigation (1) Skip section navigation (2)

pgsql: Rearrange storage of data in xl_running_xacts.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rearrange storage of data in xl_running_xacts.
Date: 2012-12-02 19:48:50
Message-ID: E1TfFX0-0003vx-9f@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2012-12-02 20:21:11
Subject: pgsql: Don't advance checkPoint.nextXid near the end of a checkpointse
Previous:From: Simon RiggsDate: 2012-12-02 15:03:00
Subject: pgsql: XidEpoch++ if wraparound during checkpoint.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group