Skip site navigation (1) Skip section navigation (2)

Re: Long Running Commits - Not Checkpoints

From: Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Long Running Commits - Not Checkpoints
Date: 2007-09-13 16:19:45
Message-ID: 1189700385.8624.32.camel@bnicholson-desktop (view raw or flat)
Thread:
Lists: pgsql-performance
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


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


In response to

Responses

pgsql-performance by date

Next:From: Scott MarloweDate: 2007-09-13 16:39:55
Subject: Re: [Again] Postgres performance problem
Previous:From: Greg SmithDate: 2007-09-13 16:12:06
Subject: Re: Long Running Commits - Not Checkpoints

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group