on 01-27-2017 2:05 AM
Hi All,
Currently I have run something like below to find connected sessions and kill using studio:
1. find connections a schema
SELECT * FROM"SYS"."M_CONNECTIONS"
WHERE "CURRENT_SCHEMA_NAME" = 'MYSCHEMA'
and "CONNECTION_STATUS" = 'IDLE'
2. kill
ALTER SYSTEM DISCONNECT SESSION'300091
This is too time consuming and by the time I kill one session another one pops up. In the SQL server you have Activity Monitor where you can filter by database and right click to kill a session. Is there something similar in Hana?
I'm an application consultant and I don't have the time to remember commands or write scripts so wondering if there is anything easier in the Hana world.
Thanks
You can cancel connections in SAP HANA Studio's Admin editor.
Just right-click on the connection you like to cancel.
Concerning "I'm an application consultant and I don't have the time to remember commands..." I'd say you probably shouldn't be administering the database in that case anyhow. If your job doesn't entail this, then you shouldn't be fiddling with it either, as you might cause quite some damage by either not knowing how things work or misunderstanding how they work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.