pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Guillaume Cottenceau <gc@mnc.ch>
Cc: pgsql-performance@postgresql.org
Subject: Re: Cost-Based Vacuum Delay tuning
Date: Sat, 8 Dec 2007 10:21:23 -0300
Message-ID: <20071208132123.GB5319@alvh.no-ip.org> (raw)
In-Reply-To: <87y7c6aidw.fsf@messaging.mobileway.com>
References: <87y7c6aidw.fsf@messaging.mobileway.com>

Guillaume Cottenceau wrote:

> I have noticed that others (Alvaro, Joshua) suggest to set
> vacuum_cost_delay as low as 10 or 20 ms,

My suggestion is to set it as *high* as 10 or 20 ms.  Compared to the
original default of 0ms.  This is just because I'm lazy enough not to
have done any measuring of the exact consequences of such a setting, and
out of fear that a very high value could provoke some sort of disaster.

I must admit that changing the vacuum_delay_limit isn't something that
I'm used to recommending.  Maybe it does make sense considering
readahead effects and the new "ring buffer" stuff.


-- 
Alvaro Herrera                 http://www.amazon.com/gp/registry/CTMLCN8V17R4
"La experiencia nos dice que el hombre peló millones de veces las patatas,
pero era forzoso admitir la posibilidad de que en un caso entre millones,
las patatas pelarían al hombre" (Ijon Tichy)



view thread (5+ messages)

Message-ID: <20071208132123.GB5319@alvh.no-ip.org>
Permalink:  ../20071208132123.GB5319@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20071208132123.GB5319@alvh.no-ip.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-performance@postgresql.org
  Cc: alvherre@alvh.no-ip.org, gc@mnc.ch
  Subject: Re: Cost-Based Vacuum Delay tuning
  In-Reply-To: <20071208132123.GB5319@alvh.no-ip.org>
  References: <87y7c6aidw.fsf@messaging.mobileway.com> <20071208132123.GB5319@alvh.no-ip.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