Re: WIP patch for latestCompletedXid method of computing snapshot xmax - Mailing list pgsql-patches

From Tom Lane
Subject Re: WIP patch for latestCompletedXid method of computing snapshot xmax
Date
Msg-id 4084.1189218343@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP patch for latestCompletedXid method of computing snapshot xmax  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: WIP patch for latestCompletedXid method of computing snapshot xmax  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-patches
Gregory Stark <stark@enterprisedb.com> writes:
> "Tom Lane" <tgl@sss.pgh.pa.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.

Yeah, I was hoping to get some benchmarks before deciding whether it's
worth the risk of pushing this into 8.3.  I'm off trying pgbench now,
but if anyone wants to try something more serious like DBT2 ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: HOT patch - version 15
Next
From: Simon Riggs
Date:
Subject: Re: HOT patch - version 15