Re: Pg_upgrade question - Mailing list pgsql-general

From Devrim GÜNDÜZ
Subject Re: Pg_upgrade question
Date
Msg-id 1291154932.3624.3.camel@hp-laptop02.gunduz.org
Whole thread Raw
In response to Pg_upgrade question  (DM <dm.aeqa@gmail.com>)
List pgsql-general
On Tue, 2010-11-30 at 14:00 -0800, DM wrote:
> We are planning to upgrade to 9.01 from 8.4/8.3 version. On my
> production Server, there isn't much space left to do a pg_upgrade
> (Copy),

You can use pg_upgrade in link mode -- and AFAIK it uses less extra
space as compared to copy mode:

http://www.postgresql.org/docs/9.0/static/pgupgrade.html

> Can I execute pg_upgrade from new box by pointing to the data
> directory and binaries on old box.

Alternatively, you can use pg_dump of 9.0 to dump the data, and restore
it using psql, since you don't really need pg_upgrade here -- you will
be moving to a new hardware anyway.

Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

pgsql-general by date:

Previous
From: DM
Date:
Subject: Pg_upgrade question
Next
From: Vick Khera
Date:
Subject: Re: Pg_upgrade question