Skip site navigation (1) Skip section navigation (2)

Re: Usage up to 50% CPU

From: "Andres Retzlaff" <andres_retzlaff(at)hotmail(dot)com>
To: magnus(at)hagander(dot)net
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Usage up to 50% CPU
Date: 2007-04-27 08:10:48
Message-ID: BAY141-F1845ACAADC609F4311EA888B4F0@phx.gbl (view raw or flat)
Thread:
Lists: 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


In response to

Responses

pgsql-performance by date

Next:From: Magnus HaganderDate: 2007-04-27 08:13:50
Subject: Re: Usage up to 50% CPU
Previous:From: Magnus HaganderDate: 2007-04-27 08:06:53
Subject: Re: Usage up to 50% CPU

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group