From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | "J(dot) ORIOL" <famach(at)yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Several queries consume 100 % processor |
Date: | 2007-05-23 12:59:17 |
Message-ID: | 20070523125917.GB5089@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, May 23, 2007 at 07:50:42AM -0500, J. ORIOL wrote:
> Hi,
>
> I have an app working over LAN , XP + Postgres 8.2. The problem is
> that a client send several queries and the processor show me 100 %
> usage. (P IV 3 Ghz with 1 Gb RAM) and stops all its tasks until
> queries finishes.
>
> This queries are send from inside app code, should I create
> procedures for every one of the queries inside Postgres ?, How much
> response time will be improved with this ?
I doubt making them procedures will make much difference to
performance. If you want more recommendations, please post to the list
more details about the actual queries and tables involved (you have got
logging setup to detect the errant queries, right?)
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2007-05-23 13:05:05 | Re: Several queries consume 100 % processor |
Previous Message | J. ORIOL | 2007-05-23 12:50:42 | Several queries consume 100 % processor |