pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Mattox <michael.mattox@verideon.com>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Version 7 question
Date: Tue, 1 Jul 2003 15:02:21 +0200
Message-ID: <CJEBLDCHAADCLAGIGCOOKEOKCKAA.michael.mattox@verideon.com> (raw)
In-Reply-To: <1057063946.24304.377.camel@camel>

> yes, I'd say start with about 25% of RAM, then adjust from there. If 25%
> takes you over your SHMMAX then start at your SHMMAX.

You're the first person I've seen to suggest that many buffers.  I've read
that too many can slow down performance.  I have 1.5 gigs of RAM on my
server but I'm also running a few other java programs that take up probably
500 megs total of memory, leaving me 1gig for Postgres.  Should I set my
shared buffers to be 25% of 1gig?  That would be 32768.  Then what should my
effective cache be?  Right now I have it set to 64000 which would be
512megs.  Between the buffers and cache that'd be a total of 768megs,
leaving approximately 768 for my other java apps & the OS.

Sounds reasonable to me.

Michael






view thread (12+ messages)  latest in thread

Message-ID: <CJEBLDCHAADCLAGIGCOOKEOKCKAA.michael.mattox@verideon.com>
Permalink:  ../CJEBLDCHAADCLAGIGCOOKEOKCKAA.michael.mattox@verideon.com/
Also on:    postgresql.org/message-id/CJEBLDCHAADCLAGIGCOOKEOKCKAA.michael.mattox@verideon.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: michael.mattox@verideon.com, xzilla@users.sourceforge.net
  Subject: Re: Version 7 question
  In-Reply-To: <CJEBLDCHAADCLAGIGCOOKEOKCKAA.michael.mattox@verideon.com>
  References: <1057063946.24304.377.camel@camel> <CJEBLDCHAADCLAGIGCOOKEOKCKAA.michael.mattox@verideon.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