pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tobias Brox <tobias@nordicbet.com>
To: Matthew T. O'Connor <matthew@zeut.net>
Cc: Tobias Brox <tobias@nordicbet.com>
Cc: Csaba Nagy <nagy@ecircle-ag.com>
Cc: Edoardo Ceccarelli <eddy@axa.it>
Cc: postgres performance list <pgsql-performance@postgresql.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: [PERFORM] autovacuum on a -mostly- r/o table
Date: Sun, 15 Oct 2006 16:52:12 +0200
Message-ID: <20061015145212.GA13175@oppetid.no> (raw)
In-Reply-To: <453248DA.7050806@zeut.net>
References: <20061015095259.GA24002@oppetid.no>
	<453248DA.7050806@zeut.net>

[Matthew T. O'Connor - Sun at 10:42:34AM -0400]
> Yeah, I think if the delay settings are too high it can cause problems, 
> that's part of the reason we have yet to turn these on be default since 
> we won't have enough data to suggest good values.  Can you tell us what 
> settings you finally settled on?

I'm still not yet settled, and the project manager is critical to
autovacuum (adds complexity, no obvious benefits from it, we see from
the CPU graphs that it's causing iowait, iowait is bad).  We're going to
run autovacuum biweekly now to see what effect it has on the server
load.

I've been using the cost/delay-setting of 200/200 for a week now, and
I'm going to continue with 100/150 for a while.  

Are there any known disadvantages of lowering both values to the extreme
- say, 20/20 instead of 200/200?  That would efficiently mean "sleep as
often as possible, and sleep for 1 ms for each cost unit spent" if
I've understood the system right.

Are there any logs that can help me, and eventually, are there any
ready-made scripts for checking when autovacuum is running, and
eventually for how long it keeps its transactions?  I'll probably write
up something myself if not.




view thread (17+ messages)  latest in thread

Message-ID: <20061015145212.GA13175@oppetid.no>
Permalink:  ../20061015145212.GA13175@oppetid.no/
Also on:    postgresql.org/message-id/20061015145212.GA13175@oppetid.no

 · 

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: tobias@nordicbet.com, matthew@zeut.net, nagy@ecircle-ag.com, eddy@axa.it, pgsql-admin@postgresql.org
  Subject: Re: [PERFORM] autovacuum on a -mostly- r/o table
  In-Reply-To: <20061015145212.GA13175@oppetid.no>

* 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