X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 69E2E3A56AD; Thu, 2 Dec 2004 02:49:00 +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 59384-08; Thu, 2 Dec 2004 02:48:51 +0000 (GMT) Received: from www.postgresql.com (unknown [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id EE1BD3A56C7; Thu, 2 Dec 2004 02:48:22 +0000 (GMT) Received: from davinci.ethosmedia.com (server226.ethosmedia.com [209.128.84.226]) by www.postgresql.com (Postfix) with ESMTP id A36287393B4; Wed, 1 Dec 2004 20:19:51 +0000 (GMT) Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 6731447; Wed, 01 Dec 2004 12:17:29 -0800 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org, grupos@carvalhaes.net Subject: Re: [PERFORM] pg_restore taking 4 hours! Date: Wed, 1 Dec 2004 12:19:00 -0800 User-Agent: KMail/1.6.2 Cc: pgsql-general@postgresql.org References: <41ADA82A.7070405@carvalhaes.net> In-Reply-To: <41ADA82A.7070405@carvalhaes.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412011219.00248.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/77 X-Sequence-Number: 69689 Rodrigo, > Our machine it's a Dell Server Power Edge 1600sc (Xeon 2,4Ghz, with 1GB > memory, 7200 RPM disk). I don't think that there is a machine problem > because it's a server dedicated for the database and the cpu utilization > during the restore is around 30%. In addition to Tom and Shridhar's advice, a single IDE disk is simply going to make restores slow. A 500MB data file copy on that disk, straight, would take up to 15 min. If this is for your ISV application, you need to seriously re-think your hardware strategy; spending less on processors and more on disks would be wise. -- --Josh Josh Berkus Aglio Database Solutions San Francisco