pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Joerdens <frank@x9media.com>
To: Thomas Good <tomg@admin.nrnet.org>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] vacuum fails
Date: Fri, 27 Aug 1999 19:56:52 +0200
Message-ID: <19990827195651.A18372@shark.x9media.com> (raw)
In-Reply-To: <Pine.LNX.3.96.990827130127.30754A-100000@admin.nrnet.org>
References: <37C6BD4C.E81C0B21@x9media.com>
	<Pine.LNX.3.96.990827130127.30754A-100000@admin.nrnet.org>

yep. restarting the server does the trick!

cheers

frank


On Fri, Aug 27, 1999 at 01:03:34PM -0400, Thomas Good wrote:
> On Fri, 27 Aug 1999, Frank Joerdens wrote:
> 
> > vacuum fails with the following error:
> > 
> > NOTICE:  Rel beruf: Pages 18: Changed 0, Reapped 18, Empty 0, New 0; Tup
> > 900: Vac 565, Crash 0, UnUsed 441, MinLen 60, .
> > NOTICE:  Ind idx_b: Pages 17; Tuples 900: Deleted 0. Elapsed 0/0 sec.
> > NOTICE:  Rel beruf: Pages: 18 --> 10.
> > NOTICE:  BlowawayRelationBuffers(beruf, 10): block 11 is referenced
> > (private 0, last 0, global 1)
> > FATAL 1:  VACUUM (vc_vacheap): BlowawayRelationBuffers returned -2
> > 
> > what exactly does that mean? how do you recover from this? would i lose
> > data if i dump the data from this table and recreate it?
> > 
> > thanks
> > 
> > frank
> 
> Frank - 
> 
> That is what I did and it was fine.  But Vadim told me later
> that all I really had to do was shutdown the server, restart it and
> re-vacuum.  You might try that first (you may also have to rm the
> pesky pg_vlock in the ../data/base/whatever directory.
> 
> BlowawayRelationBuffers sounds ominous doesn't it?  It turned out
> not to be so bad in my case!
> 
> Cheers,
> Tom
> 
> 
> ------- North Richmond Community Mental Health Center -------
> 
> Thomas Good                                   MIS Coordinator
> Vital Signs:                  tomg@ { admin | q8 } .nrnet.org
>                                           Phone: 718-354-5528  
>                                           Fax:   718-354-5056  
>                               
> /* Member: Computer Professionals For Social Responsibility */ 



view thread (3+ messages)

Message-ID: <19990827195651.A18372@shark.x9media.com>
Permalink:  ../19990827195651.A18372@shark.x9media.com/
Also on:    postgresql.org/message-id/19990827195651.A18372@shark.x9media.com

 · 

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-sql@postgresql.org
  Cc: frank@x9media.com, tomg@admin.nrnet.org
  Subject: Re: [SQL] vacuum fails
  In-Reply-To: <19990827195651.A18372@shark.x9media.com>
  References: <37C6BD4C.E81C0B21@x9media.com> <Pine.LNX.3.96.990827130127.30754A-100000@admin.nrnet.org> <19990827195651.A18372@shark.x9media.com>

* 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