Re: Why is it not using the other processor?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Linh Luong <linh(dot)luong(at)computalog(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why is it not using the other processor?
Date: 2001-07-05 15:59:00
Message-ID: Pine.LNX.4.30.0107051757130.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Linh Luong writes:

> My postgres is running on a dual processor. But when I run a query and
> look at TOP and notice only one processor is being used. And it is
> being used 100% (assuming only 1 process is active). Why would it
> allocate the work to the other processor.

Ask your operating system provider. PostgreSQL just allocates processes,
it doesn't decide on what CPU they'll run.

> One more question. I am using the browser to display my data. If I
> start the query by means of pressing the Search button and then I decide
> to stop the search by pressing STOP (on the broswer). The browser stop
> executing and I can still surf the web. My question is why is the
> process that handles the search still running when I view TOP.

You are probably using PHP with persistent connections. They could stay
open indefinitely. You might have to kill the postgres process or the web
server manually.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Åkerud 2001-07-05 16:02:06 Create function without return value?
Previous Message martin.chantler 2001-07-05 15:53:14 Re: Re: Red Hat to support PostgreSQL