Re: Offering tuned config files

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
Cc: "PostgresSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Offering tuned config files
Date: 2003-02-14 11:58:57
Message-ID: c9hp4vcn1crqa51jjsroni901umf727ah9@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers pgsql-performance

On Fri, 14 Feb 2003 14:12:50 +0800, "Christopher Kings-Lynne"
<chriskl(at)familyhealth(dot)com(dot)au> 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

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Bruce Momjian 2003-02-14 12:36:38 Re: PG_TEMP_FILES_DIR
Previous Message Kevin Brown 2003-02-14 11:48:43 Re: Tuning scenarios (was Changing the default configuration)

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-02-14 12:17:17 Re: location of the configuration files
Previous Message Kevin Brown 2003-02-14 11:48:43 Re: Tuning scenarios (was Changing the default configuration)

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2003-02-14 12:35:46 Re: JBoss CMP Performance Problems with PostgreSQL 7.2.3
Previous Message Kevin Brown 2003-02-14 11:48:43 Re: Tuning scenarios (was Changing the default configuration)