Body
This document will detail how to pull data/statistics on the performance of a server during specific time frames.
The first question to ask is what data is relevant. Below is a list of the normal data we would want from our servers activity.
-
Data to pull:
-
Processor
-
Physical Disk
-
Memory
-
Paging
-
Network
The Windows server provides hundreds of counters that can pull data, but for most common instances the above list will suffice.
To begin to create your collection follow the described steps below:
-
Login to the server in questions (i.e. the server you want to analyze).
-
Open Performance Monitor (located under the Administrator Tools).
-
On the left hand side locate and click "Data Collection Sets".
-
Under "Data Collection Sets" Right click "User Defined" and select NEW "Data Collector set".
-
Type in a name for the set using as much detail as possible including date and user name i.e.: (sqlprod07 10-02-2018 cpu,phydisk,net,ram,page job112)
-
Below the name you just entered click "Create Manually" radio button.
-
Click "Next".
-
On "What Type of Data do you want to include", under Create Data Logs place a check in "Performance Counter".
-
Click "Next".
-
On "Which performance counters would you like to log" click the "Add" button.
-
The available counters are displayed on the left side of the display. Locate the below counters and add them to right side:
-
Processor:
-
% Processor Time
-
Physical Disk:
-
% Disk Read Time
-
% Disk Time
-
% Disk Write Time
-
% Idle Time
-
Current Disk Queue Length
-
Disk Reads/sec
-
Disk Writes/sec
-
Split IO/sec
-
Network Interface or Network Adapter:
-
Network Throughput
-
Bytes Received/sec
-
Bytes Sent/sec
-
Individual Process Statistics (optional)
-
JAVA
-
Oracle
-
Memory:
-
Available Bytes
-
Cache Bytes
-
Pool Nonpaged Bytes
-
Paging
-
Pages/sec
-
Page Reads/sec
-
Page Writes/sec
-
% Commited Bytes In Use
-
Some of the above counters may be found in different sub-menus depending on the windows version used.
-
When all of the counters have been added click "OK". This will return you to the "Which performance counters would you like to log" page.
-
The sample interval option provides a way to determine how often you want your statistics to be gathered. The quicker the time the more resources will be used. Although this is not a high resource intense process 5-10 seconds would suffice for a baseline. 15 second interval will grab data 4 times a minute. 10 second interval will show 6 points of entry (or peaks in your data) per minute. The deciding factor on how often to use the interval is determined by how fast the activity you are looking to view occurs. Fast acting events will require a faster interval time. This may have relevance in order to see ETL's jobs that run in under a minute.
-
A (10) second interval that runs for 15 minutes will produce approximately a 192KB file. This information can be utilized to ensure that enough disk space is available.
-
Click "Next".
-
On the "Where would you like the data to be saved" change the path to point to a folder you created that has enough disk space. i.e. "C:\perflogs".
-
Click "Next".
-
On the next page leave the default setting to "Run As" "Default".
-
Click Finish.
-
You are now returned to the main Performance Monitor Screen.
-
Locate the Data Collector Set you just created and right click and select "Properties".
-
On the "General Tab" Fill in an appropriate Description of why you are pulling this data. The more descriptive the better. For reference see below:
-
Generate a report detailing the status of local hardware resources, system response times, and processes on the local computer. Use this information to identify possible causes of performance issues. Membership in the local Administrators group, or equivalent, is the minimum required to run this Data Collector Set.
-
On the "Directory" tab Ensure that the Sub-directory format follows our timing standard as shown below:
-
yyyyMMdd-NNNNNN
-
Also, ensure that the "prefix sub-directory with computer name" is checked.