pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Zhang, Anna <azhang@verisign.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: shared_buffers and effective_cache_size
Date: Fri, 22 Feb 2002 17:45:39 -0500 (EST)
Message-ID: <200202222245.g1MMjdE00288@candle.pha.pa.us> (raw)
In-Reply-To: <5511D658682A7740BA295CCF1E1233A635A85C@vsvapostal2.bkup3>

Zhang, Anna wrote:
> Hi,
> I just got a new Penguin machine with 2 processors and 2G RAM. After
> installed postgres 7.2, I started to modify postgresql.conf to get max
> performance. I read Adm Guide and Bruce's article: PostgreSQL Hardware
> Performance Tuning, in my understanding, shared_buffers is similar to
> Oracle's db_block_buffers, but also sometimes I feel it sounds like oracle's
> SGA. When I reached effective_cache_size, don't know what's that, docs can't
> help, it seems for optimizer, but how big should I set? no feeling! Does
> anyone can compare this paremeter to oracle's so I can understand better.
> 
> If I set  SHARED_BUFFERS = 131072,  what effective_cache_size should be? 

My guess is that effective_cache_size is an estimate of the amount of OS
caching memory available, rather than PostgreSQL shared buffers.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (2+ messages)

Message-ID: <200202222245.g1MMjdE00288@candle.pha.pa.us>
Permalink:  ../200202222245.g1MMjdE00288@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200202222245.g1MMjdE00288@candle.pha.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: pgman@candle.pha.pa.us, azhang@verisign.com
  Subject: Re: shared_buffers and effective_cache_size
  In-Reply-To: <200202222245.g1MMjdE00288@candle.pha.pa.us>
  References: <5511D658682A7740BA295CCF1E1233A635A85C@vsvapostal2.bkup3> <200202222245.g1MMjdE00288@candle.pha.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