Re: Freezing is not WAL-logged - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: Freezing is not WAL-logged
Date
Msg-id 20061019192204.GC16965@alvh.no-ip.org
Whole thread Raw
In response to Re: Freezing is not WAL-logged  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Freezing is not WAL-logged  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
List pgsql-bugs
Tom Lane wrote:
> "Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> > I just noticed that freezing a tuple (in vacuumlazy.c) is not
> > WAL-logged.
>
> The theory is that this doesn't matter because the tuple is committed
> either way ... it's equivalent to a hint-bit update which we don't
> WAL-log either.

Also it'd be hugely expensive to log each freeze operation.  The
alternative would be to log a VACUUM FREEZE, but that has the potential
to cause enormous recovery runtime.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Freezing is not WAL-logged
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: Freezing is not WAL-logged