pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: bangh <banghe@baileylink.net>
Cc: Leong, Fushan <fushan.leong@SonoSite.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vaccum
Date: Thu, 29 Nov 2001 10:39:41 -0800 (PST)
Message-ID: <20011129103838.Y44666-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3C067D89.F07D833F@baileylink.net>

On Thu, 29 Nov 2001, bangh wrote:

> HI,
>
> This is not necessary true, but you might feel understandable.
>
> To delete records, just seems as the records are marked as voided. Space is not
> collected. To run vaccum might do this kind space garbage collection.
>
> To run vacummdb really save the space, but it works at only some extent. e.g.
> index still goes quickly, it goes bigger and bigger, one day it eats all your
> space you have, behaves as gets a virus. In this case, my solution is to use
> pg_dump the original one, create new one and restory, this reaaly save your
> space, but you cannot do this as frequently as you do "vacuum". It costs much
> more CPU time to do it if your database is huge.

I think REINDEX or just DROP INDEX/CREATE INDEX should do the same thing
without requiring the dump/restore.




view thread (8+ messages)  latest in thread

Message-ID: <20011129103838.Y44666-100000@megazone23.bigpanda.com>
Permalink:  ../20011129103838.Y44666-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20011129103838.Y44666-100000@megazone23.bigpanda.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-admin@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, banghe@baileylink.net, fushan.leong@SonoSite.com
  Subject: Re: Vaccum
  In-Reply-To: <20011129103838.Y44666-100000@megazone23.bigpanda.com>
  References: <3C067D89.F07D833F@baileylink.net> <20011129103838.Y44666-100000@megazone23.bigpanda.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