Re: Possible DB corruption - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Possible DB corruption
Date
Msg-id 20070528221414.GA65888@winnie.fuhr.org
Whole thread Raw
In response to Possible DB corruption  (Justin M Wozniak <jwozniak@cse.nd.edu>)
Responses Re: Possible DB corruption
List pgsql-general
On Fri, May 25, 2007 at 04:47:52PM -0400, Justin M Wozniak wrote:
>     We noticed that some records were mysteriously disappearing from
> our DB.  I went in with psql and found that the \dt command no longer
> works, providing the output below.  Is this a sure sign of DB corruption?
> Running psql (PostgreSQL) 7.4.8 on Linux 2.4.27.

You might be suffering from transaction ID wraparound.  Are you
vacuuming regularly?

http://www.postgresql.org/docs/7.4/interactive/maintenance.html#VACUUM-FOR-WRAPAROUND

"...every table in the database must be vacuumed at least once every
billion transactions."

--
Michael Fuhr

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Possible DB corruption
Next
From: Michael Fuhr
Date:
Subject: Re: Possible DB corruption