disconnect the schema [message #687643] |
Mon, 24 April 2023 12:02  |
 |
deepakdot
Messages: 89 Registered: July 2015
|
Member |
|
|
Hi
Is there a way, I can stop (disconnect all the sessions) from a schema and don't allow new connections to the schema .
If I use, "ALTER USER scott account lock", its not allowing new connections. But with existing connections before lock, I am able to access table. I need both not to work.
Finding all the sessions from v$session for a schema and kill them, will take time. is there a single command which will disconnect all existing sessions and not allow new sessions to a schema ?
Regards,
Deepak
|
|
|
|
|
|
|