1、直接运行以下语句:
select t2.username,t2.sid,t2.serial#,t2.logon_time
from v$locked_object t1,v$session t2
where t1.session_id=t2.sid order by t2.logon_time;
2、根据以上语句运行结果kill 事务
alter system kill session '339,13545';
2023-07-16 19:25:21
1、直接运行以下语句:
select t2.username,t2.sid,t2.serial#,t2.logon_time
from v$locked_object t1,v$session t2
where t1.session_id=t2.sid order by t2.logon_time;
2、根据以上语句运行结果kill 事务
alter system kill session '339,13545';
下一篇:innodb mvcc实现机制