1. 程式人生 > >oracle 查解鎖sql

oracle 查解鎖sql

oracle 查解鎖sql

oracle中的查鎖sql

eg: 
SELECT object_name, machine, s.client_info, s.serial#, s.sid
FROM gv$locked_object l, dba_objects o, gv$session s 
WHERE l.object_id = o.object_id 
AND l.session_id = s.sid; 

oracle的解鎖語句sql

eg:
alter system kill session 'sid, serial#';