From: | Greg Smith <gsmith(at)gregsmith(dot)com> |
---|---|
To: | JP Fletcher <jpfletch(at)ca(dot)afilias(dot)info> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Fwd: wal_sync_methods for AIX |
Date: | 2008-02-19 22:57:21 |
Message-ID: | Pine.GSO.4.64.0802191754311.22515@westnet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Tue, 19 Feb 2008, JP Fletcher wrote:
> Shared buffers are set to 50000, bgwriter settings are as follows:
>
> 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 = 5 # 0-100% of all buffers scanned/round
> bgwriter_all_maxpages = 600 # 0-1000 buffers max written/round
Not that it impacts what you're asking about, but that's probably an
excessive setting for bgwriter_lru_percent. With the reduced delay and
scanning that much, you're burning a lot of CPU time doing that for little
benefit.
--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD
From | Date | Subject | |
---|---|---|---|
Next Message | Sven Geisler | 2008-02-20 08:57:21 | Re: Anyone using a SAN? |
Previous Message | Greg Smith | 2008-02-19 22:53:45 | Re: 7 hrs for a pg_restore? |