Re: Several queries consume 100 % processor

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Several queries consume 100 % processor
Дата
Msg-id 20070523125917.GB5089@svana.org
обсуждение исходный текст
Ответ на Several queries consume 100 % processor  ("J. ORIOL" <famach@yahoo.com>)
Список 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@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "J. ORIOL"
Дата:
Сообщение: Several queries consume 100 % processor
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Several queries consume 100 % processor