Re: killing a query safely

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: killing a query safely
Дата
Msg-id 8800.1137703367@sss.pgh.pa.us
обсуждение исходный текст
Ответ на killing a query safely  (Rajesh Kumar Mallah <mallah@tradeindia.com>)
Список pgsql-admin
Rajesh Kumar Mallah <mallah@tradeindia.com> writes:
> many a times the backend are stubborn. A backend is currently
> executing a Query , the query usually finishes quickly < 5 secs.
> But this query is on for past many minutes. I want to debug why
> it is hung if it is hung.

Attach to the backend process with gdb and get a stack trace ---
that would at least give us some information to work with.

            regards, tom lane

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Question
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: WAL log archive frequency