oracle查询锁和杀锁

查询锁:

SELECT l.session_id sid, s.serial#, l.locked_mode,l.oracle_username,





  l.os_user_name,s.machine, s.terminal, o.object_name, s.logon_time





  FROM v$locked_object l, all_objects o, v$session s





  WHERE l.object_id = o.object_id





  AND l.session_id = s.sid

  ORDER BY sid, s.serial# ;

杀锁:

ALTER system KILL session '250,648';

上一篇:PARSEC-3.0编译错误


下一篇:Windows 2012 AD配置