Re: vacuum - reclaiming disk space. - Mailing list pgsql-general

From Chris Travers
Subject Re: vacuum - reclaiming disk space.
Date
Msg-id CAKt_ZfvkmK_cuU-oKMY7Q5FgHP5wA_LAMB7_Q+-pbvmj7yLCKg@mail.gmail.com
Whole thread Raw
In response to vacuum - reclaiming disk space.  (Mike Blackwell <mike.blackwell@rrd.com>)
List pgsql-general
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@rrd.com> 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.

pgsql-general by date:

Previous
From: Robert McAlpine
Date:
Subject: Re: vacuum - reclaiming disk space.
Next
From: Steve Kehlet
Date:
Subject: which db caused postgres to stop serving due to wraparound prevention?