查询锁表: 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 ‘1182,60217‘ --对应填写sid,serial
2023-11-20 08:12:52
查询锁表: 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 ‘1182,60217‘ --对应填写sid,serial