当前位置: 首页 > 工具软件 > Mojito-cli-gv > 使用案例 >

GV$LOCKED_OBJECT

颜奇希
2023-12-01

SELECT OBJECT_NAME, MACHINE, S.SID, S.SERIAL#, L.ORACLE_USERNAME, L.OS_USER_NAME, S.SQL_EXEC_START 

FROM GV$LOCKED_OBJECT L, DBA_OBJECTS O, GV$SESSION S 

WHERE L.OBJECT_ID = O.OBJECT_ID 

AND L.SESSION_ID = S.SID

ORDER BY OBJECT_NAME, MACHINE; 

 

SELECT * FROM GV$SESSION WHERE SID = 2848;

SELECT * FROM GV$SQL WHERE SQL_ID = 'bajspnur2apn1';

 

alter system kill session '237, 11823';

 

 类似资料:

相关阅读

相关文章

相关问答