Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9CEEA1337999 for ; Mon, 1 Nov 2010 17:29: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 82638-06 for ; Mon, 1 Nov 2010 20:29:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from abpni.co.uk (unknown [92.27.106.173]) by mail.postgresql.org (Postfix) with ESMTP id E60D3133616B for ; Mon, 1 Nov 2010 17:29:22 -0300 (ADT) Received: from [10.87.0.130] ([10.87.0.130]) by abpni.co.uk with Microsoft SMTPSVC(6.0.3790.3959); Mon, 1 Nov 2010 20:29:22 +0000 Message-ID: <4CCF2328.4030701@abpni.co.uk> Date: Mon, 01 Nov 2010 20:29:28 +0000 From: Jonathan Tripathy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Thomas Kellerer , pgsql-general@postgresql.org Subject: Re: Replication References: <4CCF1AC4.6060800@abpni.co.uk> <4CCF1F49.5060809@abpni.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Nov 2010 20:29:22.0487 (UTC) FILETIME=[77E04C70:01CB7A03] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.212 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FS_REPLICA=3.599, RDNS_NONE=0.793, SARE_SPEC_REPLICA=0.72 X-Spam-Level: *** X-Archive-Number: 201011/76 X-Sequence-Number: 169142 On 01/11/10 20:26, Thomas Kellerer wrote: > Jonathan Tripathy wrote on 01.11.2010 21:12: >>> >>> 9.0 has streaming replication and "Hot Standby" >>> >>> http://www.postgresql.org/docs/current/static/hot-standby.html >>> http://www.postgresql.org/docs/current/static/warm-standby.html#STREAMING-REPLICATION >>> >>> >>> >> But does that not only allow "read-only" things to work on the standby? >> > > But you didn't ask for read/write on the standby, only for a standby > that can take of the master once the master fails: > "must support INSERTS and UPDATES as well (once the master has failed)" > > That's exactly what the hot standby does: As long as it is in standby > mode it's read-only. > Once the failover has happened the standby is the new master and will > allow read/write access. > > Thomas > > Ahh!! So in both those links above, once the master has failed, the standby will support writes (As it not acts like the master)? Thanks