Re: When does VACUUM FULL not clean out all deleted data? - Mailing list pgsql-admin

From James Cloos
Subject Re: When does VACUUM FULL not clean out all deleted data?
Date
Msg-id m38x34chc4.fsf@lugabout.jhcloos.org
Whole thread Raw
In response to Re: When does VACUUM FULL not clean out all deleted data?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-admin
>>>>> "Scott" == Scott Marlowe <scott.marlowe@gmail.com> writes:

Scott> Note that routine vacuum FULL is not a good idea actually.
Scott> vacuum full is something you run when things have gone wrong
Scott> (i.e. not enough regular vacuuming) and it is usually best
Scott> followed by reindexing all your indexes.

I see.

Scott> It's far better to keep track of bloat and run vacuum full, if at
Scott> all, by hand, and only when needed.  Running it regularly with no
Scott> reindexing often results in index bloat which makes the database
Scott> slower not faster.

That, then, probably explains the extra five gigs.  There are quite a
few indices in the app's schema.

Thanks.

-JimC
--
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

pgsql-admin by date:

Previous
From: James Cloos
Date:
Subject: Re: When does VACUUM FULL not clean out all deleted data?
Next
From: Geoffrey
Date:
Subject: Re: When does VACUUM FULL not clean out all deleted data?