Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E101CB5DEC2 for ; Wed, 8 Jun 2011 16:55:25 -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 66342-09 for ; Wed, 8 Jun 2011 19:55:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from stan.prospectivdirect.com (mail.prospectiv.com [155.212.59.212]) by mail.postgresql.org (Postfix) with SMTP id 4E26EB5DE18 for ; Wed, 8 Jun 2011 16:55:17 -0300 (ADT) Received: (qmail 3620 invoked from network); 8 Jun 2011 19:55:17 -0000 Received: from unknown (HELO ?192.168.1.15?) (192.168.1.15) by 0 with SMTP; 8 Jun 2011 19:55:17 -0000 Subject: Re: Oracle v. Postgres 9.0 query performance From: Tony Capobianco To: Samuel Gendler Cc: pgsql-performance@postgresql.org In-Reply-To: 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> Content-Type: text/plain; charset="UTF-8" Date: Wed, 08 Jun 2011 15:55:17 -0400 Message-ID: <1307562917.1990.34.camel@tony1.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201106/86 X-Sequence-Number: 44019 Oooo...some bad math there. Thanks. On Wed, 2011-06-08 at 12:38 -0700, Samuel Gendler wrote: > > > 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 > > > >