Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 03116B5DFE6 for ; Wed, 8 Jun 2011 16:39:09 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 60379-01-6 for ; Wed, 8 Jun 2011 19:39:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pv0-f174.google.com (mail-pv0-f174.google.com [74.125.83.174]) by mail.postgresql.org (Postfix) with ESMTP id 2812FB5DEC2 for ; Wed, 8 Jun 2011 16:38:43 -0300 (ADT) Received: by pvg12 with SMTP id 12so396664pvg.19 for ; Wed, 08 Jun 2011 12:38:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.1.170 with SMTP id 10mr939808pbn.189.1307561923016; Wed, 08 Jun 2011 12:38:43 -0700 (PDT) Received: by 10.68.66.195 with HTTP; Wed, 8 Jun 2011 12:38:42 -0700 (PDT) X-Originating-IP: [66.215.95.51] In-Reply-To: <1307559780.1990.33.camel@tony1.localdomain> References: <1307545892.1990.23.camel@tony1.localdomain> <10260.1307547185@sss.pgh.pa.us> <1307547634.1990.26.camel@tony1.localdomain> <20110608155159.GA18128@tamriel.snowman.net> <1307550486.1990.29.camel@tony1.localdomain> <14544.1307552629@sss.pgh.pa.us> <1307559780.1990.33.camel@tony1.localdomain> Date: Wed, 8 Jun 2011 12:38:42 -0700 Message-ID: Subject: Re: Oracle v. Postgres 9.0 query performance From: Samuel Gendler To: Tony Capobianco Cc: Tom Lane , pgsql-performance@postgresql.org Content-Type: multipart/alternative; boundary=bcaec531480ff1783104a5387b7c X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201106/83 X-Sequence-Number: 44016 --bcaec531480ff1783104a5387b7c Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jun 8, 2011 at 12:03 PM, Tony Capobianco wrote: > My current setting is 22G. According to some documentation, I want to > set effective_cache_size to my OS disk cache + shared_buffers. In this > case, I have 4 quad-core processors with 512K cache (8G) and my > shared_buffers is 7680M. Therefore my effective_cache_size should be > approximately 16G? Most of our other etl processes are running fine, > however I'm curious if I could see a significant performance boost by > reducing the effective_cache_size. > > disk cache, not CPU memory cache. It will be some significant fraction of total RAM on the host. Incidentally, 16 * 512K cache = 8MB, not 8GB. http://en.wikipedia.org/wiki/CPU_cache --bcaec531480ff1783104a5387b7c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Jun 8, 2011 at 12:03 PM, Tony Ca= pobianco <tcapobianco@prospectiv.com> wrote:
My current setting is 22G. =A0According to some documentation, I want to set effective_cache_size to my OS disk cache + shared_buffers. =A0In this case, I have 4 quad-core processors with 512K cache (8G) and my
shared_buffers is 7680M. =A0Therefore my effective_cache_size should be
approximately 16G? =A0Most of our other etl processes are running fine,
however I'm curious if I could see a significant performance boost by reducing the effective_cache_size.


disk cache, not CPU memory cache. =A0It will be some significant fr= action of total RAM on the host. =A0Incidentally, 16 * 512K cache =3D 8MB, = not 8GB.



<= /div> --bcaec531480ff1783104a5387b7c--