Re: upping checkpoints on production server

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: upping checkpoints on production server
Date: 2003-09-24 21:57:45
Message-ID: 25883.1064440665@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> writes:
> In .conf file I have default checkpoints set to 3, but I noticed that in
> my pg_xlog directory I always seem to have at least 8 log files. Since
> this is more than the suggested 7, I'm wondering if this means I ought
> to bump my checkpoint segments up to 4?

Hm. What is the typical delta in the mod times of the log files? It
sounds like you are in a regime where checkpoints are always triggered
by checkpoint_segments and never by checkpoint_timeout, in which case
increasing the former might be a good idea. Or decrease the latter,
but that could put a drag on performance.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Rigmor Ukuhe 2003-09-25 10:22:40 Re: Index problem
Previous Message Robert Treat 2003-09-24 21:24:14 upping checkpoints on production server