pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Smet <guillaume.smet@gmail.com>
To: Jérôme BENOIS <benois@argia-engineering.fr>
Cc: pgsql-performance@postgresql.org
Subject: Re: High CPU Load
Date: Mon, 18 Sep 2006 17:48:53 +0200
Message-ID: <1d4e0c10609180848u153c8c20n3858a559b43a3146@mail.gmail.com> (raw)
In-Reply-To: <1158589852.5665.57.camel@localhost.localdomain>
References: <004001c6d80e$bdef5bc0$8300a8c0@tridecap.com>
	<1158249411.24726.17.camel@state.g2switchworks.com>
	<1158268058.5167.2.camel@localhost.localdomain>
	<1d4e0c10609141422o57ecf28eobf3d0b7594bb242f@mail.gmail.com>
	<1158270523.5167.18.camel@localhost.localdomain>
	<1d4e0c10609141524j3532e140i308111908c1ab437@mail.gmail.com>
	<1158589852.5665.57.camel@localhost.localdomain>

On 9/18/06, Jérôme BENOIS <benois@argia-engineering.fr> wrote:
>         Tomorrow morning i plan to add 2Go RAM in order to test difference with
> my actual config.

I don't think more RAM will change anything if you don't swap at all.
You can try to set shared_buffers lower (try 32768 and 16384) but I
don't think it will change anything in 8.1.

The only thing left IMHO is that 8.1 is choosing a bad plan which
consumes a lot of CPU for at least a query.

When you analyze your logs, did you see a particularly slow query? Can
you compare query log analysis from your old server and your new one?

--
Guillaume



view thread (30+ messages)  latest in thread

Message-ID: <1d4e0c10609180848u153c8c20n3858a559b43a3146@mail.gmail.com>
Permalink:  ../1d4e0c10609180848u153c8c20n3858a559b43a3146@mail.gmail.com/
Also on:    postgresql.org/message-id/1d4e0c10609180848u153c8c20n3858a559b43a3146@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: guillaume.smet@gmail.com, benois@argia-engineering.fr
  Subject: Re: High CPU Load
  In-Reply-To: <1d4e0c10609180848u153c8c20n3858a559b43a3146@mail.gmail.com>
  References: <004001c6d80e$bdef5bc0$8300a8c0@tridecap.com> <1158249411.24726.17.camel@state.g2switchworks.com> <1158268058.5167.2.camel@localhost.localdomain> <1d4e0c10609141422o57ecf28eobf3d0b7594bb242f@mail.gmail.com> <1158270523.5167.18.camel@localhost.localdomain> <1d4e0c10609141524j3532e140i308111908c1ab437@mail.gmail.com> <1158589852.5665.57.camel@localhost.localdomain> <1d4e0c10609180848u153c8c20n3858a559b43a3146@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