Re: Vacuum Problems - Mailing list pgsql-admin

From Matthew T. O'Connor
Subject Re: Vacuum Problems
Date
Msg-id 492DA95D.3010303@zeut.net
Whole thread Raw
In response to Re: Vacuum Problems  ("Rafael Domiciano" <rafael.domiciano@gmail.com>)
Responses Re: Vacuum Problems
List pgsql-admin
Rafael Domiciano wrote:
> I'm not using autovacuum. Regular vacuum goes ok.
> To see the last 10 lines of verbose i will need to run vacuum tonight
>
> If a run a reindex before the vacuum full, increase the "speed" of
> doing vacuum? I found something about it googling.

It might help a bit, but by the end of VACUUM FULL you would need to run
reindex again as VACUUM FULL tends to cause a lot of index bloat.   It
is normal for tables to have some slack space, so if you do a regular
vacuum every day (or let autovacuum) it's normal for the table to be a
bit bigger than after a VACUUM FULL, but they should ready steady state
and stop growing.

You may also want to look into using CLUSTER it will rewrite the whole
table and is typically much more efficient that VACUUM FULL, but it
requires 2x disk space while running.

Matt


pgsql-admin by date:

Previous
From: Jan-Peter Seifert
Date:
Subject: Re: Vacuum Problems
Next
From: "Scott Marlowe"
Date:
Subject: Re: Vacuum Problems