| From: | Stéphane Schildknecht <stephane(dot)schildknecht(at)postgres(dot)fr> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: Master / slave : major update |
| Date: | 2015-09-29 16:46:35 |
| Message-ID: | 560AC06B.50605@postgres.fr |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Roman Shubovich | 2015-09-29 23:01:58 | hot standby, how to disable WAL archiving ? |
| Previous Message | Bertrand | 2015-09-29 15:49:19 | Master / slave : major update |