pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
shared_buffers and effective_cache_size
2+ messages / 2 participants
[nested] [flat]

* shared_buffers and effective_cache_size
@ 2002-02-22 20:35 Zhang, Anna <azhang@verisign.com>
  2002-02-22 22:45 ` Re: shared_buffers and effective_cache_size Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Zhang, Anna @ 2002-02-22 20:35 UTC (permalink / raw)
  To: pgsql-admin

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? 


Thanks!


Anna Zhang





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: shared_buffers and effective_cache_size
  2002-02-22 20:35 shared_buffers and effective_cache_size Zhang, Anna <azhang@verisign.com>
@ 2002-02-22 22:45 ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2002-02-22 22:45 UTC (permalink / raw)
  To: Zhang, Anna <azhang@verisign.com>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-02-22 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-22 20:35 shared_buffers and effective_cache_size Zhang, Anna <azhang@verisign.com>
2002-02-22 22:45 ` Bruce Momjian <pgman@candle.pha.pa.us>

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