Oracle 锁表以及解锁
程序员文章站
2022-03-04 13:00:15
...
Oracle 锁表以及解锁
查看锁表
SELECT object_name, machine, s.sid, s.serial#
FROM gv$locked_object l, dba_objects o, gv$session s
WHERE l.object_id = o.object_id
AND l.session_id = s.sid;
解锁
alter system kill session 'sid, serial#';
上一篇: Shell 笔记总结
下一篇: javascript怎么删除行