Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id AA4CC1337B2F for ; Sun, 13 Feb 2011 17:53:18 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 97767-08 for ; Sun, 13 Feb 2011 21:53:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from na3sys009aog114.obsmtp.com (na3sys009aog114.obsmtp.com [74.125.149.211]) by mail.postgresql.org (Postfix) with SMTP id 38DC71337990 for ; Sun, 13 Feb 2011 17:53:09 -0400 (AST) Received: from source ([74.125.82.43]) (using TLSv1) by na3sys009aob114.postini.com ([74.125.148.12]) with SMTP ID DSNKTVhSxf3XswbbU+zA9XcDdx5lganKb6nz@postini.com; Sun, 13 Feb 2011 13:53:10 PST Received: by wwi17 with SMTP id 17so4059055wwi.12 for ; Sun, 13 Feb 2011 13:53:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.86.195 with SMTP id w45mr2460704wee.92.1297633986932; Sun, 13 Feb 2011 13:53:06 -0800 (PST) Received: by 10.216.177.10 with HTTP; Sun, 13 Feb 2011 13:53:06 -0800 (PST) In-Reply-To: References: <4D54E6A6.8090305@lelarge.info> Date: Sun, 13 Feb 2011 16:53:06 -0500 Message-ID: Subject: Re: Cascading Recovery From: Scott Mead To: Selva manickaraja Cc: pgsql-admin@postgresql.org Content-Type: multipart/alternative; boundary=0016e6d7e06cd6ef08049c30f426 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.199 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3 X-Spam-Level: X-Archive-Number: 201102/102 X-Sequence-Number: 36741 --0016e6d7e06cd6ef08049c30f426 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Feb 13, 2011 at 10:35 AM, Selva manickaraja wro= te: > Any updates? You can't use any wal based replication like that. When a node is in recovery mode, it doesn't log. --Scottie > > > ---------- Forwarded message ---------- > From: Selva manickaraja > Date: Sat, Feb 12, 2011 at 1:43 AM > Subject: Re: [ADMIN] Cascading Recovery > To: Guillaume Lelarge > Cc: pgsql-admin@postgresql.org > > > If not with Streaming Replication, what about Continous Archiving Mode? > > > On Fri, Feb 11, 2011 at 3:35 PM, Guillaume Lelarge > wrote: > >> Le 11/02/2011 05:43, Selva manickaraja a =E9crit : >> > We are considering on using a primary and 2 secondary machines. But ou= r >> 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 >> > > > --0016e6d7e06cd6ef08049c30f426 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sun, Feb 13, 2011 at 10:35 AM, Selva = manickaraja <mav= les78@gmail.com> wrote:
Any updates?

=A0You can't use any wal based replic= ation like that.=A0 When a node is in recovery mode, it doesn't log.
--Scottie
=A0


------= ---- Forwarded message ----------
From: Se= lva manickaraja <mavles78@gmail.com>
Date: Sat, Feb 12, 2011 at 1:43 AM
Subject: Re: [ADMIN] Cascading Recove= ry
To: Guillaume Lelarge <guillaume@lelarge.info>
Cc: pgsql-admin@postgresql.org<= br>

If not with Streaming Replication, what about Continous Archiving M= ode?


On Fri, Feb 11,= 2011 at 3:35 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
Le 11/02/2011 05:43, Se= lva manickaraja a =E9crit :
> We are considering on using a primary and 2 secon= dary 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
=A0http://www.postgr= esql.fr
=A0http://dalibo.com



--0016e6d7e06cd6ef08049c30f426--