--get object id
SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME LIKE 'XX_RES_ALLOC_DM%';
select * from all_objects where object_id IN (323889) ;
--find locked or not , if found then find session id
select * from v$locked_object;
WHERE object_id IN (1193375,1169419,1169514) ;
---from the session id(SID), find serail
select * from v$session where sid=3250;
---kill the session 'session id, serail '
alter system kill session (:sid, :SERIAL#) ;
alter system kill session '3120,9499' immediate;
No comments:
Post a Comment