oracle解锁

解锁:alter system kill session '52,23';

查询解锁条件:SELECT * FROM (SELECT /*+ rule */ s.username,
decode(l.type,'TM','TABLE LOCK',
'TX','ROW LOCK',
NULL) LOCK_LEVEL,
o.owner,o.object_name,o.object_type,
s.sid,s.serial#,s.terminal,s.machine,s.program,s.osuser
FROM v$session s,v$lock l,dba_objects o
WHERE l.sid = s.sid
AND l.id1 = o.object_id(+)
AND s.username is NOT NULL
)  WHERE LOCK_LEVEL LIKE '%TABLE LOCK%'

oracle解锁_第1张图片

你可能感兴趣的:(oracle,session,kill,table,null,System)