Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A9ACD632847 for ; Mon, 12 Jul 2010 13:16:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 06704-10 for ; Mon, 12 Jul 2010 16:16:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mail.postgresql.org (Postfix) with ESMTP id 88FF8632586 for ; Mon, 12 Jul 2010 13:16:49 -0300 (ADT) Received: from [75.192.140.165] (165.sub-75-192-140.myvzw.com [75.192.140.165]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Mgrp6-1OlbDO1YFk-00MmH5; Mon, 12 Jul 2010 18:16:43 +0200 Message-ID: <4C3B3FE8.1030409@2ndquadrant.com> Date: Mon, 12 Jul 2010 12:16:40 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Brad Nicholson CC: Thomas Kellerer , pgsql-admin@postgresql.org Subject: Re: High Availability: Hot Standby vs. Warm Standby References: <4C386B33.8090708@2ndquadrant.com> <1278941155.29426.44.camel@bnicholson-desktop> In-Reply-To: <1278941155.29426.44.camel@bnicholson-desktop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:crEeoEO2RTs8T7/hQ2WSHOIuxY/phXKacms+2d/hNeF Ebs+xHFw1FzvzR7Jh87NIDwEVRkZsecn4Qq5NEJMg945u3PIUZ PnJIQPyi+dF74u0Np/JiGtl8oa5kbWGIAqoyfIs3mh6wR4813a rvJx+2QwIl0d1LPSlu/19DEa94QEsXqciP+IPqlTwiXsSbrEWy rKM9wK5+P11gxS98pisIdXruGT3+WA5skOiOh0dCyk= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201007/51 X-Sequence-Number: 35070 Brad Nicholson wrote: > One further thing to mention - all of these solutions are based on > making the physical blocks available (actually, I'm not sure about > Streaming replication in 9.0). You're right here; the SR feature in 9.0 is essentially near real-time partial WAL file shipping, and the WAL contains physical disk block change data. If your master has data blocks corrupted, the next time you do a base backup against it that corruption will be mirrored to the standby too. I've mentioned on one of these lists recently that I like to schedule a periodic pg_dump even if log shipping is the main backup mechanism for a database, just so that corruption in the underlying files is caught as early as possible by trying to read every block and confirm it has valid data. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us