Re: UNDO and in-place update - Mailing list pgsql-hackers

From Albe Laurenz
Subject Re: UNDO and in-place update
Date
Msg-id A737B7A37273E048B164557ADEF4A58B5399B056@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to UNDO and in-place update  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas wrote:
> To implement this in PostgreSQL, I believe we would need support for
> UNDO.

> - Reading a page that has been recently modified gets significantly
> more expensive; it is necessary to read the associated UNDO entries
> and do a bunch of calculation that is significantly more complex than
> what is required today.

As others have said, that is the main drawback.

Also, and related to this, ROLLBACK would become an expensive operation.

Yours,
Laurenz Albe

pgsql-hackers by date:

Previous
From: "Karl O. Pinc"
Date:
Subject: Re: Patch to implement pg_current_logfile() function
Next
From: Michael Paquier
Date:
Subject: Re: [RFC] Should we fix postmaster to avoid slow shutdown?