pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Campbell, Lance <lance@uiuc.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Recommended Initial Settings
Date: Fri, 23 Feb 2007 17:19:00 +0000
Message-ID: <45DF2204.7010906@archonet.com> (raw)
In-Reply-To: <A3AC4FA47DC0B1458C3E5396E685E63302395CE9@SAB-DC1.sab.uiuc.edu>
References: <A3AC4FA47DC0B1458C3E5396E685E63302395CE7@SAB-DC1.sab.uiuc.edu>
	<45DF1660.101@archonet.com>
	<A3AC4FA47DC0B1458C3E5396E685E63302395CE9@SAB-DC1.sab.uiuc.edu>

Campbell, Lance wrote:
> Richard,
> Thanks for your reply.  
> 
> You said:
> "Your operating-system should be doing the caching for you."
> 
> My understanding is that as long as Linux has memory available it will
> cache files.  Then from your comment I get the impression that since
> Linux would be caching the data files for the postgres database it would
> be redundant to have a large shared_buffers.  Did I understand you
> correctly?

That's right - PG works with the O.S. This means it *might* not be a big 
advantage to have a large shared_buffers.

On older versions of PG, the buffer management code wasn't great with 
large shared_buffers values too.

-- 
   Richard Huxton
   Archonet Ltd



view thread (6+ messages)  latest in thread

Message-ID: <45DF2204.7010906@archonet.com>
Permalink:  ../45DF2204.7010906@archonet.com/
Also on:    postgresql.org/message-id/45DF2204.7010906@archonet.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, lance@uiuc.edu
  Subject: Re: Recommended Initial Settings
  In-Reply-To: <45DF2204.7010906@archonet.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