From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | "Zhang, Anna" <azhang(at)verisign(dot)com> |
Cc: | "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: shared_buffers and effective_cache_size |
Date: | 2002-02-22 22:45:39 |
Message-ID: | 200202222245.g1MMjdE00288@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-02-23 00:51:26 | Re: Strange locking behaviour |
Previous Message | Bruce Momjian | 2002-02-22 22:39:27 | Re: Backup and Recovery (revisited) |