X-Original-To: pgsql-novice-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id B95B29FB200 for ; Mon, 7 Aug 2006 16:19:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 47098-08 for ; Mon, 7 Aug 2006 16:18:59 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web31801.mail.mud.yahoo.com (web31801.mail.mud.yahoo.com [68.142.207.64]) by postgresql.org (Postfix) with SMTP id 92E219FA68D for ; Mon, 7 Aug 2006 16:18:58 -0300 (ADT) Received: (qmail 43060 invoked by uid 60001); 7 Aug 2006 19:18:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=F3pPtd3GHXOm1sVFrXwGZqBsltQdZ4VubE+XgT7kPGTuBjKz4FWWQ+nmqZHkfNzyQvPAo6vdDmvAbvKHDD94WtI5odDyItn5vORKT5WWY9f9+xf6rGieYHXfwIdNvEJsEbKDGJZCtKAZOmYas+Hwjuiwv3HS6/j7tDNrpf1QUUw= ; Message-ID: <20060807191856.43058.qmail@web31801.mail.mud.yahoo.com> Received: from [63.203.180.122] by web31801.mail.mud.yahoo.com via HTTP; Mon, 07 Aug 2006 12:18:56 PDT Date: Mon, 7 Aug 2006 12:18:56 -0700 (PDT) From: Richard Broersma Jr Subject: Re: [PERFORM] 7.3.2 pg_restore very slow To: Saranya Sivakumar , pgsqlnovice , pgsqlperform In-Reply-To: <20060807172825.52230.qmail@web51314.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.566 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS X-Spam-Level: ** X-Archive-Number: 200608/58 X-Sequence-Number: 17273 > Thank you very much for the information. The SHMMAX was set to 33554432, and that's why it > failed to start the postmaster. Thanks for the link to the kernel resources article. I guess > changing these parameters would require recompiling the kernel. > > Is there any work around without changing these parameters to make maximum use of RAM? > > We got a new server now with 2GB RAM, but it also has the same value for SHMMAX. > > And I am trying the restore with the following conf > sort_mem = 40960 (changed from 1024) > shared_buffers = 3000 (changed from 64) > max_connections = 128 (changed from 32) This is one of the best links that I can give you in addition to the Postgresql Kernel resource link. http://www.powerpostgresql.com/PerfList I am pretty much a beginner at resource tuning also. In fact, after googling for sources that describe how to tune kernel parameters, the postgresql documents remains the best documents I've found so far. I would be interested if anyone else on the list knows of any resources or books that have an in depth discussion on methods/strategies to tune kernel parameters to maximized usage of system resources and at the same time allow for harmonious sharing between various programs/services. Regards, Richard Broersma Jr.