Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id KAA19481 for postgres-redist; Wed, 7 Dec 1994 10:49:56 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199412071849.KAA19481@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from swan.cl.cam.ac.uk (pp@swan.cl.cam.ac.uk [128.232.0.56]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id KAA19471 for <postgres@postgres.berkeley.edu>; Wed, 7 Dec 1994 10:49:55 -0800
Received: from ouse.cl.cam.ac.uk (user gjn1001 (rfc931)) by swan.cl.cam.ac.uk 
          with SMTP (PP-6.5) to cl; Wed, 7 Dec 1994 18:48:00 +0000
To: postgres@postgres.Berkeley.EDU
Subject: vacuum compaction
Date: Wed, 07 Dec 1994 18:47:55 +0000
From: Giles Nelson <Giles.Nelson@cl.cam.ac.uk>
Message-ID: <"swan.cl.cam.:267290:941207184809"@cl.cam.ac.uk>
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Wed, 07 Dec 94 10:49:56 -0800
Resent-XMts: smtp

Dear all.

The footnote on page 66 of the POSTGRES manual supplied with V4.2 states
that the vacuum command does not perform any compaction or clustering of data.
The UNIX files therefore never shrink.

POSTGRES does support time travel of course, but this facility can be removed
with the use of "archive=none" specified when creating a class. Tuples in such
a class are accessible after deletion through time travel functions until both
the class is `purge'd and the the database `vacuum'ed. They are then
permanently deleted.

However from the above statement and the size of my database files such tuples
are not actually removed.

This is a problem for me, as I have a rapid update rate. Most queries are in
fact `replaces'.

I could rebuild the database over-night every night to compress it. However
this seems rather nasty.

So, I'm wondering if anyone has managed to get round this problem and actually
been able to permanently remove tuples!

Yours hopefully,

Giles Nelson.

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
