pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Howard Oblowitz <HowardO@LEWIS-STORES.com>
To: pgsql-performance@postgresql.org
Cc: rune.lending@inpoc.com
Subject: Re: FW: [ADMIN] Shared_buffers and kernel parameters, tuning
Date: Tue, 10 Jun 2003 08:46:21 -0700
Message-ID: <200306100846.21875.josh@agliodbs.com> (raw)
In-Reply-To: <EFF9ABB64B24D511A75C0002A5512D5C01911DE4@LEWEXCH>
References: <EFF9ABB64B24D511A75C0002A5512D5C01911DE4@LEWEXCH>

Rune,

> > shared_buffers = 117248 (shmmax / 2 / 1024 / 8 ) This I got from this
> > forum.
> > Does this sound right or am I totally out of bounds here? I have, as said

Out of bounds, through no fault of your own .... I'm still working on 
documentation for this.  However, let me qoute the upcoming supplimentary 
docs:

SHARED_BUFFERS
Sets the size of Postgres' memory buffer where queries are held before being 
fed into the Kernel buffer of the host system.  It's very important to 
remember that this is only a holding area, and not the total memory available 
for the server.  As such, resist the urge to set this number to a large 
portion of your RAM, as this will actually degrade performance on many OSes.  
Members of the pgsql-performance mailing list have found useful values in the 
range of 1000-6000, depending on available RAM, database size, and number of 
concurrent queries. No one has yet reported positive results for any number 
over 6000.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (13+ messages)  latest in thread

Message-ID: <200306100846.21875.josh@agliodbs.com>
Permalink:  ../200306100846.21875.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200306100846.21875.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 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: josh@agliodbs.com, HowardO@LEWIS-STORES.com, rune.lending@inpoc.com
  Subject: Re: FW: [ADMIN] Shared_buffers and kernel parameters, tuning
  In-Reply-To: <200306100846.21875.josh@agliodbs.com>
  References: <EFF9ABB64B24D511A75C0002A5512D5C01911DE4@LEWEXCH> <200306100846.21875.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