Search Postgresql Archives

Re: Update / Lock (and ShareLock) question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Augustin Amann <augustin@xxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux