pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Master / slave : major update
2+ messages / 2 participants
[nested] [flat]

* Master / slave : major update
@ 2015-09-29 15:49 Bertrand <b.contacts@kifaisa.com>
  2015-09-29 16:46 ` Re: Master / slave : major update Stéphane Schildknecht <stephane.schildknecht@postgres.fr>
  0 siblings, 1 reply; 2+ messages in thread

From: Bertrand @ 2015-09-29 15:49 UTC (permalink / raw)
  To: pgsql-admin

Hello, 

Currently I use MySQL 5.6 but I plan to migrate to PostgreSQL . 
My application uses two databases : t he total volume is 1TB on my hard drives . 

I made some tests on PostgreSQL administration but I have a problem with Master / Slave. 

How to update the cluster master / slave with a very short break time ? 
I tried to update a slave (9.3 => 9.4) and connect it to the master 9.3 but it doesn't work. 

If I have to stop the master, migrate it to 9.4, start it and repeat these steps for the slaves the breaking time is really long. 

I thank you in advance. 

Bertrand 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Master / slave : major update
  2015-09-29 15:49 Master / slave : major update Bertrand <b.contacts@kifaisa.com>
@ 2015-09-29 16:46 ` Stéphane Schildknecht <stephane.schildknecht@postgres.fr>
  0 siblings, 0 replies; 2+ messages in thread

From: Stéphane Schildknecht @ 2015-09-29 16:46 UTC (permalink / raw)
  To: pgsql-admin

On 29/09/2015 17:49, Bertrand wrote:
> Hello,
> 
> Currently I use MySQL 5.6 but I plan to migrate to PostgreSQL.
> My application uses two databases : the total volume is 1TBon my hard drives.
> 
> I made some tests on PostgreSQL administration but I have a problem with Master
> / Slave.
> 
> How to update the cluster master / slave with a very short break time ?
> I tried to update a slave (9.3 => 9.4) and connect it to the master 9.3 but it
> doesn't work.
> 
> If I have to stop the master, migrate it to 9.4, start it and repeat these
> steps for the slaves the breaking time is really long.
> 
> I thank you in advance.
> 
> Bertrand

Hello,

There is, currently no possibility to use streaming replication for 9.3 -> 9.4
upgrade.

You should have a look at pg_upgrade, which may allow you to do a (quite) fast
migration, if using hard link option.
Or use a tool like slony to do 9.3->9.4 replication system, and then switchover.

Best regards,
-- 
Stéphane Schildknecht
Contact régional PostgreSQL pour l'Europe francophone
Loxodata - Conseil, expertise et formations
06.17.11.37.42


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-09-29 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-29 15:49 Master / slave : major update Bertrand <b.contacts@kifaisa.com>
2015-09-29 16:46 ` Stéphane Schildknecht <stephane.schildknecht@postgres.fr>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox