Re: testing HS/SR - 1 vs 2 performance - Mailing list pgsql-hackers

From Robert Haas
Subject Re: testing HS/SR - 1 vs 2 performance
Date
Msg-id s2v603c8f071004210711p6223333fx4c069983a991e0f6@mail.gmail.com
Whole thread Raw
In response to Re: testing HS/SR - 1 vs 2 performance  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Wed, Apr 21, 2010 at 8:20 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> The locking seems overly complex to me.

I tend to agree.

!     /*
!      * Callers must hold either ProcArrayLock in Exclusive mode or
!      * ProcArrayLock in Shared mode *and* known_assigned_xids_lck
!      * to update these values.
!      */

I'm not convinced that this is either (a) correct or (b) performant.

...Robert


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: testing HS/SR - 1 vs 2 performance
Next
From: Simon Riggs
Date:
Subject: Re: testing HS/SR - 1 vs 2 performance