Activity Monitor for SQL Server 2008

An activity monitor for SQL Server is a utility for seeing the performance of your SQL Server. In other words, what the resources are used, what are the expensive queries, what memory and resources are taken etc.

Now to see the Activity Monitor in SQL Server 2008.

Step 1:

First open the SQL Server 2008.

Step 2:

Right-click the SQL Server Engine and click "Activity Monitor".


MonitorSql1.gif

Step 3:

After clicking that you will see like the following figure:


MonitorSql2.gif

See here you will see the 5 sections.

  1. Overview
  2. Process
  3. Resource Waits
  4. Data File Io
  5. Recent Expressive Query

Step 4:

Now I click the Process. It will see like:


MonitorSql3.gif

See here you will get the Session id, Database, Task State, Wait time etc information. You can change the resource by clicking the dropdown also.

Step 5:

Now click the Resource Waits it will look like:


MonitorSql4.gif

See here you will get all the information of time for the resources being waited on.

Step 6:

Now click the Data File I/O. It will look like:


MonitorSql5.gif

See here you will get all the database names of your SQL Server and the time for data interaction of each database.

Step 7:

Now click the "Recent Expensive Query".


MonitorSql6.gif

See here you will get the entire query that takes the most time to execute or that takes the most resources. You will get the information of the query execution.

Conclusion: So in this article I have described how to use an Activity Monitor in SQL Server 2008. This process is useful when a web site interacts with SQL Server and you will see what types of resources are taken.
 


Similar Articles