pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Iain <iain@mst.co.jp>
To: Amrit Angsusingh <amrit@spr.go.th>
To: pgsql-performance@postgresql.org
Subject: Re: Howto Increased performace ?
Date: Mon, 27 Dec 2004 10:29:54 +0900
Message-ID: <00cb01c4ebb3$94aebf10$7201a8c0@mst1x5r347kymb> (raw)
References: <2452.192.168.2.6.1103621509.squirrel@192.168.2.6>

Hi,

> #sort_mem = 1024 # min 64, size in KB
> sort_mem = 60000

I think this might be too much. You are using 60000KB _per connection_ here 
= 10GB for your maximum of 180 connections.

By comparison, I am specifiying 4096 (subject to adjustment) for a machine 
with a similar spec to yours.

regards
Iain







view thread (9+ messages)  latest in thread

Message-ID: <00cb01c4ebb3$94aebf10$7201a8c0@mst1x5r347kymb>
Permalink:  ../00cb01c4ebb3$94aebf10$7201a8c0@mst1x5r347kymb/
Also on:    postgresql.org/message-id/00cb01c4ebb3$94aebf10$7201a8c0@mst1x5r347kymb

 · 

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: iain@mst.co.jp, amrit@spr.go.th
  Subject: Re: Howto Increased performace ?
  In-Reply-To: <00cb01c4ebb3$94aebf10$7201a8c0@mst1x5r347kymb>

* 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