pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vinubalaji Gopal <vgopal@abaca.com>
To: Joshua D. Drake <jd@commandprompt.com>
Cc: Pgsql-Performance ((E-mail)) <pgsql-performance@postgresql.org>
Subject: Re: best way to run maintenance script
Date: Fri, 14 Mar 2008 21:07:45 -0800
Message-ID: <1205557665.12661.51.camel@vinu-ubuntu.abaca> (raw)
In-Reply-To: <20080314191722.13e19440@commandprompt.com>
References: <1205542821.12661.16.camel@vinu-ubuntu.abaca>
	<20080314173235.58f854e6@commandprompt.com>
	<1205545912.12661.22.camel@vinu-ubuntu.abaca>
	<20080314191722.13e19440@commandprompt.com>


> 
> I think you will find if you do it the right way, which is to say the
> way that it is meant to be done with the configurable options, your
> life will be a great deal more pleasant than some one off hack.
> 

yeah I agree. The pg_maintanence script which calls vacuum and analyze
is the one of the thing that is causing more problems. I am trying out
various vacuum options (vacuum_cost_limit, vacuum_cost_delay) and
finding it hard to understand the implications of the variables. What
are the optimal values for the vacuum_* parameters - for a really active
database (writes at the rate of ~ 50 rows/seconds).

I started with
vacuum_cost_delay = 200
vacuum_cost_limit = 400

and that did not help much. 

--
Vinu




view thread (9+ messages)  latest in thread

Message-ID: <1205557665.12661.51.camel@vinu-ubuntu.abaca>
Permalink:  ../1205557665.12661.51.camel@vinu-ubuntu.abaca/
Also on:    postgresql.org/message-id/1205557665.12661.51.camel@vinu-ubuntu.abaca

 · 

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: vgopal@abaca.com, jd@commandprompt.com
  Subject: Re: best way to run maintenance script
  In-Reply-To: <1205557665.12661.51.camel@vinu-ubuntu.abaca>
  References: <1205542821.12661.16.camel@vinu-ubuntu.abaca> <20080314173235.58f854e6@commandprompt.com> <1205545912.12661.22.camel@vinu-ubuntu.abaca> <20080314191722.13e19440@commandprompt.com> <1205557665.12661.51.camel@vinu-ubuntu.abaca>

* 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