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

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)  latest in thread

Message-ID: <Pine.LNX.3.96.990827130127.30754A-100000@admin.nrnet.org>
Permalink:  ../Pine.LNX.3.96.990827130127.30754A-100000@admin.nrnet.org/
Also on:    postgresql.org/message-id/Pine.LNX.3.96.990827130127.30754A-100000@admin.nrnet.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-sql@postgresql.org
  Cc: tomg@admin.nrnet.org, frank@x9media.com
  Subject: Re: [SQL] vacuum fails
  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>

* 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