Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 93138B5DC16 for ; Thu, 15 Sep 2011 20:12:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 61835-07 for ; Thu, 15 Sep 2011 23:12:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 65FE7B5DBF0 for ; Thu, 15 Sep 2011 20:12:37 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R4L6i-0001i2-Kx for pgsql-admin@postgresql.org; Thu, 15 Sep 2011 16:12:36 -0700 Date: Thu, 15 Sep 2011 16:12:36 -0700 (PDT) From: "marvin.deoliveira" To: pgsql-admin@postgresql.org Message-ID: <1316128356637-4808758.post@n5.nabble.com> In-Reply-To: References: <1316125973378-4808653.post@n5.nabble.com> Subject: Re: RESTORE IS TO SLOW MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201109/106 X-Sequence-Number: 38343 I'm using postgres 9.0.2 32 bits on Debian 5. The hardware is a pc with 2 GB RAM, with 2 sata disks. Well, that's what I have at the moment. The restore was started like: pg_restore -U postgres --data-only --disable-triggers -v /bck/.sql -d The pg_restore shows: pg_restore: disabling triggers for pg_restore: restoring data for table "
" <- that's taking more time that I'd like. pg_restore: enabling triggers for
I've read the posts that you send, and saw a lot of things that I didn't do. I'm pretty sure that I'm going to have much better performance after change the parameters. But I still have a doubt: Droping the indexes, could give me more performance? ----- Marcos Oliveira And I still haven't found what I'm looking for... -- View this message in context: http://postgresql.1045698.n5.nabble.com/RESTORE-IS-TO-SLOW-tp4808653p4808758.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com.