pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: full vacuum - resources - scaling
Date: Tue, 30 May 2006 10:58:28 -0400
Message-ID: <20060530145828.GB20300@phlogiston.dyndns.org> (raw)
In-Reply-To: <BAY116-F65AAE6BC31AD40D101D58D1920@phx.gbl>
References: <BAY116-F65AAE6BC31AD40D101D58D1920@phx.gbl>

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@crankycanuck.ca
The whole tendency of modern prose is away from concreteness.
		--George Orwell



view thread (3+ messages)

Message-ID: <20060530145828.GB20300@phlogiston.dyndns.org>
Permalink:  ../20060530145828.GB20300@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20060530145828.GB20300@phlogiston.dyndns.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: full vacuum - resources - scaling
  In-Reply-To: <20060530145828.GB20300@phlogiston.dyndns.org>
  References: <BAY116-F65AAE6BC31AD40D101D58D1920@phx.gbl> <20060530145828.GB20300@phlogiston.dyndns.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox