pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lending, Rune <rune.lending@inpoc.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: Shared_buffers and kernel parameters, tuning
Date: Fri, 06 Jun 2003 11:15:23 -0400
Message-ID: <27128.1054912523@sss.pgh.pa.us> (raw)
In-Reply-To: <A177ACC01D78D4118FC100508BAE3F7A804F96@TELECOMMAIL>
References: <A177ACC01D78D4118FC100508BAE3F7A804F96@TELECOMMAIL>

"Lending, Rune" <rune.lending@inpoc.com> writes:
> in postgresql.conf:
> shared_buffers = 117248 (shmmax / 2 / 1024 / 8 ) This I got from this forum.

This is a factor of 10, maybe a factor of 100, more than you need.
It's usually better to let the kernel manage memory.  See the
pgsql-performance archives (whenever they're back up :-().

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <27128.1054912523@sss.pgh.pa.us>
Permalink:  ../27128.1054912523@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27128.1054912523@sss.pgh.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 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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rune.lending@inpoc.com
  Subject: Re: Shared_buffers and kernel parameters, tuning
  In-Reply-To: <27128.1054912523@sss.pgh.pa.us>
  References: <A177ACC01D78D4118FC100508BAE3F7A804F96@TELECOMMAIL> <27128.1054912523@sss.pgh.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