Re: Vacuum Problems (locking) - Mailing list pgsql-admin

From Jim C. Nasby
Subject Re: Vacuum Problems (locking)
Date
Msg-id 20061026213721.GJ26892@nasby.net
Whole thread Raw
In response to Re: Vacuum Problems (locking)  (Mike Goldner <mgoldner@agmednet.com>)
List pgsql-admin
On Wed, Oct 25, 2006 at 04:00:29PM -0400, Mike Goldner wrote:
> I just noticed that my nightly vacuum failed the previous three nights
> with the following error:
>
> [2032-jbossdb-postgres-2006-10-24 04:12:30.019 EDT]ERROR:  failed to re-
> find parent key in "jms_messages_pkey"
> [2032-jbossdb-postgres-2006-10-24 04:12:30.019 EDT]STATEMENT:  VACUUM
> ANALYZE;
>
> I'm not sure if it is related, but it seems pertinent.

Well, vacuuming a lot of databases once a day is bad enough. Not
vacuuming for 3 days...

IIRC you can fix that issue by reindexing jms_messages_pkey.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

pgsql-admin by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: CLUSTER using more memory than expected
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Backing Up Partial Databases