Re: Pg_upgrade question

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: DM <dm(dot)aeqa(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pg_upgrade question
Date: 2010-11-30 22:08:52
Message-ID: 1291154932.3624.3.camel@hp-laptop02.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2010-12-01 00:52:14 Re: Pg_upgrade question
Previous Message DM 2010-11-30 22:00:46 Pg_upgrade question