| От | Tom Lane |
|---|---|
| Тема | Re: Update / Lock (and ShareLock) question |
| Дата | |
| Msg-id | 3165.1215785632@sss.pgh.pa.us обсуждение |
| Ответ на | Update / Lock (and ShareLock) question (Augustin Amann <augustin@waw.com>) |
| Ответы |
Re: Update / Lock (and ShareLock) question
|
| Список | pgsql-general |
Augustin Amann <augustin@waw.com> writes:
> During lock, we could see things like this in log file:
> Process 5556 waits for ShareLock on transaction 14910066; blocked by
> process 4940.
What that really means is that the first process is waiting for a row
lock that's held by the second one --- that is, it's trying to update a
row that the second transaction has updated and not yet committed.
> Why waiting update are not simply queued ?
Uh, that's exactly what's happening.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера