pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jim@nasby.net>
To: Mike Goldner <mgoldner@agmednet.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum Problems (locking)
Date: Thu, 26 Oct 2006 16:37:21 -0500
Message-ID: <20061026213721.GJ26892@nasby.net> (raw)
In-Reply-To: <1161806429.2095.157.camel@localhost.localdomain>
References: <1161806057.2095.154.camel@localhost.localdomain>
	<1161806429.2095.157.camel@localhost.localdomain>

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)



view thread (6+ messages)

Message-ID: <20061026213721.GJ26892@nasby.net>
Permalink:  ../20061026213721.GJ26892@nasby.net/
Also on:    postgresql.org/message-id/20061026213721.GJ26892@nasby.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jim@nasby.net, mgoldner@agmednet.com
  Subject: Re: Vacuum Problems (locking)
  In-Reply-To: <20061026213721.GJ26892@nasby.net>
  References: <1161806057.2095.154.camel@localhost.localdomain> <1161806429.2095.157.camel@localhost.localdomain> <20061026213721.GJ26892@nasby.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox