pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: PFC <lists@peufeu.com>
Cc: postgresql performance list <pgsql-performance@postgresql.org>
Subject: Re: Vacuum takes forever
Date: Tue, 29 May 2007 19:56:07 +0200
Message-ID: <1180461367.18930.25.camel@panoramix> (raw)
In-Reply-To: <op.ts3l93nqcigqcu@apollo13>
References: <1180458223.18930.16.camel@panoramix>
	<op.ts3l93nqcigqcu@apollo13>

On Tue, 2007-05-29 at 19:16 +0200, PFC wrote:
> 
> > Could this be because of my Cost-Based Vacuum Delay settings ?
> 
> 	Yeah. It is supposed to slow down VACUUM so it doesn't kill your server,  
> but it is not aware of the load. It will also slow it down if there is no  
> load. That is its purpose after all ;)
> 	If you want fast vacuum, issue SET  vacuum_cost_delay  = 0; before.
Thanks, I tried it and it worked. I did not know that changing this
setting would result in such a performance drop ( I just followed an
advise I read on http://www.powerpostgresql.com/PerfList/) which
mentioned a tripling of the the execution time. Not a change from
8201819 ms  to 17729 ms.

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



view thread (9+ messages)  latest in thread

Message-ID: <1180461367.18930.25.camel@panoramix>
Permalink:  ../1180461367.18930.25.camel@panoramix/
Also on:    postgresql.org/message-id/1180461367.18930.25.camel@panoramix

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: J.Kraaijeveld@Askesis.nl, lists@peufeu.com
  Subject: Re: Vacuum takes forever
  In-Reply-To: <1180461367.18930.25.camel@panoramix>

* 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