Re: REINDEX deadlock - Postgresql -9.1

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: REINDEX deadlock - Postgresql -9.1
Дата
Msg-id 51187B3C.9030403@hogranch.com
обсуждение исходный текст
Ответ на REINDEX deadlock - Postgresql -9.1  (Anoop K <anoopk6@gmail.com>)
Список pgsql-general
On 2/6/2013 1:28 AM, Anoop K wrote:
> 3 connections are going in to some dead lock state.
>
>  1. *idle in transaction *
>  2. *REINDEX waiting *
>  3. *SELECT waiting *
>

you need to track down what resources are being locked by those
processes, by joining pg_stat_activity against pg_locks and.... (been
awhile, I forget the magic join query that gives you useful info here)

IDLE in Transaction means that connection did a BEGIN;  but isn't
executing any commands at all at present and is just sitting there. This
should never happen, and is generally a sign of buggy application
software, or poorly designed ORM or something.


--
john r pierce                                      37N 122W
somewhere on the middle of the left coast

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

Предыдущее
От: Anoop K
Дата:
Сообщение: REINDEX deadlock - Postgresql -9.1
Следующее
От: Sergey Konoplev
Дата:
Сообщение: Re: REINDEX deadlock - Postgresql -9.1