Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9E4741337B54 for ; Tue, 26 Oct 2010 12:33:23 -0300 (ADT) 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 09749-05 for ; Tue, 26 Oct 2010 15:33:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from web39705.mail.mud.yahoo.com (web39705.mail.mud.yahoo.com [209.191.106.51]) by mail.postgresql.org (Postfix) with SMTP id D43301337B48 for ; Tue, 26 Oct 2010 12:33:15 -0300 (ADT) Received: (qmail 96219 invoked by uid 60001); 26 Oct 2010 15:33:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1288107194; bh=STNXq4NUKELUDpwAIaU1/vVRwscWrrbbnD3BWF0jxPk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=zZCcvcElwgAF4POcFcoCwECx8QxhJ86f4Ga9pbX2xM9WhL2sxxxQFO1vdKlizdffs+RNleAq3xTAg99zu3J3IPbWupq5eplsH/USmheXGopKmbAGdMolO3afmLwacXyu8kY+uI4bFCLBVfO3aHHRK7XrcqgLTQ+S77gaf7bPBnU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=nw3EuaycdVyO69i8flMhK2371vtGTpRBpmJxhI+BdhHneyDkTKH3OS1GFgnHTuPBo8kMR/OUrk+jmdgV3kyQ4B1l8UbWuG/0yQnsZbgioesQ7IRlBfbp2Ush+4Mu1pHg5odrOSL0wLCP8wocoOSFNUYLk2F/dgPq7FY4x0AEeAE=; Message-ID: <336456.89598.qm@web39705.mail.mud.yahoo.com> X-YMail-OSG: LR_OYL8VM1m9Vl5b7NzwDpYgipP5ZbxSe4BeVXYeGkMK7LO s4i3iFkqw1O7Hrb0CaN59V7k6b7aD6MWjflDnmbHxPjaz6Vd7cAvIdm59l47 3tgIzyEDk1zpdZOn8fgW8SV3K87DJrxHPQgdXVXoYzkfmRwelqcgf5d0qGe0 jOWEwQoVJkAlA9EUF0ECSRlFzlkHrzDF4_RY69D0gcILbAKYBBCmNWlsV8wG BKFZQpg_fg1ipZ1DU3gxio3niXiJocA6z2V3v7j0Fe6lTv6I6WM6yl4o65cb UBuxT_MRNxN0rAM2xpWr.ln7SUrMtDa99INrzI2nE6hyMFDLuOds_e5f6Kyo bzWcZs3v1y0Cny4ImydOtSgUOewiI7OI799IFdISdwA-- Received: from [64.126.29.122] by web39705.mail.mud.yahoo.com via HTTP; Tue, 26 Oct 2010 08:33:14 PDT X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.284920 Date: Tue, 26 Oct 2010 08:33:14 -0700 (PDT) From: Bob Lunney Subject: Re: pg_dump/restore problems To: pgsql-admin@postgresql.org, Glen Brown In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1882136753-1288107194=:89598" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/186 X-Sequence-Number: 35927 --0-1882136753-1288107194=:89598 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Glen, Did you drop the indexes prior to the restore? =A0If not, try doing so and = recreating the indexes afterwards. =A0That will also speed up the data load= . Bob Lunney --- On Mon, 2/15/10, Glen Brown wrote: From: Glen Brown Subject: [ADMIN] pg_dump/restore problems To: pgsql-admin@postgresql.org Date: Monday, February 15, 2010, 1:25 PM I am not sure where I should post this but I am running into problems tryin= g to restore a large table. I am running 8.4.1 on all servers. The table is= about 25gb in size and most of that is toasted. It has about 2.5m records.= When I dump this table using pg_dump -Fc it creates a 15 gb file. I am try= ing to restore in into a database that has 100gb of free disk space and it = consumes it all and fails to finish the restore. The table is not partition= ed and has a few indexes on it. What can I do?=0A=0A=A0=0Athanks=0A-glen=0A Glen Brown =0A=0A=0A=0A --0-1882136753-1288107194=:89598 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Glen,

Did you drop the ind= exes prior to the restore?  If not, try doing so and recreating the in= dexes afterwards.  That will also speed up the data load.
Bob Lunney

--- On Mon, 2/15/10, Glen Brown <gk= brown22@gmail.com> wrote:

From: = Glen Brown <gkbrown22@gmail.com>
Subject: [ADMIN] pg_dump/restore = problems
To: pgsql-admin@postgresql.org
Date: Monday, February 15, 20= 10, 1:25 PM

I am not sure where I shou= ld post this but I am running into problems trying to restore a large table= . I am running 8.4.1 on all servers. The table is about 25gb in size and mo= st of that is toasted. It has about 2.5m records. When I dump this table us= ing pg_dump -Fc it creates a 15 gb file. I am trying to restore in into a data= base that has 100gb of free disk space and it consumes it all and fails to = finish the restore. The table is not partitioned and has a few indexes on i= t. What can I do?
=0A=0A
 
=0A
thanks
=0A
-= glen
=0A

Glen Brown
=0A

=0A=0A=0A=0A=0A=0A=0A=0A --0-1882136753-1288107194=:89598--