X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 94AFED1CCAB for ; Thu, 20 Nov 2003 23:51:17 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 38787-10 for ; Thu, 20 Nov 2003 19:50:49 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 912A1D1D5A2 for ; Thu, 20 Nov 2003 19:50:45 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hAKNoYr23484; Thu, 20 Nov 2003 18:50:34 -0500 (EST) From: Bruce Momjian Message-Id: <200311202350.hAKNoYr23484@candle.pha.pa.us> Subject: Re: performance problem In-Reply-To: <6890.1069363150@sss.pgh.pa.us> To: Tom Lane Date: Thu, 20 Nov 2003 18:50:34 -0500 (EST) Cc: Rick Gigger , Doug McNaught , "scott.marlowe" , PgSQL General ML X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/1154 X-Sequence-Number: 52804 Tom Lane wrote: > "Rick Gigger" writes: > > I am confused. In this tutorial (by Bruce Momjian) > > http://candle.pha.pa.us/main/writings/pgsql/hw_performance/node8.html > > it says: "As a start for tuning, use 25% of RAM for cache size, and 2-4% for > > sort size." > > That advice is widely considered obsolete --- it was developed in the > days when typical RAM sizes were a lot less than today. I don't believe > anyone has shown a good case for setting shared_buffers much higher than > 10000. Yes, I will update that page shortly. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073