Re: psycopg2 hang with multithread frequent queries

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: psycopg2 hang with multithread frequent queries
Дата
Msg-id CA+mi_8ahmhEuBveLryfUQ9f588vWy=xr-03SKYdeZzek=9e-KA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psycopg2 hang with multithread frequent queries  (David Roid <dataroid@gmail.com>)
Список psycopg
On Fri, Sep 14, 2012 at 5:55 PM, David Roid <dataroid@gmail.com> wrote:

> 2. When one of the slow ones get called, the whole python process hang, with
> the postgresql process in 'idle in transaction'; note i'm very alert with
> psycopg2's all-in-transaction style, i'm very sure there is a
> commit/rollback to end the trac, the python process just stucks!

Is there any query with "waiting" flag set to true in
pg_stat_activity? That would be an indication of queries stuck against
a lock.

-- Daniele


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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: commercial license availability
Следующее
От: Vishnu VV
Дата:
Сообщение: Re: commercial license availability