Re: Replication broken. Stale data in slave Database

From: Alberto Olivares <alberto(dot)olivares(at)snowflakesoftware(dot)com>
To: gilberto(dot)castillo(at)etecsa(dot)cu
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Replication broken. Stale data in slave Database
Date: 2015-06-24 15:11:59
Message-ID: CAGdoAzh+QHVPG1a1Ou+USMHAR-M06y=XGa_5_Y53gr_dzQ6xgw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi John and Gilberto,

Thanks for your answer.

We have a synchronous streaming replication. Database is PostgreSQL 9.1.15
on linux.

Saludos,
Alberto.

*Alberto Olivares Colas*Technical Consultant
Snowflake Software

Tel.: +44 (0)2380 386578

Email: alberto(dot)olivares(at)snowflakesoftware(dot)com
Website: www.snowflakesoftware.com
Twitter: @sflakesoftware <http://www,twitter(dot)com(at)sflakesoftware/>
Follow us on LinkedIn <http://www.linkedin.com/company/snowflake-software>

*Winner of IHS Jane's ATC Award - Enabling Technology*
*Read more <http://www.snowflakesoftware.com/2015/03/janes-award/>*

Registered in England & Wales. Registered Number: 4294244
-----------------------------------------------------------------------------------------

On 24 June 2015 at 17:07, Gilberto Castillo <gilberto(dot)castillo(at)etecsa(dot)cu>
wrote:

>
> > Hi all,
> >
> > We have set up a Streaming replication.
> >
> > Master database serves temporal data being replicated on the Slave
> > database.
> >
> > In the event that we shut down the Master database, the slave database
> > contains residual data that we do not need.
> >
> > Is there any way to trigger a SQL to delete all data from the slave
> > database in the event that the replication is broken?
> >
>
> What your version PG?
>
>
> Saludos,
> Gilberto Castillo
> ETECSA, La Habana, Cuba
>
>

--
*Winner of IHS Jane's ATC Award - Enabling Technology*
*Read more <http://www.snowflakesoftware.com/2015/03/janes-award/>*

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alberto Olivares 2015-06-24 15:40:24 Re: Replication broken. Stale data in slave Database
Previous Message John Scalia 2015-06-24 14:52:50 Re: Replication broken. Stale data in slave Database