Re: finding the other statement causing a sharelock

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: finding the other statement causing a sharelock
Дата
Msg-id AANLkTinfQ8Ht4t0DZvSxun=0sGBi+CUgocHh=bqi9u8M@mail.gmail.com
обсуждение исходный текст
Ответ на Re: finding the other statement causing a sharelock  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Ответы Re: finding the other statement causing a sharelock  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Список pgsql-general
On Mon, Nov 8, 2010 at 2:18 PM, Ivan Sergio Borgonovo
<mail@webthatworks.it> wrote:
> On Mon, 08 Nov 2010 15:45:12 -0500
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
>> Ivan Sergio Borgonovo <mail@webthatworks.it> writes:
>> > I get
>> > DETAIL:  Process 24749 waits for ShareLock on transaction
>> > 113443492; blocked by process 25199. Process 25199 waits for
>> > ShareLock on transaction 113442820; blocked by process 24749.
>>
>> > I would like to know both statements that caused the sharelock
>> > problem.
>
>> Recent versions of PG record both (or all) statements involved in a
>> deadlock in the postmaster log.
>

Don't know how much it helps here, but this page:
http://wiki.postgresql.org/wiki/Lock_Monitoring
is priceless when you're having issues midday with a lock that won't go away.

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

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: finding the other statement causing a sharelock
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: temporary table as a subset of an existing table and indexes