Re: MVCC, undo log, and HOT

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: MVCC, undo log, and HOT
Date: 2007-10-23 04:43:49
Message-ID: 471D7C05.1020504@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> Josh Berkus wrote:
>
>> Bruce,
>>
>>
>>> We never actually considred undo, but high UPDATE activity was one of
>>> the areas we historically handled poorly compared to undo systems, and
>>> undo would have been one way to improve that area. I think with HOT we
>>> have improved high UPDATE activity enough that the undo benefits are no
>>> longer attractive (and of course the undo disadvantages were never
>>> attractive).
>>>
>>>
>> If you're asking if we should remove the TODO (is there one?) and
>> replace it with a FAQ item called "Why PostgreSQL doesn't have an UNDO
>> LOG", then my vote is "yes".
>>
>
> No, it never got close to being a TODO item. It was more a limitation
> we had that is now fixed.
>

HOT is cool, but it really doesn't solve the whole problem. It works for
a significant class of problems, but for example it won't have any
significant effect on the app I'm currently working on which is very
index-rich. It would be a major mistake to think there's no work left to
do in improving update performance.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-10-23 05:01:59 Re: Feature Freeze date for 8.4
Previous Message Bruce Momjian 2007-10-23 04:12:18 Re: MVCC, undo log, and HOT