oracle 锁表查询

时间:2021-05-22 09:33:53
【文件属性】:

文件名称:oracle 锁表查询

文件大小:4KB

文件格式:TXT

更新时间:2021-05-22 09:33:53

oracle 锁表 死锁

先查看哪些表被锁住了 select b.username,b.sid,b.serial#,logon_time from v$locked_object a,v$session b where a.session_id = b.sid and sid in( select a.SESSION_ID from v$locked_object a,dba_objects b where b.object_id = a.object_id and object_name ='HDM_COMPLETED_RATE') order by b.logon_time 杀会话


网友评论