Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 076AF6328F0 for ; Sat, 17 Apr 2010 19:09:37 -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 98831-03 for ; Sat, 17 Apr 2010 22:09:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f187.google.com (mail-iw0-f187.google.com [209.85.223.187]) by mail.postgresql.org (Postfix) with ESMTP id 7C18B632898 for ; Sat, 17 Apr 2010 19:09:26 -0300 (ADT) Received: by iwn17 with SMTP id 17so2233742iwn.19 for ; Sat, 17 Apr 2010 15:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=oKmSIiI3k+zYe0nEYx+eN+nymMA077RNSBmGwb/CwGo=; b=PPUbQ2yQxtqUOmU1J6U4/zTqVavA/4Vd9YCXFI4MIqwpgCcj+abZ4zSWdhyWuLAlZU UKtEqeZ3rvpyabTMBA9ObZrFb5D/Smpi9cwlZcSGqbk6m7EymSI6bn98YySu1HdfqwB1 yZeNYTuGQiuk4Adqnt75jhbCin15ks8GQ7XeY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=vxEiON2PGKydUsQZFSkiQN7Dfc/G4/b8d7CTIUSygg+Gr2F+Gr4EO8wN13cKNzCLww H6WJ0Thj/rxfwgZQgQ0cb3Cgaqjm5A2vSAHWXfzvBbnoImS/ZdnJxKVEBB5k9oirrOUI UAYgGeeKzSkhdytuA18XtcAlRQ/cu/zmb4Tq0= MIME-Version: 1.0 Received: by 10.231.11.66 with HTTP; Sat, 17 Apr 2010 15:09:24 -0700 (PDT) In-Reply-To: <4BCA2DE0.5090602@pinpointresearch.com> References: <4BC9F464.20901@pinpointresearch.com> <4BCA2DE0.5090602@pinpointresearch.com> Date: Sat, 17 Apr 2010 18:09:24 -0400 Received: by 10.231.60.19 with SMTP id n19mr1173739ibh.79.1271542165000; Sat, 17 Apr 2010 15:09:25 -0700 (PDT) Message-ID: Subject: Re: pg_restore error From: Bryan White To: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.01 tagged_above=-10 required=5 tests=BAYES_40=-0.001, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201004/244 X-Sequence-Number: 34338 On Sat, Apr 17, 2010 at 5:53 PM, Steve Crawford wrote: > Bryan White wrote: >> >> ... >> The new server is a dual socket Nahalem. =A08 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 tur= n > 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 > Success. The -j6 run completed. The time to restore went from 152 minutes to 45 minutes. I was already doing some of the things on the above page. I plan on implementing others and than do a few test runs to find the optimal number of jobs. Thanks! --=20 Bryan White