Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 775C09FA1AD for ; Fri, 29 Sep 2006 12:56:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 10710-02 for ; Fri, 29 Sep 2006 15:55:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id EB1AF9FB393 for ; Fri, 29 Sep 2006 12:55:41 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k8TFtaks016750; Fri, 29 Sep 2006 11:55:36 -0400 (EDT) To: Simon Riggs cc: cedric@dreamgnu.com, pgsql-performance@postgresql.org Subject: Re: archive wal's failure and load increase. In-reply-to: <1159541620.2649.10.camel@holly> References: <451C2572.20800@dreamgnu.com> <1159527513.2767.296.camel@holly> <15270.1159540162@sss.pgh.pa.us> <1159541620.2649.10.camel@holly> Comments: In-reply-to Simon Riggs message dated "Fri, 29 Sep 2006 15:53:40 +0100" Date: Fri, 29 Sep 2006 11:55:36 -0400 Message-ID: <16749.1159545336@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200609/432 X-Sequence-Number: 21118 Simon Riggs writes: > PreallocXlogFiles() adds only a *single* xlog file, sometimes. Hm, you are right. I wonder why it's so unaggressive ... perhaps because under normal circumstances we soon settle into a steady state where each checkpoint recycles the right number of files. regards, tom lane