pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Samuel Gendler <sgendler@ideasculptor.com>
To: Tony Capobianco <tcapobianco@prospectiv.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Oracle v. Postgres 9.0 query performance
Date: Wed, 8 Jun 2011 12:38:42 -0700
Message-ID: <BANLkTimPymaH7DmhKSwXf89hzG3_O+xV=w@mail.gmail.com> (raw)
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>

On Wed, Jun 8, 2011 at 12:03 PM, Tony Capobianco <tcapobianco@prospectiv.com
> 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

view thread (18+ messages)  latest in thread

Message-ID: <BANLkTimPymaH7DmhKSwXf89hzG3_O+xV=w@mail.gmail.com>
Permalink:  ../BANLkTimPymaH7DmhKSwXf89hzG3_O+xV=w@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTimPymaH7DmhKSwXf89hzG3_O+xV=w@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: sgendler@ideasculptor.com, tcapobianco@prospectiv.com, tgl@sss.pgh.pa.us
  Subject: Re: Oracle v. Postgres 9.0 query performance
  In-Reply-To: <BANLkTimPymaH7DmhKSwXf89hzG3_O+xV=w@mail.gmail.com>
  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> <BANLkTimPymaH7DmhKSwXf89hzG3_O+xV=w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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