1. 查找 oracle 中当前所有 sessions.
SELECT s.sid, s.serial#, s.osuser, s.program FROM v$session s;
2. 快速杀死目标 session.
ALTER SYSTEM KILL SESSION 'sid,serial#' immediate;
1. 查找 oracle 中当前所有 sessions.
SELECT s.sid, s.serial#, s.osuser, s.program FROM v$session s;
2. 快速杀死目标 session.
ALTER SYSTEM KILL SESSION 'sid,serial#' immediate;