cleanup killed sessions [message #315804] |
Tue, 22 April 2008 16:52 |
ORA-MAN
Messages: 24 Registered: January 2008 Location: ===
|
Junior Member |
|
|
Hi all,
After the session was killed it still show on v$session with killed status, so what is the way to cleanup it finally?
regards
|
|
|
|
|
|
|
|
|
|
Re: cleanup killed sessions [message #316590 is a reply to message #315804] |
Sat, 26 April 2008 01:12 |
ORA-MAN
Messages: 24 Registered: January 2008 Location: ===
|
Junior Member |
|
|
Thanks all.
I created a profile then assign to user, this profile has
idle_time&connect_time (1min), when the session takes more than 1min its status changed from INACTIVE to SNIPED and stays for days then cleared.
also I need to alter this profile and add SESSIONS_PER_USER 10, but it will count all SNIPED sessions as connected and it will not allow new connection.
I am searching for a way to clear this SNIPED auto immediately because they are many sessions and dynamic.
Regards
|
|
|
Re: cleanup killed sessions [message #316592 is a reply to message #316590] |
Sat, 26 April 2008 01:31 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote: | I am searching for a way to clear this SNIPED auto immediately
|
Same answers.
Don't setup a max sessions number in this case or ask your client to cleanly disconnect.
By the way, Oracle is not made for sessions of 1 minute. Creating a session is a heavy process not a light one. You should investigate n-tiers environment and connection pooling.
Regards
Michel
[Updated on: Sat, 26 April 2008 01:35] Report message to a moderator
|
|
|