Search Postgresql Archives

Re: vacuum - reclaiming disk space.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Autovacuum will eventually free your extra pages regarding index bloat but it takes multiple runs.

You could also use reindex instead of vacuum full since you are only interested in the index.

For the table there may be other options but they depend on your pattern of writes.

On Thu, Mar 17, 2016 at 7:27 AM, Mike Blackwell <mike.blackwell@xxxxxxx> wrote:
I have a large table with numerous indexes which has approximately doubled in size after adding a column - every row was rewritten and 50% of the tuples are dead.  I'd like to reclaim this space, but VACUUM FULL cannot seem to finish within the scheduled downtime.

Any suggestions for reclaiming the space without excessive downtime?





--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.
http://www.efficito.com/learn_more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux