Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id A278E9FA303 for ; Fri, 2 Nov 2007 01:38:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 90993-05 for ; Fri, 2 Nov 2007 01:38:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 2E7C69FA2FF for ; Fri, 2 Nov 2007 01:38:06 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lA24c3sI021717; Fri, 2 Nov 2007 00:38:03 -0400 (EDT) To: Kevin Kempter cc: pgsql-admin@postgresql.org Subject: Re: Understanding wal segments In-reply-to: <200711012155.16409.kevin@kevinkempterllc.com> References: <200711012155.16409.kevin@kevinkempterllc.com> Comments: In-reply-to Kevin Kempter message dated "Thu, 01 Nov 2007 21:55:15 -0600" Date: Fri, 02 Nov 2007 00:38:02 -0400 Message-ID: <21716.1193978282@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/12 X-Sequence-Number: 27255 Kevin Kempter writes: > What's the relationship between wal_buffers and checkpoint_segments? None particularly. > even > though the max distance between checkpoints is 32 segments, is there > something that controls the number of files/segments in the pg_xlog dir ? The system is designed to settle at 2*checkpoint_segments+1 files in pg_xlog, assuming that you have activity spikes sufficient to drive it up to that level at all. regards, tom lane