15 pts.
 Users accessing SQL Server 2008 database
how can i know how many users are accessing database remotely and how much load is on database .how can it be detected in sql server 2008. pls let me know .  

Software/Hardware used:
sql server 2008
ASKED: June 22, 2010  11:55 AM
UPDATED: June 25, 2010  10:35 AM

Answer Wiki:
You'll want to use Activity Monitor (within SQL) to view the current performance of your database. Use Activity Monitor to obtain information about SQL Server processes and how these processes affect the current instance of SQL Server. The Activity Monitor page has the following sections: Overview - Shows graphical displays of the percent of processor time, number of waiting tasks, database I/O (megabytes per second), and batch requests (number per second). Active User Tasks - Shows information for active user connections to SQL Server Database Engine. Resource Waits - Shows wait state information. Data File I/O - Shows I/O information for database data and log files. Recent Expensive Queries - Shows information about the most expensive queries. To view the Activity Monitor in SQL Server 2005 and SQL Server 2008, a user must have VIEW SERVER STATE permission. To view the Activity Monitor on a SQL Server 2000 server, a user must have SELECT permission to the sysprocesses and syslocks tables in the master database. Permission to view these tables is granted by default to the public database role. To KILL a process, a user must be a member of the sysadmin or processadmin fixed server roles. To open Activity Monitor in SQL Server Management Studio On the SQL Server Management Studio standard toolbar, click Activity Monitor. In the Connect to Server dialog box, select the server name and authentication mode, and then click Connect. You can also open Activity Monitor at any time by pressing CTRL+ALT A. To open Activity Monitor in Object Explorer In Object Explorer, right-click the instance name, and then select Activity Monitor. To open Activity Monitor when opening SQL Server Management Studio On the Tools menu, click Options. In the Options dialog box, expand Environment, and then select General. In the At startup box, select Open Object Explorer and Activity Monitor. To activate the changes, close and reopen SQL Server Management Studio. Original Link: http://msdn.microsoft.com/en-us/library/ms175518.aspx
Last Wiki Answer Submitted:  June 22, 2010  7:53 pm  by  Aguacer0   8,120 pts.
All Answer Wiki Contributors:  Aguacer0   8,120 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _