Re: Postgres DB Migration from 8.3 to 9.1

Поиск
Список
Период
Сортировка
От Raghavendra
Тема Re: Postgres DB Migration from 8.3 to 9.1
Дата
Msg-id CA+h6AhgafFJbT+RhqeDNxpWh=XGPTwedSQwb7qFoucPnpjiJEw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgres DB Migration from 8.3 to 9.1  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Список pgsql-general
We have our production environment database server in Postgres 8.3 version. we have planned to upgrade to lastest version 9.1. Dump from 8.3  and restore in Postgres 9.1 takes more than 5 hours. Any other quick method to upgrade from 8.3 to 9.1. We need to reduce our downtime  below 1 hour. Any Possibilities..?

You should consider 9.2.. Ofcourse, you need to test your application against 9.2 before migrating, because as you mentioned you are on 8.3 where you application might be compatible to it. There are some changes to functions,string handling etc which are more advanced in 9.2. Once you agree that app.. is good to go with 9.2, now to think for option with less downtime or affordable downtime.

I would say, use pg_upgrade which has minimal downtime. I guess pg_uprades supports from 8.3 onwards. 
If you say no downtime or even minimal then prefer Slony-I (trigger based replication). 

---
Regards,
Raghavendra
EnterpriseDB Corporation

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Postgres DB Migration from 8.3 to 9.1
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Expensive log_line_prefix ?