pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Frank Knobbe <frank@knobbe.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: postgres 7.4 at 100%
Date: Mon, 28 Jun 2004 12:40:02 -0700
Message-ID: <200406281240.02954.josh@agliodbs.com> (raw)
In-Reply-To: <1088397641.1105.10.camel@localhost>
References: <e071108e04062423591d2b8aa9@mail.gmail.com>
	<40DE5C25.6070805@familyhealth.com.au>
	<1088397641.1105.10.camel@localhost>

Frank,

> Doug said the same, yet the PG Tuning article recommends not make this
> too large as it is just temporary used by the query queue or so. (I
> guess the system would benefit using more memory for file system cache)

As one of the writers of that article, let me point out:

" -- Medium size data set and 256-512MB available RAM: 16-32MB (2048-4096) 
-- Large dataset and lots of available RAM (1-4GB): 64-256MB (8192-32768) "

While this is probably a little conservative, it's still way bigger than 40.

I would disagree with the folks who suggest 32,000 as a setting for you.   On 
Linux, that's a bit too large; I've never seen performance improvements with 
shared_buffers greater than 18% of *available* RAM.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (24+ messages)  latest in thread

Message-ID: <200406281240.02954.josh@agliodbs.com>
Permalink:  ../200406281240.02954.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200406281240.02954.josh@agliodbs.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: josh@agliodbs.com, frank@knobbe.us
  Subject: Re: postgres 7.4 at 100%
  In-Reply-To: <200406281240.02954.josh@agliodbs.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