Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 71B2B6328F0 for ; Sat, 17 Apr 2010 18:53:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95814-04 for ; Sat, 17 Apr 2010 21:53:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from polaris.pinpointresearch.com (cerberus.pinpointresearch.com [66.7.238.130]) by mail.postgresql.org (Postfix) with ESMTP id 0358B632898 for ; Sat, 17 Apr 2010 18:53:38 -0300 (ADT) Received: from betelgeuse.pinpointresearch.com (betelgeuse.pinpointresearch.com [192.168.1.179]) by polaris.pinpointresearch.com (Postfix) with ESMTP id 2535AE00EC84; Sat, 17 Apr 2010 14:53:37 -0700 (PDT) Message-ID: <4BCA2DE0.5090602@pinpointresearch.com> Date: Sat, 17 Apr 2010 14:53:36 -0700 From: Steve Crawford User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Bryan White CC: pgsql-admin@postgresql.org Subject: Re: pg_restore error References: <4BC9F464.20901@pinpointresearch.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.51 tagged_above=-10 required=5 tests=BAYES_05=-0.5, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/243 X-Sequence-Number: 34337 Bryan White wrote: > ... > The new server is a dual socket Nahalem. 8 cores, 16 threads, 48 GB > ram, 2 WAL drives in RAID1 and 12 database drives in RAID10. > I would try setting -j higher - in your case try 8 for starters. Also turn off fsync and autovacuum (and turn them back on !!!). See these and more tips at: http://it.toolbox.com/blogs/database-soup/using-84-parallel-restore-with-your-83-or-82-database-31575 Cheers, Steve