Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 518E21337B5D for ; Tue, 30 Nov 2010 18:09:15 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 23647-10 for ; Tue, 30 Nov 2010 22:09:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gunduz.org (ns1.gunduz.org [77.79.103.58]) by mail.postgresql.org (Postfix) with ESMTP id A765E1337B4F for ; Tue, 30 Nov 2010 18:09:00 -0400 (AST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.gunduz.org (Postfix) with ESMTP id D5468400390; Wed, 1 Dec 2010 00:12:08 +0200 (EET) X-Virus-Scanned: amavisd-new at mail.gunduz.org Received: from mail.gunduz.org ([127.0.0.1]) by localhost (mail.gunduz.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id blqLgBWAfhad; Wed, 1 Dec 2010 00:12:08 +0200 (EET) Received: from [10.242.2.10] (static-212-68-50-2.akinon.net [212.68.50.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.gunduz.org (Postfix) with ESMTPSA id 8FAD740038F; Wed, 1 Dec 2010 00:12:08 +0200 (EET) Subject: Re: Pg_upgrade question From: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= To: DM Cc: pgsql-general@postgresql.org In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-EtHRO3DoaHl7vc7gphSB" Date: Wed, 01 Dec 2010 00:08:52 +0200 Message-ID: <1291154932.3624.3.camel@hp-laptop02.gunduz.org> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/1224 X-Sequence-Number: 170290 --=-EtHRO3DoaHl7vc7gphSB Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.=20 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,=20 --=20 Devrim G=C3=9CND=C3=9CZ PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/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 --=-EtHRO3DoaHl7vc7gphSB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAkz1dfIACgkQtl86P3SPfQ7TbQCfeDZbMw5Ucum81IlGKnQ21rJu CfIAn30xpKNVVf/pXNy8jfFBrFKcqWBZ =qkXu -----END PGP SIGNATURE----- --=-EtHRO3DoaHl7vc7gphSB--