Re: Usage up to 50% CPU - Mailing list pgsql-performance

From Andres Retzlaff
Subject Re: Usage up to 50% CPU
Date
Msg-id BAY141-F1845ACAADC609F4311EA888B4F0@phx.gbl
Whole thread Raw
In response to Re: Usage up to 50% CPU  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Usage up to 50% CPU
List pgsql-performance
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%2Fci%5F450304%2Fet%5F2%2Fcg%5F801577%2Fpi%5F1005244%2Fai%5F838588&_t=754951090&_r=tig&_m=EXT


pgsql-performance by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Usage up to 50% CPU
Next
From: Magnus Hagander
Date:
Subject: Re: Usage up to 50% CPU