From: Bruce Momjian <bruce@momjian.us>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-docs@postgresql.org, Jeff Frost <jeff@frostconsultingllc.com>
Subject: Re: Slony for upgrades
Date: Tue, 16 Oct 2007 15:44:42 -0400 (EDT)
Message-ID: <200710161944.l9GJigu05807@momjian.us> (raw)
In-Reply-To: <200710161421.37924.xzilla@users.sourceforge.net>
Robert Treat wrote:
> 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:
> > > >
> > > > <para>
> > > > It is also possible to use <productname>Slony</> to create a slave
> > > > server with the updated version of <productname>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
> > > > <productname>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.
> > > > </para>
> > >
> > > 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.
OK, I now say "like Slony":
It is also possible to use replication like <productname>Slony</> to
create a slave server with the updated version of
<productname>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 <productname>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 seconds
of downtime for an upgrade.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-docs@postgresql.org
Cc: bruce@momjian.us, xzilla@users.sourceforge.net, jeff@frostconsultingllc.com
Subject: Re: Slony for upgrades
In-Reply-To: <200710161944.l9GJigu05807@momjian.us>
References: <200710161421.37924.xzilla@users.sourceforge.net> <200710161944.l9GJigu05807@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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