1、查询被锁的session
select session_id from v$locked_object;
2、找到相关session的信息
SELECT sid, serial#, username, osuser FROM v$session where sid = 198;
3、杀掉session
ALTER SYSTEM KILL SESSION '198,5890';
posted on 2016-11-07 18:53 飞肠剑 阅读(166) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 飞肠剑 Powered by .NET 8.0 on Kubernetes