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 51B375374B for ; Mon, 18 Apr 2005 03:41:02 -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 81430-09 for ; Mon, 18 Apr 2005 06:40:53 +0000 (GMT) Received: from houston.familyhealth.com.au (houston.au.fhnetwork.com [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id 239E853365 for ; Mon, 18 Apr 2005 03:40:48 -0300 (ADT) Received: from houston.familyhealth.com.au (localhost [127.0.0.1]) by houston.familyhealth.com.au (Postfix) with ESMTP id 2C8C724FE2; Mon, 18 Apr 2005 14:40:43 +0800 (WST) Received: from [192.168.0.40] (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (Postfix) with ESMTP id 0EED524FE1; Mon, 18 Apr 2005 14:40:43 +0800 (WST) Message-ID: <42635675.2020309@familyhealth.com.au> Date: Mon, 18 Apr 2005 14:40:53 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Steve Poe , "Nurlan Mukhanov (AL/EKZ)" , pgsql-performance@postgresql.org Subject: Re: Postgresql works too slow References: <70E6659A9338D8418379B4EC0CA5819137928D@erumomw002.eemea.ericsson.se> <426348BD.3040002@sfnet.cc> <14024.1113804695@sss.pgh.pa.us> In-Reply-To: <14024.1113804695@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.07 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/386 X-Sequence-Number: 11783 >>Try enabliing your checkpoint_segments. In my example, our database >>restore took 75mins. After enabling checkpoints_segments to 20, we cut >>it down to less than 30 minutes. > > > Increasing maintenance_work_mem might help too ... or several other > settings ... with no information about exactly *what* is slow, it's > hard to say. Try turning fsync = false for the duration of your reload. Chris