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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-12-02 20:21:11 | pgsql: Don't advance checkPoint.nextXid near the end of a checkpoint se |
Previous Message | Simon Riggs | 2012-12-02 15:03:00 | pgsql: XidEpoch++ if wraparound during checkpoint. |