pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Palle Girgensohn <girgen@partitur.se>
To: pgsql-admin@postgresql.org
Subject: strange vacuum problem fixed by itself after one day???
Date: Wed, 20 Sep 2000 14:00:14 +0200
Message-ID: <39C8A6CE.9B85B1F9@partitur.se> (raw)

Hi!

Here's a strange thing:

Automatic vacuum failed this night, and so did the pg_dump.

Here's what happened when trying to vacuum today:

db=# vacuum verbose;
...
NOTICE:  --Relation personer--
NOTICE:  Pages 155: Changed 0, reaped 6, Empty 0, New 0; Tup
6004: Vac 1, Keep/VTL 0/0, Crash 0, UnUsed 10, MinLen 132,
MaxLen 332; Re-using: Free/Avail. Space 8980/516;
EndEmpty/Avail. Pages 1/3. CPU 0.01s/0.43u sec.
NOTICE:  Index personer_personid_fname_idx: Pages 44; Tuples
6004: Deleted 0. CPU 0.00s/0.01u sec.
NOTICE:  Index personer_personid_index: Pages 30; Tuples 6004:
Deleted 0. CPU 0.00s/0.00u sec.
NOTICE:  Index personer_fnamn_idx: Pages 34; Tuples 6004:
Deleted 0. CPU 0.00s/0.00u sec.
NOTICE:  Rel personer: Pages: 155 --> 154; Tuple(s) moved: 0.
CPU 0.00s/0.00u sec.
NOTICE:  FlushRelationBuffers(personer, 154): block 153 is
referenced (private 0, global 2)
FATAL 1:  VACUUM (vc_repair_frag): FlushRelationBuffers
returned -2
pqReadData() -- backend closed the channel unexpectedly.
        This probably means the backend terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset:
Succeeded.


I tried several times, to no avail. So, I sat down and began
writing this mail, and for reference, I did a vacuum analyze
again, and whaow, it just worked:

NOTICE:  --Relation personer--
NOTICE:  Pages 155: Changed 1, reaped 6, Empty 0, New 0; Tup
6005: Vac 1, Keep/VTL 0/0, Crash 0, UnUsed 10, MinLen 132,
MaxLen 332; Re-using: Free/Avail. Space 8788/700;
EndEmpty/Avail. Pages 0/4. CPU 0.02s/0.42u sec.
NOTICE:  Index personer_personid_fname_idx: Pages 44; Tuples
6005: Deleted 0. CPU 0.00s/0.01u sec.
NOTICE:  Index personer_personid_index: Pages 30; Tuples 6005:
Deleted 0. CPU 0.00s/0.01u sec.
NOTICE:  Index personer_fnamn_idx: Pages 34; Tuples 6005:
Deleted 0. CPU 0.00s/0.01u sec.
NOTICE:  Rel personer: Pages: 155 --> 155; Tuple(s) moved: 0.
CPU 0.00s/0.00u sec.


How come? It was broken for more than half a day, and I did try
multiple verbose [analyze]. 


FreeBSD 4.1-STABLE Tue Sep 12 20:48:53 CEST 2000 
PostgreSQL 7.0.2 on i386-unknown-freebsdelf4.0, compiled by cc

/Palle

-- 
         Partitur Informationsteknik AB    
Wenner-Gren Center             +46 8 566 280 02  
113 46 Stockholm	       +46 70 785 86 02  
Sweden			       girgen@partitur.se



Message-ID: <39C8A6CE.9B85B1F9@partitur.se>
Permalink:  ../39C8A6CE.9B85B1F9@partitur.se/
Also on:    postgresql.org/message-id/39C8A6CE.9B85B1F9@partitur.se

 · 

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: girgen@partitur.se
  Subject: Re: strange vacuum problem fixed by itself after one day???
  In-Reply-To: <39C8A6CE.9B85B1F9@partitur.se>
  References: <39C8A6CE.9B85B1F9@partitur.se>

* 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