数据库死锁 死锁的解决办法(1) 执行下面SQL,先查看哪些表被锁住了: select b.owner,b.object_name,a.session_id,a.locked_mode from v$locked_object a,dba_objects b where b.object_id = a.object_id; 查处引起死锁的会话 select b.username,b.sid,b.serial#,logon_time from vlocked_object a,vsession b…