Re: [GENERAL] deadlock on simple update

2010-05-11 Thread tv
Well, the reason why deadlock happen is usually uncoordinated access to the same resource - in this case the resouce is a database row. This has nothing to do with the complexity of the queries, but with the order of the updates. According to the log process 8253 waits for 8230, and 8230 waits for

[GENERAL] deadlock on simple update

2010-05-11 Thread Jiří Pavlovský
Hello, I have 8.4.2. I'm getting deadlock when multiple processes try to update a table. Strange is it is a simple table with no triggers firing etc. Just an id and a numerical field to update. So I'm at odds as to what could cause the deadlock? DETAIL: Process 8253 waits for ShareLock on tr