Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: When does VACUUM FULL not clean out all deleted data?



Joshua D. Drake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 07 Jan 2008 10:53:11 -0500
Geoffrey <lists(at)serioustechnology(dot)com> wrote:

So, I'm wondering if anyone can point me to more specific information
as to when, if ever, you should 'vacuum full?'

1. If you over run your fsm pages
  * Except that vacuum full won't reclaim the index usage so use
CLUSTER instead.
2. If you are only repairing bloat on a smaller table.
  * It may be faster to backup and restore the table. Since vacuum full
is an exclusive lock anyway it doesn't matter.

Thank you Joshua.

--
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
 - Benjamin Franklin



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group