Re: WIP patch for latestCompletedXid method of computing snapshot xmax

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-patches(at)postgreSQL(dot)org>
Subject: Re: WIP patch for latestCompletedXid method of computing snapshot xmax
Date: 2007-09-08 01:48:26
Message-ID: 878x7i0vx1.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> This patch implements Florian's idea about how to manage snapshot xmax
> without the ugly and performance-losing tactic of taking XidGenLock and
> ProcArrayLock at the same time. I had to do a couple of slightly klugy
> things to get bootstrap and prepared transactions to work, but on the
> whole it seems at least as clean as the code we have now. Comments?

Just that it will be fascinating to see what effects this has on the
benchmarks.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Decibel! 2007-09-08 02:02:14 Re: Follow-Up to A Silly Idea for Vertically-Oriented Databases
Previous Message Tom Lane 2007-09-08 01:43:28 Re: equivilant to contrib "tsearch" trigger function in 8.3

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-09-08 01:56:12 Re: HOT patch - version 15
Previous Message Tom Lane 2007-09-08 01:26:51 WIP patch for latestCompletedXid method of computing snapshot xmax