Re: Disappearing Records - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Disappearing Records
Date
Msg-id 20051102114750.GC19550@svana.org
Whole thread Raw
In response to Re: Disappearing Records  ("Venki" <Venki@insoft.com>)
List pgsql-general
On Wed, Nov 02, 2005 at 05:00:35PM +0530, Venki wrote:
> >The really nasty thing about it is that because the records are now
> >considered really old, as soon as you do run VACUUM it'll start
> >removing the rows you want to save...

> So does this mean that when we do a vacuum for the first time there will
> still be data loss or Am I wrong in this?

VACUUM cannot recover data from transaction wraparound. But we havn't
even determined if this has happened as you have not yet posted the
output of this query:

SELECT datname, age(datfrozenxid) FROM pg_database;

Have a ncie day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: "Venki"
Date:
Subject: Re: Disappearing Records
Next
From: Carlos Benkendorf
Date:
Subject: Replicating databases