Re: postgresql 8.0 advantages

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: postgresql 8.0 advantages
Дата
Msg-id 1109536061.9880.87.camel@Andrea.peacock.de
обсуждение исходный текст
Ответ на Re: postgresql 8.0 advantages  ("Jim C. Nasby" <decibel@decibel.org>)
Ответы Fast major-version upgrade (was: postgresql 8.0 advantages)  ("Jim C. Nasby" <decibel@decibel.org>)
Список pgsql-general
Hi,

Am Samstag, den 26.02.2005, 15:35 -0600 schrieb Jim C. Nasby:
> On Sat, Feb 26, 2005 at 01:27:55AM -0800, Jeff Davis wrote:
> > On Fri, 2005-02-25 at 09:20 -0800, Si Chen wrote:
> > > Thanks!
> > >
> > > Is there any documentation on how to upgrade to 8.0?
> > >
> > > Is it possible to upgrade from 7.4 to 8.0 while keeping a production
> > > database running "in place"?  Or should I install 8.0 in another
> > > directory/machine and then restore the database into it?  Are there any
> > > incompatibilities/modifications to databases from the earlier veresion
> > > required?
> > >
> >
> > You might want to check out Slony-I <http://www.slony.info> for the
> > purpose of upgrading. Slony is actually a replication engine, but it can
> > be used to upgrade with little or no downtime. Otherwise, just
> > dump/upgrade/restore like normal.
>
> Has anyone tried moving a database from one location to another on the
> HD? I'd like to use slony to minimize downtime, but I'd also like my
> data to end up in the same place it is right now when I'm done.

I used a straight copy of the filesystem with running database
(over the net in my case) and immediately after that,
stop the db and rsync for the last changes. This took only
10 minutes (compared to 1.5h for the full filesystem copy)
and I could start up the db in new location.

this could work for you too.

Regards
Tino


В списке pgsql-general по дате отправления:

Предыдущее
От: Chris Smith
Дата:
Сообщение: Re: Referencing created tables fails with message that
Следующее
От: cbbrowne@ca.afilias.info
Дата:
Сообщение: Re: [Slony1-general] Nagios plugin to check slony replication