Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zgy2L-0006MC-HJ for pgsql-admin@arkaria.postgresql.org; Tue, 29 Sep 2015 16:45:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zgy2K-0007BC-VE for pgsql-admin@arkaria.postgresql.org; Tue, 29 Sep 2015 16:45:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zgy2J-0007Ap-9M for pgsql-admin@postgresql.org; Tue, 29 Sep 2015 16:45:51 +0000 Received: from ks392306.kimsufi.com ([176.31.105.177] helo=cathode.atosc.org) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Zgy2G-0003iC-Gu for pgsql-admin@postgresql.org; Tue, 29 Sep 2015 16:45:50 +0000 Received: from [192.168.1.16] (bre70-2-78-243-5-30.fbx.proxad.net [78.243.5.30]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by cathode.atosc.org (Postfix) with ESMTPSA id 8D5B0610AE; Tue, 29 Sep 2015 18:45:33 +0200 (CEST) Message-ID: <560AC06B.50605@postgres.fr> Date: Tue, 29 Sep 2015 18:46:35 +0200 From: =?UTF-8?B?U3TDqXBoYW5lIFNjaGlsZGtuZWNodA==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Master / slave : major update References: <758691866.57285254.1443541759806.JavaMail.zimbra@kifaisa.com> In-Reply-To: <758691866.57285254.1443541759806.JavaMail.zimbra@kifaisa.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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