Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E5F981337B5C for ; Fri, 11 Feb 2011 03:35:12 -0400 (AST) 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 39136-08 for ; Fri, 11 Feb 2011 07:35:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd-17937.dedibox.fr (sd-17937.dedibox.fr [88.191.100.74]) by mail.postgresql.org (Postfix) with ESMTP id A47F0133616B for ; Fri, 11 Feb 2011 03:35:03 -0400 (AST) Received: from [192.168.42.162] (LCaen-151-93-7-26.w80-13.abo.wanadoo.fr [80.13.230.26]) by sd-17937.dedibox.fr (Postfix) with ESMTPA id 02C933B8F5; Fri, 11 Feb 2011 08:35:02 +0100 (CET) Message-ID: <4D54E6A6.8090305@lelarge.info> Date: Fri, 11 Feb 2011 08:35:02 +0100 From: Guillaume Lelarge User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Selva manickaraja CC: pgsql-admin@postgresql.org Subject: Re: Cascading Recovery References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.324 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_NJABL_PROXY=2.224 X-Spam-Level: X-Archive-Number: 201102/75 X-Sequence-Number: 36714 Le 11/02/2011 05:43, Selva manickaraja a écrit : > We are considering on using a primary and 2 secondary machines. But our plan > is to cascade the recovery as follows: > > 1. Primary Machine-A (read and write operation) > 2. Secondary Machine-B (recover from Machine A) > 3. Secondary Machine-C (recover from Machine B) > > We are planning this kind of recovery as we want to phase out recovery > interval between C and B 30 minutes. > > Can this be achieved by PostgreSQL. > Not with Streaming Replication. But you can achieve this with a different replication engine, like Slony. -- Guillaume http://www.postgresql.fr http://dalibo.com