How To Allow Users To View SQL Server 2005 Activity Monitor?

Introduction

Use the Activity Monitor component of Microsoft SQL Server Management Studio to get information about users connections to the Database Engine and the locks that they hold. Activity Monitor has three pages. The Process Info page contains information about the connections. The Locks by Process page sorts the locks by the connection. The Locks by Object page sorts the locks by the object name. Click the Filter button to apply a filter, reducing the amount of information displayed.

Use Activity Monitor when troubleshooting database locking issues, and to terminate a deadlocked or otherwise unresponsive process.

How To Grant and Revoke the Permission

Open a query window in SQL Server 2005 Management Studio and execute the following statement.

		-- Grant
		GRANT VIEW SERVER STATE TO << login name >>
		
		-- Revoke
		REVOKE VIEW SERVER STATE FROM << login name >>
	

How To View SQL Server 2005 Activity Monitor?

In SQL Server Management Studio, connect to the server with Object Explorer, expand Management, and then double-click Activity Monitor.

SQL Server 2005 Activity Monitor

Navigator

Other Knowledgebase Articles

Shared Hosting

# of Domains: 2
# of SQL Server Databases: 2
Disk Space: Unlimited
Bandwidth: Unlimited
Email: Unlimited
SQL Server 2008 R2
Monthly: $4.99
More Information About Unlimited Shared Windows Hosting Plan

Windows Hyper-V Server

Dedicated Memory:2GB
Disk Space: 200GB
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $49.99
More Information About Unlimited Windows Hyper-V Server

Dedicated SQL Server

CPU: Intel Dual-Core Sandy Bridge I3-2100
RAM: 8GB RAM
Disk: 2x320GB SATA
RAID: Host RAID 1
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $99.00
More Information About Unlimited Dedicated SQL Server