Re: Corrupt database? 8.1/FreeBSD6.0 - Mailing list pgsql-general

From Jeff Amiel
Subject Re: Corrupt database? 8.1/FreeBSD6.0
Date
Msg-id 20070112122805.20949.qmail@web60812.mail.yahoo.com
Whole thread Raw
In response to Re: Corrupt database? 8.1/FreeBSD6.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Corrupt database? 8.1/FreeBSD6.0  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general

Tom Lane <tgl@sss.pgh.pa.us> wrote:
So apparently there's some row in template0 that didn't get marked
committed before the pg_clog segment for it went away. Given 8.1's
rather schizophrenic view of whether it can modify template0 or not,
this is not too surprising, but I thought we'd put in some defense
against this happening. Alvaro?

Jeff, had you changed your autovac settings recently? Given that
autovac seems to be trying to hit template0 every few minutes, it's
hard to see how the tuple got missed for long enough to be a problem.



Sure enough I did make autovacuum more agressive about 30-45 days ago (have to check the logs to find the exact date).  Was originally whatever default settings that came out of the box with 8.1.  Naptime is currently set to 60 seconds.

Am I to assume that this probably isn't the result of some operating system or filesystem misfeasance and that corrupt data in my 'real' databases is probably not an issue?


Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel
to find your fit.

pgsql-general by date:

Previous
From: Artis Caune
Date:
Subject: Re: plpgsql and arrays
Next
From: Richard Huxton
Date:
Subject: Re: plpgsql and arrays