pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Retzlaff <andres_retzlaff@hotmail.com>
To: magnus@hagander.net
Cc: pgsql-performance@postgresql.org
Subject: Re: Usage up to 50% CPU
Date: Fri, 27 Apr 2007 08:10:48 +0000
Message-ID: <BAY141-F1845ACAADC609F4311EA888B4F0@phx.gbl> (raw)
In-Reply-To: <20070427080653.GB12895@svr2.hagander.net>

Hi Magnus,

in this case each CPU goes up to 50%, giveing me 50% total usage. I was 
specting as you say 1 query 100% cpu.

Any ideas?

Andrew

On Fri, Apr 27, 2007 at 04:43:06AM +0000, Andres Retzlaff wrote:
 > Hi,
 >
 > I have pg 8.1.4 running in
 > Windows XP Pro
 > wirh a Pentium D
 >
 > and I notice that I can not use more than 50% of the cpus (Pentium D has 
2
 > cpus), how can I change the settings to use the 100% of it.

A single query will only use one CPU. If you have multiple parallell
clients, they will use the differnt CPUs.

//Magnus

_________________________________________________________________
Advertisement: Its simple! Sell your car for just $30 at carsales.com.au 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fc...




view thread (7+ messages)  latest in thread

Message-ID: <BAY141-F1845ACAADC609F4311EA888B4F0@phx.gbl>
Permalink:  ../BAY141-F1845ACAADC609F4311EA888B4F0@phx.gbl/
Also on:    postgresql.org/message-id/BAY141-F1845ACAADC609F4311EA888B4F0@phx.gbl

 · 

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: andres_retzlaff@hotmail.com, magnus@hagander.net
  Subject: Re: Usage up to 50% CPU
  In-Reply-To: <BAY141-F1845ACAADC609F4311EA888B4F0@phx.gbl>
  References: <20070427080653.GB12895@svr2.hagander.net> <BAY141-F1845ACAADC609F4311EA888B4F0@phx.gbl>

* 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