pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dx k9 <bitsandbytes88@hotmail.com>
To: posgres support <pgsql-admin@postgresql.org>
Subject: effective_cache_size v824
Date: Tue, 13 Nov 2007 14:54:10 -0500
Message-ID: <BAY116-W40AD153AA1BBF24778CC10D1800@phx.gbl> (raw)


Hi,

I'm playing around with the effective cache size setting today.  Someone recommended the formula
((buffers + cached ) / 8 ) during heavy querying to optimize the 'Postgresql.conf' setting.

I have 4 separate physical servers and I have all of them set to 512 MB, even though the results of the formula show.

Server 1     1 GB
Server 2     1 GB
Server 3     2 GB
Server 4     2 GB


These results indicate that I should raise my effective_cache_size on all the servers.   My shared buffers settings are all 256 MB.
Does it matter that I have 2 instances running on each of these servers?  IOW, should I divide the results in half, one for each instance and go with this as the recommended effective_cache_size setting instead?

Server 1     512 MB

Server 2     512 MB

Server 3     1 GB

Server 4     1 GB


Thanks for any insight,
~DjK


_________________________________________________________________
Help yourself to FREE treats served up daily at the Messenger Café. Stop by today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline=

Message-ID: <BAY116-W40AD153AA1BBF24778CC10D1800@phx.gbl>
Permalink:  ../BAY116-W40AD153AA1BBF24778CC10D1800@phx.gbl/
Also on:    postgresql.org/message-id/BAY116-W40AD153AA1BBF24778CC10D1800@phx.gbl

 · 

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: bitsandbytes88@hotmail.com
  Subject: Re: effective_cache_size v824
  In-Reply-To: <BAY116-W40AD153AA1BBF24778CC10D1800@phx.gbl>
  References: <BAY116-W40AD153AA1BBF24778CC10D1800@phx.gbl>

* 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