ORACLE 表解锁

锁表SQL

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
  WHERE AO.object_id = LO.object_id AND LO.session_id = SESS.sid;

ORACLE 表解锁

杀掉锁表进程(SID,SERIAL#)

ALTER SYSTEM kill SESSION '26,63';

上一篇:cmake常用配置项


下一篇:设置了线程中断,中断标识不起效