Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 41D6A9FA138 for ; Thu, 27 Sep 2007 14:44:23 -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 97496-07 for ; Thu, 27 Sep 2007 14:44:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from outbound-mail-77.bluehost.com (outbound-mail-77.bluehost.com [69.89.22.26]) by postgresql.org (Postfix) with SMTP id C9A9B9FA029 for ; Thu, 27 Sep 2007 14:44:17 -0300 (ADT) Received: (qmail 27763 invoked by uid 0); 27 Sep 2007 17:44:14 -0000 Received: from unknown (HELO box54.bluehost.com) (69.89.20.54) by mailproxy4.bluehost.com with SMTP; 27 Sep 2007 17:44:14 -0000 Received: from rrcs-71-41-16-51.sw.biz.rr.com ([71.41.16.51] helo=[10.0.12.106]) by box54.bluehost.com with esmtp (Exim 4.68) (envelope-from ) id 1IaxPK-0003pI-8Q for pgsql-performance@postgresql.org; Thu, 27 Sep 2007 11:44:14 -0600 From: Kevin Kempter To: postgres performance list Subject: Tuning for warm standby Date: Thu, 27 Sep 2007 11:42:06 -0600 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709271142.07130.kevin@kevinkempterllc.com> X-Identified-User: {840:box54.bluehost.com:kevinkem:kevinkempterllc.com} {sentby:bopbeforesmtp 71.41.16.51 authed with kevinkempterllc.com} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/459 X-Sequence-Number: 27004 Hi All; I'm preparing to fire up WAL archiving on 8 production servers We will follow up with implementing a warm standby scenariio. Does anyone have any thoughts per how to maximize performance, yet minimize the potential for data loss assuming we were not able to retrieve the final un-archived WAL segment from the original pg_xlog dir in the case of a crash? Specifically, I wonder if there are some general rules of thought per tuning wal_buffers, checkpoint_segments and friends... Currently all servers have the following settings: wal_buffers = 24 checkpoint_segments = 32 Thanks in advance /Kevin