Search Postgresql Archives

Re: Turn off streaming replication - leaving Master running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If i touch my trigger file and promote my secondary to a master - what effect will that have on the Master - will i need to make any changes on that side ? Will it still try and stream data across to the promoted secondary and just fill up the log files with error messages ?

On 29 June 2015 at 16:50, Michael Paquier <michael.paquier@xxxxxxxxx> wrote:


On Mon, Jun 29, 2015 at 3:34 PM, Andy Erskine <andy.erskine@xxxxxxxxxx> wrote:
no snapshot available .. i don't mind running basebackup once i've finished my test.

So if someone could help with the steps to turn off replication and bring secondary up as a standalone db that would be great.

How to promote a node: pg_ctl promote or use a trigger_file:
Turning temporarily off replication has little meaning if you intend to bring back a new standby afterwards.
My 2c.
--
Michael



--

Andy Erskine

 

JDS Australia
P 1300 780 432 | M 0431919301 | F 03 90124578

E: andy.erskine@jds.net.au

Wwww.jds.net.au
Level 8, 2 Russell Street, Melbourne, VIC 3000
GPO Box 4777, Melbourne VIC 3001

JDS Signature v1


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux