Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 703F39F9F46 for ; Fri, 22 Dec 2006 06:08:20 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 55641-05 for ; Fri, 22 Dec 2006 06:08:11 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by postgresql.org (Postfix) with ESMTP id 3C2079F9DAD for ; Fri, 22 Dec 2006 06:08:14 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so3554831nfb for ; Fri, 22 Dec 2006 02:08:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qS9qHB3Gw65ACxZ3tQ3fcYcSweURnEmg+P6ylJFCwmRqrlsZu2Xyw127trGqHbj9m+UyrkgEz79INT1TzX6TLuOyevLvw2HqqA7c4qXAr5bjdFg001b37VZm90fYZ+aKTHfpUgz201rhAd+mLwsA83m4Sh4ZC7Bu95cz5hCiNSU= Received: by 10.49.26.18 with SMTP id d18mr11803644nfj.1166782092628; Fri, 22 Dec 2006 02:08:12 -0800 (PST) Received: by 10.49.85.17 with HTTP; Fri, 22 Dec 2006 02:08:12 -0800 (PST) Message-ID: Date: Fri, 22 Dec 2006 11:08:12 +0100 From: Federico To: pgsql-admin@postgresql.org Subject: Re: Very Very Slow Database Restore In-Reply-To: <1166723003.4208.6.camel@mcclintock.anticsoffline.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1166646860.3941.4.camel@mcclintock.anticsoffline.com> <14149.1166680064@sss.pgh.pa.us> <1166723003.4208.6.camel@mcclintock.anticsoffline.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/295 X-Sequence-Number: 24087 On 12/21/06, Joseph McClintock wrote: > Thanks for the feed back. Doubling the work_men from 10240 to 20480 > seemed to make the process faster but then I ran out of disk space. > Shared buffers are at 2000 which I can try increasing. > > I now need to move the database off the system partition to my working > partition which has more space. I hope don't have to re-install > Postges, that would be a real bummer. > Hi Joseph, to move the database cluster to another partition is very simple with postgresql. You need to shutdown the postmaster, after this copy your database cluster directory preserving user and permissions to the new location, update the $PGDATA variable for the user postgres with the value of the new location , startup the postmaster, enjoy ;) Best Regards and Merry Christmas Federico Campoli