Re: Vacuum Problems (locking)

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: Mike Goldner <mgoldner(at)agmednet(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Vacuum Problems (locking)
Date: 2006-10-26 21:37:21
Message-ID: 20061026213721.GJ26892@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2006-10-26 21:40:01 Re: Backing Up Partial Databases
Previous Message Jim C. Nasby 2006-10-26 21:33:18 Re: CLUSTER using more memory than expected