Re: WIP patch for latestCompletedXid method of computing snapshot xmax

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: WIP patch for latestCompletedXid method of computing snapshot xmax
Date: 2007-09-08 02:25:43
Message-ID: 4084.1189218343@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> "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.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-08 02:31:07 apparent tsearch breakage on 64-bit machines
Previous Message Decibel! 2007-09-08 02:05:12 Re: [FEATURE REQUEST] Streaming Onlinebackup (Maybe OFFTOPIC)

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2007-09-08 06:24:45 Re: HOT patch - version 15
Previous Message Bruce Momjian 2007-09-08 02:08:37 Re: HOT patch - version 15