Re: reducing the overhead of frequent table locks - now, with WIP patch

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: reducing the overhead of frequent table locks - now, with WIP patch
Date: 2011-06-06 14:49:25
Message-ID: BANLkTikizW2KXnYAfboRjQW4PyD4XtariA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 6, 2011 at 11:19 AM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> On 06.06.2011 12:40, Simon Riggs wrote:
>>
>> On Sat, Jun 4, 2011 at 5:55 PM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us>  wrote:
>>>
>>> Simon Riggs<simon(at)2ndquadrant(dot)com>  writes:
>>>>
>>>> The approach looks sound to me. It's a fairly isolated patch and we
>>>> should be considering this for inclusion in 9.1, not wait another
>>>> year.
>>>
>>> That suggestion is completely insane.  The patch is only WIP and full of
>>> bugs, even according to its author.  Even if it were solid, it is way
>>> too late to be pushing such stuff into 9.1.  We're trying to ship a
>>> release, not find ways to cause it to slip more.
>>
>> In 8.3, you implemented virtual transactionids days before we produced
>> a Release Candidate, against my recommendation.
>
> FWIW, this bottleneck was not introduced by the introduction of virtual
> transaction ids. Before that patch, we just took the lock on the real
> transaction id instead.

Of course it wasn't. You've misunderstood completely.

My point was that we have in the past implemented performance changes
to increase scalability at the last minute, and also that our personal
risk perspectives are not always set in stone.

Robert has highlighted the value of this change and its clearly not
beyond our wit to include it, even if it is beyond our will to do so.

>> The fact that you disagree with me does not make me insane.
>
> You are not insane, even if your suggestion is.

LOL. Your logic is still poor though. :-)

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nick Raj 2011-06-06 15:00:25 Different execution time for same plan
Previous Message Tom Lane 2011-06-06 14:13:26 Re: BLOB support