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 0252453344 for ; Tue, 19 Apr 2005 12:06:42 -0300 (ADT) 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 13857-08 for ; Tue, 19 Apr 2005 15:06:37 +0000 (GMT) Received: from mail.libertyrms.com (unknown [207.219.45.62]) by svr1.postgresql.org (Postfix) with ESMTP id 961F553462 for ; Tue, 19 Apr 2005 12:06:36 -0300 (ADT) Received: from dba5.int.libertyrms.com ([10.1.3.44]) by mail.libertyrms.com with esmtp (Exim 4.22) id 1DNuJ9-0000tZ-Is for pgsql-performance@postgresql.org; Tue, 19 Apr 2005 11:06:35 -0400 Message-ID: <42651E7B.7080702@ca.afilias.info> Date: Tue, 19 Apr 2005 11:06:35 -0400 From: Brad Nicholson User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Postgresql works too slow References: <70E6659A9338D8418379B4EC0CA5819137928D@erumomw002.eemea.ericsson.se> <1113921994.16721.2162.camel@localhost.localdomain> In-Reply-To: <1113921994.16721.2162.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Mail-From: bnichols@ca.afilias.info X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.023 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/453 X-Sequence-Number: 11850 Simon Riggs wrote: >On Mon, 2005-04-18 at 08:50 +0400, Nurlan Mukhanov (AL/EKZ) wrote: > > >>I'm trying to restore my database from dump in several parrallel processes, but restore process works too slow. >>Number of rows about 100 000 000, >>RAM: 8192M >>CPU: Ultra Sparc 3 >>Number of CPU: 4 >>OS: SunOS sun 5.8 >>RDBMS: PostgreSQL 8.0 >> >> > > > >>How to encrease postgresql speed? Why postgres took only 5.0% of CPU time? >> >> > >When you say restore...what are you actually doing? >An archive recovery? >A reload? >A file-level restore of database? > > > If you are doing a restore off a pg_dump, did you dump the data as inserts? This takes a lot more time to restore. -- Brad Nicholson 416-673-4106 Database Administrator, Afilias Canada Corp.