Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id B61784758A2 for ; Fri, 22 Feb 2002 17:45:47 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g1MMjdE00288; Fri, 22 Feb 2002 17:45:39 -0500 (EST) From: Bruce Momjian Message-Id: <200202222245.g1MMjdE00288@candle.pha.pa.us> Subject: Re: shared_buffers and effective_cache_size In-Reply-To: <5511D658682A7740BA295CCF1E1233A635A85C@vsvapostal2.bkup3> To: "Zhang, Anna" Date: Fri, 22 Feb 2002 17:45:39 -0500 (EST) Cc: "'pgsql-admin@postgresql.org'" X-Mailer: ELM [version 2.4ME+ PL96 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200202/309 X-Sequence-Number: 3462 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