Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 6CDF71337B9C for ; Thu, 14 Apr 2011 08:13:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 17798-07 for ; Thu, 14 Apr 2011 11:13:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mail.postgresql.org (Postfix) with ESMTP id 7C55F133655C for ; Thu, 14 Apr 2011 08:13:20 -0300 (ADT) Received: from omta16.westchester.pa.mail.comcast.net ([76.96.62.88]) by qmta03.westchester.pa.mail.comcast.net with comcast id XP901g0011uE5Es53PDMYR; Thu, 14 Apr 2011 11:13:21 +0000 Received: from homie ([68.45.149.86]) by omta16.westchester.pa.mail.comcast.net with comcast id XPDM1g0071s54jo3cPDMBx; Thu, 14 Apr 2011 11:13:21 +0000 Received: by homie (Postfix, from userid 1000) id 994B520C52; Thu, 14 Apr 2011 07:13:19 -0400 (EDT) From: Jerry Sievers To: Alanoly Andrews Cc: "'pgsql-admin\@postgresql.org'" Subject: Re: Warm Standby on 8.4.7 References: <09B23E7BF70425478C1330D893A722C603075D2AA7@MailSVR.invera.com> Date: Thu, 14 Apr 2011 07:13:19 -0400 In-Reply-To: <09B23E7BF70425478C1330D893A722C603075D2AA7@MailSVR.invera.com> (Alanoly Andrews's message of "Wed, 13 Apr 2011 15:53:33 -0400") Message-ID: <87ei55w0fk.fsf@comcast.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.355 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RFC_ABUSE_POST=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/139 X-Sequence-Number: 37320 Alanoly Andrews writes: > Hello, > > Is it possible to set up a warm standby pair of postgres instances > without using the pg_standby utility? The PG manuals appear to say it > is possible. But I dont see the details of how to set this up. How > do you keep the standby instance in permanent recovery mode? Certainly if you implement the same or possibly extended logic yourself in whatever language you are comfortable with. Myself and others have been doing warm-standby since WALs were invented :-) When the company I work for started requiring that WS servers be helf back a configurable time lag from production, I made some minor mods to our version of the standby script, now written in Python, to make it happen. WALs now have to pass sanity and aging checks before being applied. HTH -- Jerry Sievers Postgres DBA/Development Consulting e: gsievers19@comcast.net p: 305.321.1144