pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: upping checkpoints on production server
Date: Wed, 24 Sep 2003 17:57:45 -0400
Message-ID: <25883.1064440665@sss.pgh.pa.us> (raw)
In-Reply-To: <1064438654.25702.2076.camel@camel>
References: <1064438654.25702.2076.camel@camel>

Robert Treat <xzilla@users.sourceforge.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



view thread (3+ messages)  latest in thread

Message-ID: <25883.1064440665@sss.pgh.pa.us>
Permalink:  ../25883.1064440665@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25883.1064440665@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, xzilla@users.sourceforge.net
  Subject: Re: upping checkpoints on production server
  In-Reply-To: <25883.1064440665@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox