pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Boes <jboes@nexcerpt.com>
To: pgsql-admin@postgresql.org
Subject: Re: Errors while vacuuming large tables
Date: Tue, 15 Oct 2002 12:38:06 -0400
Message-ID: <aohg72$u9f$1@news.hub.org> (raw)
References: <aoemt6$1c9u$1@news.hub.org>

On Mon, 14 Oct 2002 11:13:46 -0400, Jeff Boes wrote:

> ERROR:  cannot open segment 1 of relation table_D (target block
> 2337538109): No such file or directory
> 
> and for table B:
> 
> NOTICE:  Child itemid in update-chain marked as unused - can't continue
> repair_frag
> ERROR:  cannot open segment 3 of relation pg_toast_51207070 (target
> block 2336096317): No such file or directory
> 

Well, we attempted a VACUUM FULL on these tables again, but got the
dreaded:

NOTICE:  Message from PostgreSQL backend:
        The Postmaster has informed me that some other backend
        died abnormally and possibly corrupted shared memory.
        I have rolled back the current transaction and am
        going to terminate your database system connection and exit.
        Please reconnect to the database system and repeat your query.

We also had two load spikes several hours after this occurred, where the
system was unusable for 5 minutes (this has also happened before).  We
suspect there was some corruption in the indexes.  I did a REINDEX on
each affected table followed by a VACUUM FULL, and this time the VACUUMs
finished without error.  All this may be superstition on my part, but I
report it here in case anyone recognizes the situation, or is as
desperate as I was to correct the problem ...

We are definitely moving to 7.2.3 ASAP, but it will be a week or two
before we can schedule this.


-- 
Jeff Boes                                      vox 616.226.9550 ext 24
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                 http://www.nexcerpt.com
           ...Nexcerpt... Extend your Expertise



view thread (3+ messages)

Message-ID: <aohg72$u9f$1@news.hub.org>
Permalink:  ../aohg72$u9f$1@news.hub.org/
Also on:    postgresql.org/message-id/aohg72$u9f$1@news.hub.org

 · 

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: jboes@nexcerpt.com
  Subject: Re: Errors while vacuuming large tables
  In-Reply-To: <aohg72$u9f$1@news.hub.org>
  References: <aoemt6$1c9u$1@news.hub.org> <aohg72$u9f$1@news.hub.org>

* 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