阅读更多
select session_id from v$locked_object;
--136 141 145 146
select sid ,serial#, username, osuser from v$session where sid in (136,141,145,146);
1 136 19 TJYL_HS_SST Administrator
2 141 398 TJYL_HS_SST daemon
3 145 2529 TJYL_HS_SST daemon
4 146 20792 TJYL_HS_SST daemon
alter system kill session '136,19';
alter system kill session '141,398';
alter system kill session '145,2529';
alter system kill session '146,20792';