解决数据库表锁
代码】解决数据库表锁。
·
查看数据库表锁
select sess.sid,
sess.serial#,
lo.oracle_username,
lo.os_user_name,
ao.object_name,
lo.locked_mode
from v$locked_object lo, dba_objects ao, v$session sess, v$process p
where ao.object_id = lo.object_id
and lo.session_id = sess.sid;
杀掉
alter system kill SESSION '1127,26485'
#1127和26485
alter system kill SESSION 'sid,serial'
更多推荐
已为社区贡献1条内容
所有评论(0)