Re: replacements for vacuum? - Mailing list pgsql-general

From Tom Lane
Subject Re: replacements for vacuum?
Date
Msg-id 24266.1103318894@sss.pgh.pa.us
Whole thread Raw
In response to replacements for vacuum?  (Lonni J Friedman <netllama@gmail.com>)
List pgsql-general
Lonni J Friedman <netllama@gmail.com> writes:
> Are there any alternatives to vacuum (and, i'm aware of autovacuum)?

CLUSTER is frequently a competitive alternative to VACUUM FULL.

In 8.0, there are some flavors of ALTER TABLE that rewrite the whole
table; this would work too, and should be faster than CLUSTER if you
don't care about the resulting table order.

Neither of these are a good substitute for plain VACUUM, but when you
have a table that's sparse enough to need a VACUUM FULL, consider them.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: sorting problem
Next
From: Scott Marlowe
Date:
Subject: unix_socket_directory