pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brad Nicholson <bnichols@ca.afilias.info>
To: Greg Smith <gsmith@gregsmith.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Long Running Commits - Not Checkpoints
Date: Thu, 13 Sep 2007 12:52:21 -0400
Message-ID: <1189702341.8624.38.camel@bnicholson-desktop> (raw)
In-Reply-To: <1189700385.8624.32.camel@bnicholson-desktop>
References: <1189692915.8624.22.camel@bnicholson-desktop>
	<Pine.GSO.4.64.0709131149390.20144@westnet.com>
	<1189700385.8624.32.camel@bnicholson-desktop>

On Thu, 2007-09-13 at 12:19 -0400, Brad Nicholson wrote:
> On Thu, 2007-09-13 at 12:12 -0400, Greg Smith wrote:
> > On Thu, 13 Sep 2007, Brad Nicholson wrote:
> 
> > I'd be curious to see how you've got your background writer configured to 
> > see if it matches situations like this I've seen in the past.  The 
> > parameters controlling the all scan are the ones you'd might consider 
> > turning down, definately the percentage and possibly the maxpages as well.
> 
> 
> bgwriter_delay = 50                     # 10-10000 milliseconds between
> rounds
> bgwriter_lru_percent = 20.0             # 0-100% of LRU buffers
> scanned/round
> bgwriter_lru_maxpages = 300             # 0-1000 buffers max
> written/round
> bgwriter_all_percent = 20               # 0-100% of all buffers
> scanned/round
> bgwriter_all_maxpages = 600             # 0-1000 buffers max
> written/round

I should add, there are 6 back ends running on this disk array
(different servers and different data partitions) with these bgwriter
settings. 

-- 
Brad Nicholson  416-673-4106
Database Administrator, Afilias Canada Corp.




view thread (14+ messages)  latest in thread

Message-ID: <1189702341.8624.38.camel@bnicholson-desktop>
Permalink:  ../1189702341.8624.38.camel@bnicholson-desktop/
Also on:    postgresql.org/message-id/1189702341.8624.38.camel@bnicholson-desktop

 · 

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: bnichols@ca.afilias.info, gsmith@gregsmith.com
  Subject: Re: Long Running Commits - Not Checkpoints
  In-Reply-To: <1189702341.8624.38.camel@bnicholson-desktop>

* 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