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

How overcome wait for vacuum full?



Dear Folks,

I am running a full vacuum on a database.  It's taking longer than I
hoped.  In particular, the vacuum still hasn't reached the table that
will benefit most from the vacuum.

Can I move the existing table to a backup, make a copy of the table
back to its original name, restart the application, and run the vacuum
on the backup?  Or can I reclaim the disk space by dropping the
original after making a copy?

If I can, without losing data, what is the best way to do that?
I am reaching the end of the period when this database application can
be disabled.

I have never run vacuum full on such a large database (24G) and am
desperate to get the application back online.
--
Nick Urbanik   RHCE         http://nicku.org        nicku(at)nicku(dot)org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

Attachment: pgpcOm7ckfeNF.pgp
Description: PGP signature



Home | Main Index | Thread Index

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