pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Manfred Koizar <mkoi-pg@aon.at>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: PostgresSQL Hackers Mailing List <pgsql-hackers@postgresql.org>
Subject: Re: Offering tuned config files
Date: Fri, 14 Feb 2003 12:58:57 +0100
Message-ID: <c9hp4vcn1crqa51jjsroni901umf727ah9@4ax.com> (raw)
In-Reply-To: <GNELIHDDFBOCMGBFGEFOEEJACFAA.chriskl@familyhealth.com.au>
References: <20030214032605.GA18932@filer>
	<GNELIHDDFBOCMGBFGEFOEEJACFAA.chriskl@familyhealth.com.au>

On Fri, 14 Feb 2003 14:12:50 +0800, "Christopher Kings-Lynne"
<chriskl@familyhealth.com.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



view thread (4+ messages)  latest in thread

Message-ID: <c9hp4vcn1crqa51jjsroni901umf727ah9@4ax.com>
Permalink:  ../c9hp4vcn1crqa51jjsroni901umf727ah9@4ax.com/
Also on:    postgresql.org/message-id/c9hp4vcn1crqa51jjsroni901umf727ah9@4ax.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: mkoi-pg@aon.at, chriskl@familyhealth.com.au, pgsql-hackers@postgresql.org
  Subject: Re: Offering tuned config files
  In-Reply-To: <c9hp4vcn1crqa51jjsroni901umf727ah9@4ax.com>
  References: <20030214032605.GA18932@filer> <GNELIHDDFBOCMGBFGEFOEEJACFAA.chriskl@familyhealth.com.au> <c9hp4vcn1crqa51jjsroni901umf727ah9@4ax.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox