Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 66CFE9FBD27 for ; Tue, 16 Oct 2007 16:01:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 17738-03-3 for ; Tue, 16 Oct 2007 16:01:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by postgresql.org (Postfix) with ESMTP id 689AF9FBDF2 for ; Tue, 16 Oct 2007 16:00:42 -0300 (ADT) Received: from new-host.home ([71.179.23.138]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JQ0005EPOCI8SR0@vms044.mailsrvcs.net> for pgsql-docs@postgresql.org; Tue, 16 Oct 2007 13:21:55 -0500 (CDT) Date: Tue, 16 Oct 2007 14:21:37 -0400 From: Robert Treat Subject: Re: Slony for upgrades In-reply-to: <200710160538.l9G5c9k19182@momjian.us> To: pgsql-docs@postgresql.org Cc: Bruce Momjian , Jeff Frost Message-id: <200710161421.37924.xzilla@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <200710160538.l9G5c9k19182@momjian.us> User-Agent: KMail/1.9.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/57 X-Sequence-Number: 4478 On Tuesday 16 October 2007 01:38, Bruce Momjian wrote: > Jeff Frost wrote: > > On Mon, 15 Oct 2007, Bruce Momjian wrote: > > > Seems we didn't have any mention of Slony for upgrades in the migration > > > section, so I added it: > > > > > > > > > It is also possible to use Slony to create a slave > > > server with the updated version of PostgreSQL. The > > > slave can be on the same computer or a different computer. Once it > > > has synced up with the master server (running the older version of > > > PostgreSQL), you can switch masters and make the > > > slave the master and shut down the older database instance. Such a > > > switch-over results in only several minutes of downtime for an upgrade. > > > > > > > Bruce, do you think we should say several minutes of downtime? It's been > > my experience that the downtime is usually measurable in seconds. I > > don't think I've ever had a switchover take more than 1 minute. > > > > Excellent catch and good work by the way! > > Thanks, changed to seconds. I thought someone told me <5 minutes a > while ago but I might have been mistaken. I might question the strict reference to Slony here. AIUI you could do the same thing with Bucardo and a couple of other replication solutions as well. -- Robert Treat Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL