X-Original-To: pgsql-hackers@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8C94A4759AF for ; Fri, 14 Feb 2003 06:59:43 -0500 (EST) Received: from email02.aon.at (WARSL402PIP7.highway.telekom.at [195.3.96.94]) by postgresql.org (Postfix) with SMTP id B8A43475957 for ; Fri, 14 Feb 2003 06:59:42 -0500 (EST) Received: (qmail 406350 invoked from network); 14 Feb 2003 11:59:44 -0000 Received: from m162p021.dipool.highway.telekom.at (HELO cantor) ([62.46.10.53]) (envelope-sender ) by qmail2rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 14 Feb 2003 11:59:44 -0000 From: Manfred Koizar To: "Christopher Kings-Lynne" Cc: "PostgresSQL Hackers Mailing List" Subject: Re: Offering tuned config files Date: Fri, 14 Feb 2003 12:58:57 +0100 Message-ID: References: <20030214032605.GA18932@filer> In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/732 X-Sequence-Number: 35673 On Fri, 14 Feb 2003 14:12:50 +0800, "Christopher Kings-Lynne" wrote: >Here's a stab at some extra conf files. Feel free to shoot them down. No intent to shoot anything down, just random thoughts: effective_cache_size = 20000 (~ 160 MB) should be more adequate for a 256 MB machine than the extremely conservative default of 1000. I admit that the effect of this change is hard to benchmark. A way too low (or too high) setting may lead the planner to wrong conclusions. More parameters affecting the planner: #cpu_tuple_cost = 0.01 #cpu_index_tuple_cost = 0.001 #cpu_operator_cost = 0.0025 Are these still good defaults? I have no hard facts, but ISTM that CPU speed is increasing more rapidly than disk access speed. In postgresql.conf.sample-writeheavy you have: commit_delay = 10000 Is this still needed with "ganged WAL writes"? Tom? Servus Manfred