pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: Tuning for mid-size server
Date: Tue, 21 Oct 2003 17:34:08 -0400
Message-ID: <20031021213408.GA12200@libertyrms.info> (raw)
In-Reply-To: <Pine.LNX.4.33.0310211509220.10899-100000@css120.ihs.com>
References: <20031021205504.GJ11421@libertyrms.info>
	<Pine.LNX.4.33.0310211509220.10899-100000@css120.ihs.com>

On Tue, Oct 21, 2003 at 03:11:17PM -0600, scott.marlowe wrote:
> I think where it makes sense is when you have something like a report 
> server where the result sets may be huge, but the parellel load is load, 
> i.e. 5 or 10 users tossing around 100 Meg or more at time.

In our case, we were noticing that truss showed an unbelievable
amount of time spent by the postmaster doing open() calls to the OS
(this was on Solaris 7).  So we thought, "Let's try a 2G buffer
size."  2G was more than enough to hold the entire data set under
question.  Once the buffer started to fill, even plain SELECTs
started taking a long time.  The buffer algorithm is just not that
clever, was my conclusion.

(Standard disclaimer: not a long, controlled test.  It's just a bit
of gossip.)

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Afilias Canada                        Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (29+ messages)  latest in thread

Message-ID: <20031021213408.GA12200@libertyrms.info>
Permalink:  ../20031021213408.GA12200@libertyrms.info/
Also on:    postgresql.org/message-id/20031021213408.GA12200@libertyrms.info

 · 

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: andrew@libertyrms.info
  Subject: Re: Tuning for mid-size server
  In-Reply-To: <20031021213408.GA12200@libertyrms.info>

* 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