Re: full vacuum - resources - scaling

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: full vacuum - resources - scaling
Date: 2006-05-30 14:58:28
Message-ID: 20060530145828.GB20300@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, May 30, 2006 at 09:44:22AM -0400, Mr. Dan wrote:
> Hi,
>
> I have noticed that my full vacuum and re-index script is taking a day and
> a half instead of 1/2 day.
> Recently, the size of my database cluster has doubled to 130 GB. Would
> anyone recommend increasing one or more of these to help get my full
> vacuums to run a little faster?

What Alvaro said. I'll also point out, however, that in my
experience, VACUUM FULL time does not increase linearly with database
size. I suspect this is because of the cost of reorganising so much
more data, but I haven't done any real analysis of it.

The main thing is, "Don't do vacuum full."

A
--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
The whole tendency of modern prose is away from concreteness.
--George Orwell

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Aaron Bono 2006-05-30 15:11:03 Separating Databases on Different Partitions
Previous Message Avnish Joy 2006-05-30 14:55:30 Problem in pgsql