Oracle EBS User 有時其連結之 Session 卡住,而以 OEM 工具路徑下的 Blocking Session / Hang Analysis 檢查又沒此紀錄,甚至以 Super User 登入,在路徑下 System Administration > Oracle Applications Managers > Concurrent Requests 等查看時,也是正常。此時可考慮 Kill Session,其步驟如下:
1. 以下列 SQL script 找出此 User 的 SID:
SELECT fsav.user_name
,d.description
,fsav.responsibility_name
,fsav.user_form_name
,TIME
,s.SID
,s.SERIAL#
,s.LOGON_TIME
,s.PROGRAM
,s.MODULE
,s.BLOCKING_SESSION_STATUS
FROM fnd_signon_audit_view fsav
,fnd_user d
,v$process p
,v$session s
WHERE d.user_name = fsav.user_name
AND d.user_name LIKE '01%'
--AND fsav.responsibility_name LIKE 'ELVISMENG' || '&RESPONSIBILITY' || '%'
AND fsav.PROCESS_SPID = p.SPID
AND fsav.PID = p.PID
AND p.ADDR = s.PADDR
ORDER BY fsav.user_name
例如: 這 User 的 SID 為 740
2. 使用 OEM (Oracle Enterprise Manager) 工具,在路徑 Performance > Search Sessions 的視窗下,找出其 SID, 直接 Kill 其 Session。
“Those who are in love with practice without knowledge are like the sailor who gets into a ship without rudder or compass and who never can be certain [where] he is going. Practice must always be founded on sound theory.” by Leonardo da Vinci
2015年4月30日 星期四
【Oracle ERP Note 】Kill Oracle EBS Session
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言