Monitoring CPU Use

You should periodically monitor the computer running Microsoft® SQL Server™ to determine if CPU utilization rates are within normal ranges. A continually high CPU rate may indicate the need for a CPU upgrade or the addition of multiple processors. Additionally, a continually high CPU utilization may indicate a poorly tuned or designed application. Optimizing the application can lower CPU utilization. For more information, see Application Design.

A good way to determine this is to use the Processor:% Processor Time counter. This counter in Windows NT Performance Monitor monitors the amount of time the CPU spends processing a nonidle thread. A consistent state of 80 to 90 percent may indicate the need for a CPU upgrade or the addition of more processors. For multiprocessor systems, a separate instance of this counter should be monitored for each processor. This value represents the sum of processor time on a specific processor. To determine the average for all processors, use the System: %Total Processor Time counter instead.

Optionally, you can also monitor:

When you examine processor usage, consider the type of work the computer running SQL Server is performing. If SQL Server is performing a lot of calculations, such as queries involving aggregates or memory-bound queries that require no disk I/O, 100 percent of the processor’s time can be used. If this causes the performance of other applications to suffer, try changing the workload, for example, by dedicating the computer to running SQL Server.

Values around 100 percent, where many client requests are executing, may indicate that processes are queuing up, waiting for processor time, and causing a bottleneck. Resolve the problem by adding more powerful processors.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.