X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8B4B49FB22B for ; Thu, 14 Sep 2006 15:44:01 -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 36158-03 for ; Thu, 14 Sep 2006 15:43:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id 4436F9FA2D4 for ; Thu, 14 Sep 2006 15:43:52 -0300 (ADT) Received: (qmail 5300 invoked from network); 14 Sep 2006 18:43:51 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 14 Sep 2006 18:43:51 -0000 In-Reply-To: References: <56FA8838-6DEA-4505-990D-85D5EDA26243@fastcrypt.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <470FED70-B3BA-4B6C-A6B1-DFD8882746B2@fastcrypt.com> Cc: Pgsql performance Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Vacuums on large busy databases Date: Thu, 14 Sep 2006 14:43:49 -0400 To: Francisco Reyes X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.036 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/166 X-Sequence-Number: 20852 Francisco On 14-Sep-06, at 1:36 PM, Francisco Reyes wrote: > Dave Cramer writes: > >> What is effective_cache set to ? > > Increasing this seems to have helped significantly a web app. Load > times seem magnitudes faster. > > Increased it to effective_cache_size = 12288 # 96MB > > 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 ? effective cache should be set to 75% of free memory > > Don't want to get too carried away right now with too many > changes.. because right now we have very few connections to that > database (usually less than 10), but I expect it to go to a norm of > 20+.. so need to make sure I won't make changes that will be a > problem in that scenario. > > So far only see one setting that can be an issue: work_mem so have > it set to only 32768. > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org >