How to kill a SQL Connection through Activity Monitor?
Activity Monitor is Graphical tool which tells you about the currently running processes, Resource Waits, Data file I/O and Expensive Queries.
This information is compiled from various System Tables and Views and if you have right permission you could re-arrange columns, click to sort, and right-click to kill a process and another advantage is- it will guide you to other tools that will help you solve those problems.
You need proper permissions(“View Server State”) to view Activity Monitor and to kill a connection you need SA permissions
The processor time shown here is a percentage of the time that SQL Server is exercising the processor — not the entire CPU itself. What that means is that while SQL Server might not be using a lot of processor, the Windows Operating system might have other tasks that are. Also, if you tied out only one processor to SQL Server on a dual-processor box, you need to take that into account as well.
How do I open Activity Monitor?
- Connect to SQLServer through SSMS
- Right click on Server and click on Activity Monitor
- Expand Process box
- Select the connection which you want to kill and right click and finally click on “Kill Process”
No comments:
Post a Comment