Re: Tracking down deadlocks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Tracking down deadlocks
Дата
Msg-id 22762.1087401819@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Tracking down deadlocks  (Ben <bench@silentmedia.com>)
Список pgsql-general
Ben <bench@silentmedia.com> writes:
> I'm doing a bunch of data mining against a postgres database and have
> run into an interesting problem with deadlocks. The problem is,
> postgres is detecting them and then wacking the offending process, and
> I can't figure out what's causing them.

The processes involved in the deadlock should be identified in the
DETAIL message for the deadlock error.  Perhaps you are using client
code that doesn't show you the DETAIL?  If so, look in the postmaster
log.  You can correlate the process PIDs mentioned in the message to
pg_stat_activity.procpid.

            regards, tom lane

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

Предыдущее
От: Ben
Дата:
Сообщение: Re: Tracking down deadlocks
Следующее
От: Robert Fitzpatrick
Дата:
Сообщение: Remembering values in pl/pgsql