pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GÜNDÜZ <devrim@gunduz.org>
To: DM <dm.aeqa@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Pg_upgrade question
Date: Wed, 01 Dec 2010 00:08:52 +0200
Message-ID: <1291154932.3624.3.camel@hp-laptop02.gunduz.org> (raw)
In-Reply-To: <AANLkTik0A8894wWrWJ+++0H2f8EFCaGNo4oOPgktLM6y@mail.gmail.com>
References: <AANLkTik0A8894wWrWJ+++0H2f8EFCaGNo4oOPgktLM6y@mail.gmail.com>

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

Attachments:

  signature.asc (application/pgp-signature, 197B) download

view thread (8+ messages)  latest in thread

Message-ID: <1291154932.3624.3.camel@hp-laptop02.gunduz.org>
Permalink:  ../1291154932.3624.3.camel@hp-laptop02.gunduz.org/
Also on:    postgresql.org/message-id/1291154932.3624.3.camel@hp-laptop02.gunduz.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: devrim@gunduz.org, dm.aeqa@gmail.com
  Subject: Re: Pg_upgrade question
  In-Reply-To: <1291154932.3624.3.camel@hp-laptop02.gunduz.org>
  References: <AANLkTik0A8894wWrWJ+++0H2f8EFCaGNo4oOPgktLM6y@mail.gmail.com> <1291154932.3624.3.camel@hp-laptop02.gunduz.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox