Re: Disk Usage Problem - Mailing list pgsql-admin

From Tom Lane
Subject Re: Disk Usage Problem
Date
Msg-id 27988.1125463452@sss.pgh.pa.us
Whole thread Raw
In response to Disk Usage Problem  (Michael Fahey <mfahey@winklerpartners.com>)
Responses auto vacuum settings
List pgsql-admin
Michael Fahey <mfahey@winklerpartners.com> writes:
> My database cluster at 22 GB is outgrowing the 30 GB partition I set
> aside for it.

> I periodically dump the cluster to a development server, but when it is
> loaded onto the development server, the cluster takes up just 145MB.

> I'm using 7.4.7-6sarge1 . I vacuum nightly and do a full vacuum weekly,
> but this doesn't seem to have any effect on size.

It's clear that you aren't vacuuming *nearly* enough for your workload.
Think about vacuuming hourly.  Check your FSM settings.

            regards, tom lane

pgsql-admin by date:

Previous
From: Michael Fahey
Date:
Subject: Disk Usage Problem
Next
From: Jeff Frost
Date:
Subject: auto vacuum settings