第一步:查询处用户,被锁表名,sessionID select b.owner,b.object_name,l.session_id,l.locked_modefrom v$locked_object l, dba_objects bwhere b.object_id=l.object_id 第二部:查询处username,session_id,serial#等 select t2.username,t2.sid,t2.serial#,t2.logon_timefrom v$locked_obj