pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Andrew Sullivan <andrew@libertyrms.info>
Cc: pgsql-performance@postgresql.org
Subject: Re: Tuning for mid-size server
Date: Sun, 14 Dec 2003 00:42:21 -0500 (EST)
Message-ID: <200312140542.hBE5gLI21410@candle.pha.pa.us> (raw)
In-Reply-To: <20031021213408.GA12200@libertyrms.info>

Andrew Sullivan wrote:
> 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.)

I know this is an old email, but have you tested larger shared buffers
in CVS HEAD with Jan's new cache replacement policy?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (29+ messages)  latest in thread

Message-ID: <200312140542.hBE5gLI21410@candle.pha.pa.us>
Permalink:  ../200312140542.hBE5gLI21410@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200312140542.hBE5gLI21410@candle.pha.pa.us

 · 

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: pgman@candle.pha.pa.us, andrew@libertyrms.info
  Subject: Re: Tuning for mid-size server
  In-Reply-To: <200312140542.hBE5gLI21410@candle.pha.pa.us>

* 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