pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gavin Sherry <swm@alcove.com.au>
To: Jeff <threshar@torgo.978.org>
Cc: Shoaib Burq (VPAC) <sab@vpac.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: two queries and dual cpu (perplexed)
Date: Thu, 21 Apr 2005 22:33:26 +1000 (EST)
Message-ID: <Pine.LNX.4.58.0504212231080.31127@linuxworld.com.au> (raw)
In-Reply-To: <8c459b7b96e6c310d641cebdfa8dcab6@torgo.978.org>
References: <Pine.LNX.4.44.0504212109050.28107-100000@hp.vpac.org>
	<8c459b7b96e6c310d641cebdfa8dcab6@torgo.978.org>

On Thu, 21 Apr 2005, Jeff wrote:

>
> On Apr 21, 2005, at 7:49 AM, Shoaib Burq (VPAC) wrote:
>
> > Now I have not touch the $PGDATA/postgresql.conf (As I know very little
> > about memory tuning) Have run VACCUM & ANALYZE.
> >
> You should really, really bump up shared_buffers and given you have 8GB
> of ram this query would likely benefit from more work_mem.

I'd recommend shared_buffers = 10600. Its possible that work_mem in the
hundreds of megabytes might have a good impact, but its hard to say
without seeing the EXPLAIN ANALYZE output.

Gavin




view thread (18+ messages)  latest in thread

Message-ID: <Pine.LNX.4.58.0504212231080.31127@linuxworld.com.au>
Permalink:  ../Pine.LNX.4.58.0504212231080.31127@linuxworld.com.au/
Also on:    postgresql.org/message-id/Pine.LNX.4.58.0504212231080.31127@linuxworld.com.au

 · 

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: swm@alcove.com.au, threshar@torgo.978.org, sab@vpac.org
  Subject: Re: two queries and dual cpu (perplexed)
  In-Reply-To: <Pine.LNX.4.58.0504212231080.31127@linuxworld.com.au>

* 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