Dedicated SQL Server Hosting Specialist Dedicated SQL Server Hosting Specialist

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 How-Tos
External Windows Resources
External SQL Server Resources
External Webmaster Resources
External Developer Resources

Questions?

Please email to webmaster[$]dedicatedsqlserver.com.

Lite SQL Server

CPU: Intel Core 2 Duo E6320
CPU Speed: 1.86GHz
Cache: 4MB
RAM: 1GB RAM
Disk: 2x160B SATA
RAID: RAID 1
Bandwidth: 1000GB
Win2008 Web or Win2003 STD: Free
IP Addresses: 8
Monthly: $119.00

Detail...

Standard SQL Server

CPU: Quad-Core Xeon E5410
CPU Speed: 2.33GHz
Cache: 12MB
RAM: 2GB RAM
Disk: 2x146GB SCSI
RAID: RAID 1
Bandwidth: 1500GB
Win2008 Web or Win2003 STD: Free
IP Addresses: 8
Monthly: $259.00

Detail...