X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id C7DC6D1B54E for ; Wed, 24 Sep 2003 21:57:54 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 11195-03 for ; Wed, 24 Sep 2003 18:57:46 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id C5ADDD1B50B for ; Wed, 24 Sep 2003 18:57:43 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h8OLvjiP025884; Wed, 24 Sep 2003 17:57:46 -0400 (EDT) To: Robert Treat Cc: pgsql-performance@postgresql.org Subject: Re: upping checkpoints on production server In-reply-to: <1064438654.25702.2076.camel@camel> References: <1064438654.25702.2076.camel@camel> Comments: In-reply-to Robert Treat message dated "24 Sep 2003 17:24:14 -0400" Date: Wed, 24 Sep 2003 17:57:45 -0400 Message-ID: <25883.1064440665@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/314 X-Sequence-Number: 3680 Robert Treat 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