Re: loading data, creating indexes, clustering, vacuum... - Mailing list pgsql-general

From Bill Moran
Subject Re: loading data, creating indexes, clustering, vacuum...
Date
Msg-id 20061208214848.fc0eee0d.wmoran@collaborativefusion.com
Whole thread Raw
In response to Re: loading data, creating indexes, clustering, vacuum...  ("Angva" <angvaw@gmail.com>)
List pgsql-general
"Angva" <angvaw@gmail.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: help understanding analyze
Next
From: Tom Lane
Date:
Subject: Re: localhost resolving