pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@myrealbox.com>
To: Alfranio Correia Junior <alfranio@lsd.di.uminho.pt>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance problems with a higher number of clients
Date: Thu, 11 Dec 2003 12:06:23 +0530
Message-ID: <3FD81067.6010305@myrealbox.com> (raw)
In-Reply-To: <3FD7EEE8.4080904@lsd.di.uminho.pt>
References: <3FD7EEE8.4080904@lsd.di.uminho.pt>

Alfranio Correia Junior wrote:
> Postgresql configuration:
> 
> effective_cache_size = 35000
> shared_buffers = 5000
> random_page_cost = 2
> cpu_index_tuple_cost = 0.0005
> sort_mem = 10240

Lower sort mem to say 2000-3000, up shared buffers to 10K and up effective cache 
size to around 65K. That should make it behave bit better.

I guess tuning sort mem alone would give you performance you are expecting.. 
Tune them one by one.

HTH

  Shridhar



view thread (5+ messages)  latest in thread

Message-ID: <3FD81067.6010305@myrealbox.com>
Permalink:  ../3FD81067.6010305@myrealbox.com/
Also on:    postgresql.org/message-id/3FD81067.6010305@myrealbox.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: shridhar_daithankar@myrealbox.com, alfranio@lsd.di.uminho.pt
  Subject: Re: Performance problems with a higher number of clients
  In-Reply-To: <3FD81067.6010305@myrealbox.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