Re: Subtransaction commits and Hot Standby

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Subtransaction commits and Hot Standby
Date: 2008-09-18 14:59:19
Message-ID: 1221749959.3913.2451.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


On Tue, 2008-09-16 at 10:11 -0400, Alvaro Herrera wrote:

> I wonder if the improved clog API required to mark multiple
> transactions as committed at once would be also useful to
> TransactionIdCommitTree which is used in regular transaction commit.

I've hacked together this concept patch (WIP).

Not fully tested yet, but it gives a flavour of the API rearrangements
required for atomic clog updates. It passes make check, but that's not
saying enough for a serious review yet. I expect to pick this up again
next week.

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

Attachment Content-Type Size
atomic_subxids.v3.patch text/x-patch 26.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-09-18 15:06:54 Re: optimizing CleanupTempFiles
Previous Message Magnus Hagander 2008-09-18 14:51:31 Re: Do we really need a 7.4.22 release now?

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Chernow 2008-09-19 13:15:28 Re: [PATCHES] libpq events patch (with sgml docs)
Previous Message Simon Riggs 2008-09-18 14:24:55 Re: [PATCHES] Infrastructure changes for recovery