Обсуждение: Cascading Recovery

Поиск
Список
Период
Сортировка

Cascading Recovery

От
Selva manickaraja
Дата:
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.

Thank you.

Warmest Regards,

Selvam

Re: Cascading Recovery

От
Guillaume Lelarge
Дата:
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

Re: Cascading Recovery

От
Ashish Nauriyal
Дата:
Can be achieved using Slony and called cascaded subscription of sets. 

Ashish,
EnterpriseDB Corp.
The Enterprise PostgreSQL Company

On Fri, Feb 11, 2011 at 1:05 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
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

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin




Re: Cascading Recovery

От
Selva manickaraja
Дата:
If not with Streaming Replication, what about Continous Archiving Mode?

On Fri, Feb 11, 2011 at 3:35 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
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

Fwd: Cascading Recovery

От
Selva manickaraja
Дата:
Any updates?

---------- Forwarded message ----------
From: Selva manickaraja <mavles78@gmail.com>
Date: Sat, Feb 12, 2011 at 1:43 AM
Subject: Re: [ADMIN] Cascading Recovery
To: Guillaume Lelarge <guillaume@lelarge.info>
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 <guillaume@lelarge.info> wrote:
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


Re: Cascading Recovery

От
Scott Mead
Дата:


On Sun, Feb 13, 2011 at 10:35 AM, Selva manickaraja <mavles78@gmail.com> wrote:
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 <mavles78@gmail.com>
Date: Sat, Feb 12, 2011 at 1:43 AM
Subject: Re: [ADMIN] Cascading Recovery
To: Guillaume Lelarge <guillaume@lelarge.info>
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 <guillaume@lelarge.info> wrote:
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



Re: Cascading Recovery

От
Selva manickaraja
Дата:
Thank you for the info.

On Mon, Feb 14, 2011 at 5:53 AM, Scott Mead <scottm@openscg.com> wrote:


On Sun, Feb 13, 2011 at 10:35 AM, Selva manickaraja <mavles78@gmail.com> wrote:
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 <mavles78@gmail.com>
Date: Sat, Feb 12, 2011 at 1:43 AM
Subject: Re: [ADMIN] Cascading Recovery
To: Guillaume Lelarge <guillaume@lelarge.info>
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 <guillaume@lelarge.info> wrote:
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