Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJas1-00072s-WE for pgsql-admin@arkaria.postgresql.org; Wed, 11 Sep 2013 03:13:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VJas0-000163-Vy for pgsql-admin@arkaria.postgresql.org; Wed, 11 Sep 2013 03:13:33 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJary-00015t-Or for pgsql-admin@postgresql.org; Wed, 11 Sep 2013 03:13:31 +0000 Received: from biglist.com ([207.99.53.219]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VJaru-0001Sd-Ky for pgsql-admin@postgresql.org; Wed, 11 Sep 2013 03:13:28 +0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=biglist.com; s=bravo-dkim; t=1378869206; bh=KNcShmTWliSqpzHwIsQpY1NnHag=; h=Received:Received:Subject:From:Content-Type:Message-Id:Date:To: Content-Transfer-Encoding:Mime-Version:X-Mailer; b=W5wrnyc+V9tP9QpYqOR+/Q852q+oFiYg07TSp/QZhMlK1/dmfJz6q7gipkwrmuPm7 J00T3U8pmJsHaKvKUpIa/4ICB78CbYKTdVrxIl0yEUd4qyYpPqdE/1UKzSm0UCzEMI QHuDAVODUnNOHFbaQiNAcY8tjeBLGHokYC23wdSU= Received: (qmail 65090 invoked from network); 11 Sep 2013 03:13:25 -0000 Received: from foon.sporktines.com (HELO toasty.sporklab.com) (spork@96.57.144.66) by biglist.com with ESMTPA; 11 Sep 2013 03:13:25 -0000 Subject: upgrades and streaming replication From: Charles Sprickman Content-Type: text/plain; charset=us-ascii Message-Id: Date: Tue, 10 Sep 2013 23:13:24 -0400 To: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-Pg-Spam-Score: 0.5 (/) 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 I just wanted to check if there are any updates on the preferred way to upg= rade a group of servers that are using streaming replication with minimal d= owntime. Mailing list messages from a year or two ago pretty much state the followin= g: * No current plans to come up with some new mechanism to automate this proc= ess, downtime is assumed. * If you want no downtime, use one of the userspace replication solutions. * Best option is to upgrade the master with pg_upgrade, then upgrade the sl= aves and re-copy your data. * While it's tempting to think you could just run pg_upgrade on all hosts t= o avoid the copy step, that will not work as something in the system catalo= g changes which will break replication. * No good options to speed up the slave copy - rsync will either use timest= amps to figure out if a file changed (and streaming skews that), or checksu= mming (and checksumming is slow). Is that still pretty much the situation today with 9.2 and 9.3? Any good guides or BCPs for the standard procedure that emphasize limiting = downtime and giving a good rollback path? Thanks, Charles --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin