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: Very busy 24x7 databases and VACUUM
Date: Mon, 6 Dec 2004 16:20:08 -0500
Message-ID: <20041206212008.GL22712@phlogiston.dyndns.org> (raw)
In-Reply-To: <m3k6rwm53s.fsf@knuth.knuth.cbbrowne.com>
References: <Pine.LNX.4.58.0412051638510.4085@shishi.roaringpenguin.com>
	<m3k6rwm53s.fsf@knuth.knuth.cbbrowne.com>

On Sun, Dec 05, 2004 at 11:18:47PM -0500, Christopher Browne wrote:
> One thing that would be somewhat helpful would be to be sure that each
> of the tables that you are vacuuming is handled in a separate
> transaction.

What Chris said.  In particular, I've found that pg_autovacuum has
the ability really to kill performance if it starts at the wrong
moment.  You need something much more hand-crafted at the moment. 
I'll bet, however, that vacuuming some tables more often than once a
day will still be a net win for you.

A
-- 
Andrew Sullivan  | ajs@crankycanuck.ca
This work was visionary and imaginative, and goes to show that visionary
and imaginative work need not end up well. 
		--Dennis Ritchie



view thread (3+ messages)

Message-ID: <20041206212008.GL22712@phlogiston.dyndns.org>
Permalink:  ../20041206212008.GL22712@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20041206212008.GL22712@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: Very busy 24x7 databases and VACUUM
  In-Reply-To: <20041206212008.GL22712@phlogiston.dyndns.org>
  References: <Pine.LNX.4.58.0412051638510.4085@shishi.roaringpenguin.com> <m3k6rwm53s.fsf@knuth.knuth.cbbrowne.com> <20041206212008.GL22712@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