Re: How do you upgrade for production servers?

Поиск
Список
Период
Сортировка
От Jerry Sievers
Тема Re: How do you upgrade for production servers?
Дата
Msg-id m3hcve8yz2.fsf@mama.jerrysievers.com
обсуждение исходный текст
Ответ на How do you upgrade for production servers?  (Arnau <arnaulist@andromeiberica.com>)
Список pgsql-admin
Arnau <arnaulist@andromeiberica.com> writes:

> Hi all,
>
>    This is a general question about which procedure you follow when
>    you upgrade your productions servers. Let's say we have a server
>    running and older version and I want to install the latest version
>    on the same server. Do you install slony? do you dump all the
>    databases, install the latest version and after you restore? any
>    other procedure? I'd like to have my production server down as less
>    time as possible.

From personal experience, the Slony aided upgrade between Postgres
major versions results in the least downtime.

The negatives are that if you've never worked with Slony before,
getting familiar with it and then R&D needed to make sure your upgrade
goes smoothly can be very time costly.

You also have to be comfortable with the substantial complexity that
Slony adds to the DB while in use.

Still if you have DBs that would take hours or days to load from dump
files, and business can't allow a service window for doing this, Slony
is the way.

I have a vague notion that someone was working on a contrib (maybe
unofficial) package for fast upgrade but you'll have to investigate.

HTH

> Thank you very much and have a great new year :D
> --
> Arnau
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
>

--
-------------------------------------------------------------------------------
Jerry Sievers   305 854-3001 (home)     Production Database Administrator
                305 321-1144 (mobil    WWW E-Commerce Consultant

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

Предыдущее
От: "Gregory S. Williamson"
Дата:
Сообщение: Re: How do you upgrade for production servers?
Следующее
От: "Chetan Parekh"
Дата:
Сообщение: Postgres and Firewall