<db*******@gmail.comwrote in message
news:72**********************************@b40g2000 prf.googlegroups.com...
it is a common question,not for db2,thank u very much
When you do a select, there is a share lock, which could be part of a
lockwait or deadlock scenario if there are the right combination of other
exclusive locks (insert, update, delete, select for update, or certain
utililities).
Share locks by themselves, even if they occur from many applications on the
same row, do not conflict with eachother and cannot cause a lockwait or
deadlock situation without some other insert, update, delete, select for
update.
Not all databases work the same way in this regard, so the above applies to
DB2.