pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas O'Connell <tfo@monsterlabs.com>
To: pgsql-admin@postgresql.org
Subject: performance tuning: shared_buffers, sort_mem; swap
Date: Tue, 13 Aug 2002 10:42:12 -0500
Message-ID: <tfo-FE93FD.10421113082002@news.hub.org> (raw)

so a while back, i think i recall a post from Bruce Momjian describing 
an optimum setup for shared_buffers at 25% of available physical memory 
and sort_mem at 4% of available physical memory.

the caveat was to watch for swap activity when these values were being 
set. so my question is, how much swapping is too much, and is there a 
way to determine whether postgres is the process causing the swapping?

hmm. maybe that's two questions?... :)

-tfo



view thread (23+ messages)  latest in thread

Message-ID: <tfo-FE93FD.10421113082002@news.hub.org>
Permalink:  ../tfo-FE93FD.10421113082002@news.hub.org/
Also on:    postgresql.org/message-id/tfo-FE93FD.10421113082002@news.hub.org

 · 

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: tfo@monsterlabs.com
  Subject: Re: performance tuning: shared_buffers, sort_mem; swap
  In-Reply-To: <tfo-FE93FD.10421113082002@news.hub.org>
  References: <tfo-FE93FD.10421113082002@news.hub.org>

* 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