Re: [doc patch] a slight VACUUM / VACUUM FULL doc improvement proposal

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
Cc: Michael Stone <mstone+postgres(at)mathom(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: [doc patch] a slight VACUUM / VACUUM FULL doc improvement proposal
Date: 2007-05-16 16:00:19
Message-ID: 877ir892ss.fsf@meuh.mnc.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-performance

"Jim C. Nasby" <decibel 'at' decibel.org> writes:

> On Wed, May 16, 2007 at 09:41:46AM +0200, Guillaume Cottenceau wrote:

[...]

> > Come on, I don't suggest to remove several bold warnings about
> > it, the best one being "Therefore, frequently using VACUUM FULL
> > can have an extremely negative effect on the performance of
> > concurrent database queries." My point is to add the few
> > additional mentions; I don't think the claims that VACUUM FULL
> > physically compacts the data, and might be useful in case of too
> > long time with infrequent VACUUM are incorrect, are they?
>
> Unfortunately they are, to a degree. VACUUM FULL can create a
> substantial amount of churn in the indexes, resulting in bloated
> indexes. So often you have to REINDEX after you VACUUM FULL.

Ok, VACUUM FULL does his job (it physically compacts the data and
might be useful in case of too long time with infrequent VACUUM),
but we are going to not talk about it because we often needs a
REINDEX after it? The natural conclusion would rather be to
document the fact than REINDEX is needed after VACUUM FULL, isn't
it?

--
Guillaume Cottenceau, MNC Mobile News Channel SA, an Alcatel-Lucent Company
Av. de la Gare 10, 1003 Lausanne, Switzerland - direct +41 21 317 50 36

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2007-05-16 16:08:09 Re: [PATCHES] OS/X startup scripts
Previous Message Michael Glaesemann 2007-05-16 15:52:05 Re: [PATCHES] OS/X startup scripts

Browse pgsql-performance by date

  From Date Subject
Next Message Alvaro Herrera 2007-05-16 16:09:26 Re: [doc patch] a slight VACUUM / VACUUM FULL doc improvement proposal
Previous Message Jim C. Nasby 2007-05-16 15:51:45 Re: Disk Fills Up and fsck "Compresses" it