Kill Session Not Release Locks
上一篇 /
下一篇 2006-06-08 00:00:00
/ 个人分类:Oracle管理文章
Alter system kill session ........
Problem Description
-------------------
You have killed a session at the os level. Now, the session is showing "killed" in v$session but v$access is showing objects locked by this session id and v$lock shows locks held by this sid.
Solution Description
--------------------
You may have killed the client process and there is still a shadow process for this session running. The shadow process can be tricky to identify. It may take considerable searching by the dba who is familiar with the os and database environment to identify the process.
You might look for processes with a parent pid of 1, meaning that they are owned by the system. Also, look for processes with a start time that matches the start time of the killed process.
Explanation
-----------
Even though you shouldn't kill the session at the os level before killing it in Oracle, Oracle should release locks and cleanup after the session is killed at the os level. If locks are not being released, it is an indication that there are other os processes running that are associated with the session.
导入论坛
引用链接
收藏
分享给好友
推荐到圈子
管理
举报
TAG: