Re: App very unresponsive while performing simple update

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: App very unresponsive while performing simple update
Дата
Msg-id 8764jpn36p.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: App very unresponsive while performing simple update  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Greg Stark <gsstark@mit.edu> writes:
>
> > Except I don't think this is taking an exclusive lock at all. The original
> > post had the deadlock detection fire on a SharedLock.
>
> Yeah, but it was a ShareLock on a transaction ID, which is the trace
> of something doing XactLockTableWait, which is only done if we're
> blocking on a locked or updated-but-uncommitted row.

Oops, didn't see this before I sent my last message. Brendan, in case it's not
clear, in case of a conflict between my explanation and Tom's listen to Tom.

:)


--
greg

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: App very unresponsive while performing simple update
Следующее
От: "Anton Maksimenkov"
Дата:
Сообщение: select with "like" from another table