Re: HELP: Urgent, Vacuum problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Schwenker, Stephen" <SSchwenker(at)thestar(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: HELP: Urgent, Vacuum problem
Date: 2006-12-05 17:01:23
Message-ID: 6076.1165338083@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Schwenker, Stephen" <SSchwenker(at)thestar(dot)ca> writes:
> To fix that problem, I have turned off the full vacuum and are just
> doing a standard analyze vacuum.

Good.

> No I'm getting very close to running
> out of space on my disks because the table keeps on growing and the
> database is not re-using deleted record space. I know this because I
> delete 99% of the records from the table after I have exported them but
> the size of the database tables are not decreasing.

Standard vacuum isn't really intended to decrease table size, but to
help you maintain it at a steady state. If you're re-using the same
tables this should be OK though. It sounds to me like you need to raise
your FSM size to let the database track all the free space. You should
also consider vacuuming more often than once a day.

> I'm using version 7.4.2 on solaris.

You *really* need to update.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2006-12-05 17:09:51 Re: Working with one live and one development database
Previous Message Scott Marlowe 2006-12-05 16:59:19 Re: HELP: Urgent, Vacuum problem