Re: bgwriter, checkpoints, curious (seeing delays) - Mailing list pgsql-performance

From Devrim GÜNDÜZ
Subject Re: bgwriter, checkpoints, curious (seeing delays)
Date
Msg-id 1267168816.2094.57.camel@hp-laptop2.gunduz.org
Whole thread Raw
In response to Re: bgwriter, checkpoints, curious (seeing delays)  (Tory M Blue <tmblue@gmail.com>)
Responses Re: bgwriter, checkpoints, curious (seeing delays)
List pgsql-performance
On Thu, 2010-02-25 at 23:01 -0800, Tory M Blue wrote:

> Checkpoint_timeout is the default and that looks like 5 mins (300
> seconds). And is obviously why I have such a discrepancy between time
> reached and requested.

If you have a high load, you may want to start tuning with 15 minutes,
and bump it to 30 mins if needed. Also you may want to decrease segments
value based on your findings, since increasing only one of them won't
help you a lot.

As I wrote before, pg_stat_bgwriter is your friend here.
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

pgsql-performance by date:

Previous
From: Tory M Blue
Date:
Subject: Re: bgwriter, checkpoints, curious (seeing delays)
Next
From: Greg Smith
Date:
Subject: Re: bgwriter, checkpoints, curious (seeing delays)