pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: cafweb <cafweb@lulu.com>
To: pgsql-performance@postgresql.org
Subject: Re: postgresql.conf
Date: Thu, 31 Jul 2003 10:43:00 -0400
Message-ID: <3F292AF4.1000104@lulu.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0307301403110.25368-100000@css120.ihs.com>
References: <Pine.LNX.4.33.0307301403110.25368-100000@css120.ihs.com>


>So, maybe just a note on which parameters to increase if you have more 
>RAM/CPU/I/O bandwidth in the big server example?
>  
>
Yes, that would be great. Actually I prefer rules of thumb and examples 
for each extreme. If possible a little note WHY the parameter should be 
tweaked, and what effects it will have. For example, more note's like 
Josh's below would be a big help...

>Yes. Take sort_mem for example:
>OLTP_SM	1024
>OLTP_LM	2048
>OLAP_SM	4096
>OLAP_LM	16384
>WWW_SM	512
>WWW_LM	1024
>Workstation	1024
>
>The basic idea is:
>More RAM => more sort_mem
>More concurrent queries => less sort_mem
>Larger data sets => more sort_mem
>Lots of grouped aggregates => more sort_mem
>
>  
>

-- 
[ Christian Fowler
[ cafweb@lulu.com
[ http://www.lulu.com

view thread (11+ messages)  latest in thread

Message-ID: <3F292AF4.1000104@lulu.com>
Permalink:  ../3F292AF4.1000104@lulu.com/
Also on:    postgresql.org/message-id/3F292AF4.1000104@lulu.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: cafweb@lulu.com
  Subject: Re: postgresql.conf
  In-Reply-To: <3F292AF4.1000104@lulu.com>
  References: <Pine.LNX.4.33.0307301403110.25368-100000@css120.ihs.com> <3F292AF4.1000104@lulu.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