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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Fwd: wal_sync_methods for AIX



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group