X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 397B73A62FE for ; Mon, 13 Dec 2004 18:26:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19677-09 for ; Mon, 13 Dec 2004 18:26:24 +0000 (GMT) Received: from davinci.ethosmedia.com (server226.ethosmedia.com [209.128.84.226]) by svr1.postgresql.org (Postfix) with ESMTP id 691B53A63DC for ; Mon, 13 Dec 2004 18:26:24 +0000 (GMT) Received: from [63.195.55.98] (account josh@agliodbs.com HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 6781599; Mon, 13 Dec 2004 10:27:59 -0800 From: Josh Berkus Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: pg_restore taking 4 hours! Date: Mon, 13 Dec 2004 10:25:54 -0800 User-Agent: KMail/1.6.2 Cc: Vivek Khera References: <41ADA82A.7070405@carvalhaes.net> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200412131025.54587.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/165 X-Sequence-Number: 9540 Vivek, > The biggest improvement in speed to restore time I have discovered is > to increase the checkpoint segments. =A0I bump mine to about 50. =A0And > moving the pg_xlog to a separate physical disk helps a lot there, too. Don't leave it at 50; if you have the space on your log array, bump it up t= o=20 256. =2D-=20 Josh Berkus Aglio Database Solutions San Francisco