Re: 7.4 --> 8.0/8.1 upgrade

Поиск
Список
Период
Сортировка
От Milen A. Radev
Тема Re: 7.4 --> 8.0/8.1 upgrade
Дата
Msg-id e0dk7e$1si$1@sea.gmane.org
обсуждение исходный текст
Ответ на Re: 7.4 --> 8.0/8.1 upgrade  (Chris Travers <chris@metatrontech.com>)
Список pgsql-admin
Chris Travers написа:
> Scott Marlowe wrote:
>
>> On Tue, 2006-03-28 at 19:47, sh test wrote:
>>
>>
>>> Hello admins!
>>>
>>> i need to collect as much information
>>>
>>> pro/cons on a possible upgrade from
>>>
>>> 7.4 ---> 8.0/8.1 version
>>>
>>> Aside from getting our users vote on this, I wanted to ask you first
>>> in order to collect any possible issues one might run into from
>>> upgrading to such
>>> versions.
>>>
>>
>> Downside:  You gotta dump and reload, or use slony to minimize the
>> downtime, but you need a spare machine to do that.
>> Upside:  Everything else.  PostgreSQL 8.x series has a lot of
>> performance improvements.
>>
>>
> When I upgraded from 7.4.2 to 8.1.3, I lost the oid fields in some
> tables which caused some issues with one application.

Probably because in 8.1 the value for the "default_with_oids" parameter
is "false". If you had tried to set it to "true" (at least for duration
of the restore) then you would have not lost those OIDs.

>
> I suspect that the better path is to upgrade (without dump/reload) to
> the most recent 7.4 release and then dump/reload when upgrading to 8.1.x
> but I am not 100% sure.
>
> If you don't WANT OID's in your table (they were dropped for a reason,
> you know), then this is not a concern.




--
Milen A. Radev

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

Предыдущее
От: Chris Travers
Дата:
Сообщение: Re: 7.4 --> 8.0/8.1 upgrade
Следующее
От: "Gourish Singbal"
Дата:
Сообщение: auto vacuuming