Re: Upgrading databases

Поиск
Список
Период
Сортировка
От Bosco Rama
Тема Re: Upgrading databases
Дата
Msg-id 4AFB0963.9080608@boscorama.com
обсуждение исходный текст
Ответ на Upgrading databases  (Mark Richardson <markmapo@yahoo.com>)
Список pgsql-interfaces
Mark Richardson wrote:
> Sorry if this is in the wrong list, but this is the closest I could find...
>  
> I have a 8.2.4 database and I installed 8.3.7 and tried using the same
> /pgsql/data/base directory and got an error about incompatiblity.
>  
> The database currently has billions of records but it's sparsely populated.
> It took about 4 months to just populate the original database and I REALLY
> don't want to do that again.
>  
> Is there a conversion routine to change the files themselves? I know I can
> dump and reload - but that takes large disk space and time.  Any other way
> around?

There is no 'in-situ' DB upgrade between major updates from what I can
tell.  There is, however, an alternative to the 'dump to disk' approach
which is to pipe the dump from the old DB to the new DB as outlined in
the migration guide here:   <http://www.postgresql.org/docs/8.3/static/migration.html>

HTH.

Bosc.


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

Предыдущее
От: Kevin Kempter
Дата:
Сообщение: Re: Upgrading databases
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Upgrading databases