Re: How to free disk space - Mailing list pgsql-general

From Scott Marlowe
Subject Re: How to free disk space
Date
Msg-id dcc563d10810211916x34ae7c57id9258f261dcc6901@mail.gmail.com
Whole thread Raw
In response to Re: How to free disk space  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: How to free disk space  ("Grzegorz Jaśkiewicz" <gryzman@gmail.com>)
List pgsql-general
On Tue, Oct 21, 2008 at 10:46 AM, Robert Treat
<xzilla@users.sourceforge.net> wrote:
> On Tuesday 21 October 2008 09:00:30 postgres Emanuel CALVO FRANCO wrote:
>> After run VACUUM, you must run REINDEXDB to decrease indexes.
>>
>
> This is probably overkill, as you won't need to do this for a lot of tables in
> your database, and the locking issues are probably unhelpful.

Note, however, that if you have scheduled downtime and your db server
is fast enough, you can schedule a vacuum full / reindexdb during that
time.  We had a rogue query that made a few of our largest tables very
very bloated (like 95% bloat) and we had some downtime to fix it and
it was way easier to just do the whole db with vacuum full verbose,
then reindex.  I also had a chacne to set fill factors on some of the
tables that I'd wanted new fill factors on.

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: How to get schema name which violates fk constraint
Next
From: "jimmy Zhang"
Date:
Subject: [ANN] VTD-XML extended edition released