Monitor SQL Server using Performance Monitor on Windows Server 2008 R2
Table of Contents
- Open Performance Monitor (AKA perfmon)
- Setup the Data Collector Set
- Start the Data Collector Set
- Stop the Data Collector Set
Step 1: Open Performance Monitor (AKA perfmon)
- Press the Start + R keys to get the Run dialog.
- Type “perfmon”:
- Click the “OK” button.
Step 2: Setup the Data Collector Set
- Left click the arrow found to the left of "Data Collector Sets" to expand the tree:
- Right click "User Defined", and select "New > Data Collector Set".
- Specify a unique name for the Data Collector Set:
- Select the "Create manually (Advanced)" radio button.
- Click the "Next" button.
- Check off "Performance counter", found under the "Create data logs":
- Click the "Next" button.
- Click the "Add" button.
- OPTIONAL: If using Performance Monitor to watch a remote host.
- Type the hostname into the “Select counters from computer” text field:
- Press the Tab key to trigger the dialog to query the remote host specified for available counters, and refresh the list of counters (can take a couple of minutes).
- Type the hostname into the “Select counters from computer” text field:
- Scroll to "MSSQL$[appropriate instance name]: General Statistics".
- Click the "+" to expand the node (found to the right of "MSSQL$[appropriate instance name]: General Statistics)
- Select "User Connections".
- Click the "Add" button.
- Scroll to "MSSQL$[appropriate instance name]: Locking".
- Click the "+" to expand the node (found to the right of "MSSQL$[appropriate instance name]: Locking)
- Select "Average Wait Time (ms)".
- Select "Database" for "Instances of selected object".
- Click the "Add" button.
- Click the "OK" button.
- OPTIONAL: Change the log location.
- Click the "Next" button.
- OPTIONAL: Change the user account this Data Collector Set will use for credentials.
- Click the "Finish" button.
Step 3: Start the Data Collector Set
- Right click on the Data Collector Set created in Step 2.
- Select "Start".
Step 4: Stop the Data Collector Set
- Right click on the Data Collector Set created in Step 2.
- Select "Stop".
No comments:
Post a Comment