Re: loading data, creating indexes, clustering, vacuum...

From: Bill Moran <wmoran(at)collaborativefusion(dot)com>
To: "Angva" <angvaw(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: loading data, creating indexes, clustering, vacuum...
Date: 2006-12-09 02:48:48
Message-ID: 20061208214848.fc0eee0d.wmoran@collaborativefusion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Angva" <angvaw(at)gmail(dot)com> wrote:
>
> > clustering also removes the dead tuples.
>
> I have a followup question. What if the set of dead tuples is too big
> and I need to VACUUM FULL, as opposed to VACUUM. (The update size
> varies greatly from day to day.) Will the clustering effectively do a
> VACUUM FULL, or just a VACUUM?

CLUSTER is the equivalent of VACUUM FULL, with the addition that it
orders the data in the table in the order of the index you specify.

VACUUM FULL doesn't follow any particular order for the data.

-Bill

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-12-09 03:38:18 Re: localhost resolving
Previous Message Tom Lane 2006-12-09 02:48:26 Re: help understanding analyze