Re: Uber migrated from Postgres to MySQL

Поиск
Список
Период
Сортировка
От D'Arcy J.M. Cain
Тема Re: Uber migrated from Postgres to MySQL
Дата
Msg-id 20160729150346.68116328@imp
обсуждение исходный текст
Ответ на Re: Uber migrated from Postgres to MySQL  (Larry Rosenman <ler@lerctr.org>)
Ответы Re: Uber migrated from Postgres to MySQL  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
On Fri, 29 Jul 2016 13:06:04 -0500
Larry Rosenman <ler@lerctr.org> wrote:
> > Is that because it is hard to install the old and new clusters on
> > the same server on FreeBSD?
> >
> The current FreeBSD Ports collection ports only allow ONE version to
> be installed at a time.

As does NetBSD.  The problem is that unlike Python (which BSD allows
multiple versions) there is only one executable to deal with.  It's not
an insurmountable problem but it could get messy.

The answer is either chroot or mount and run pg_upgrade on another
server. If you can afford the downtime you can also delete PG, install
the new version and run pg_upgrade without modifying the existing DB.
If it succeeds then replace the directories and restart the new
version.  If it fails then uninstall PG, reinstall the older version
and restart. Lather, rinse, repeat until it upgrades cleanly.

--
D'Arcy J.M. Cain <darcy@druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 788 2246     (DoD#0082)    (eNTP)   |  what's for dinner.
IM: darcy@Vex.Net, VoIP: sip:darcy@druid.net


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Uber migrated from Postgres to MySQL
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Uber migrated from Postgres to MySQL