pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Subject: Re: 7.3.1 New install, large queries are slow
Date: Mon, 20 Jan 2003 12:04:45 +0530
Message-ID: <3E2BE5DD.30158.D375D9A@localhost> (raw)
In-Reply-To: <13109.1042824791@sss.pgh.pa.us>
References: <web-2317350@davinci.ethosmedia.com>

On 17 Jan 2003 at 12:33, Tom Lane wrote:

> "Josh Berkus" <josh@agliodbs.com> writes:
> >>> shared_buffers = 131072
> >> 
> >> Yipes!  Try about a tenth that much.  Or less.
> 
> > Why?  He has 4GB RAM on the machine.
> 
> I think a gig of shared buffers is overkill no matter what.
> 
> One reason not to crank up shared_buffers "just because you can" is that
> there are operations (such as CHECKPOINT) that have to scan through all
> the buffers, linearly.  I don't *think* any of these are in
> performance-critical paths, but nonetheless you're wasting CPU.  I trust

Assuming that one knows what he/she is doing, would it help in such cases i.e. 
the linear search thing, to bump up page size to day 16K/32K?

and that is also the only way to make postgresql use more than couple of gigs 
of RAM, isn't it?

Bye
 Shridhar

--
Arithmetic:	An obscure art no longer practiced in the world's developed 
countries.




view thread (66+ messages)  latest in thread

Message-ID: <3E2BE5DD.30158.D375D9A@localhost>
Permalink:  ../3E2BE5DD.30158.D375D9A@localhost/
Also on:    postgresql.org/message-id/3E2BE5DD.30158.D375D9A@localhost

 · 

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: shridhar_daithankar@persistent.co.in
  Subject: Re: 7.3.1 New install, large queries are slow
  In-Reply-To: <3E2BE5DD.30158.D375D9A@localhost>
  References: <web-2317350@davinci.ethosmedia.com> <3E2BE5DD.30158.D375D9A@localhost>

* 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