X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 379AA9FB24B for ; Thu, 14 Sep 2006 17:30:58 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 18442-05 for ; Thu, 14 Sep 2006 20:30:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by postgresql.org (Postfix) with ESMTP id 812159FA0FD for ; Thu, 14 Sep 2006 17:30:54 -0300 (ADT) Received: from zoraida.natserv.net (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 534BBB873; Thu, 14 Sep 2006 16:30:47 -0400 (EDT) Received: from 35st-server.simplicato.com (static-71-249-233-130.nycmny.east.verizon.net [71.249.233.130]) by zoraida.natserv.net (Postfix) with ESMTP id CA468B838; Thu, 14 Sep 2006 16:30:46 -0400 (EDT) References: <56FA8838-6DEA-4505-990D-85D5EDA26243@fastcrypt.com> <470FED70-B3BA-4B6C-A6B1-DFD8882746B2@fastcrypt.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: Dave Cramer Cc: Pgsql performance Subject: Re: Vacuums on large busy databases Date: Thu, 14 Sep 2006 16:30:46 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.134 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/170 X-Sequence-Number: 20856 Dave Cramer writes: >> What is a reasonable number? >> I estimate I have at least 1 to 2 GB free of memory. > You are using 6G of memory for something else ? Right now adding up from ps the memory I have about 2GB. Have an occassional program which uses up to 2GB. Then I want to give some breathing room for when we have more connections so that work_mem doesn't make the macihne hit swap. At 32MB say worst case scenario I may have 50 operations using those 32MB, that's about 1.5GB. 2+2+1.5 = 5.5 So I believe I have free about 2.5GB > effective cache should be set to 75% of free memory So I will increase to 1.5GB then. I may have more memory, but this is likely a safe value. Thanks for the feedback.. Didn't even know about this setting.