Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Killed sessions
This behavior is known.
Oracle doesn't remove killed session, they may hang in
v$sessions for years :-)
Theoretically killed session have to be
automatically cleaned within minutes or hours.
By the way, the first user interaction with a killed session really remove the session from v$session. For instance, if a client application try to perfome any OCI call to it's session that have been killed.
I have no idea why this staff is neccessary for Oracle, but this behavior is the same for Oracle 7, 8 an 9.
Really it can bring serious troubles for developer or DBA. The problem is that a killed session holds locks. Even when all changes made by the session have been rollbacked...
The known way to solve this is:
to kill the killed session again with the ORAKILL utility.
Regards
Sergey Balter
Received on Fri Jan 21 2005 - 09:30:59 CST