Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

How to identify the spike in CPU utilization due to concurrency in SQL Server

$
0
0

Hi All,

I have a Windows 2012 server  which is 2 core processor with 16 logical cores as per sys.dm_os_sys_info and max_workers_count of 704. It has two sql server 2012 instances.

The default instance is a heavily used one with 100+ Dbs which is basically a PT environment. The named instance will have very minimal activity.

Normally my CPU utilization would be say around 40%. When PT team is doing PT test for a particular DB by simulating some 500 concurrent connections to my default PT instance DB, my CPU utilization is spiking to say 80%.

Now my questions are

1)what exactly max_workers_count 704 means?

To the max my sql server can server upto 704 concurrent sessions?

I have taken the long running queries for that period of PT test for that particular DB from sys.dm_exec_query_stats. query execution time of the SPs are in <500 ms.

2) What are the information i need to collect to find the spike in CPU utilization from 40% to 80% ?

3) Should i need to collect any related perfmon counters to find the spike in CPU utilization?

4)The DB property is set to auto_updatestatistics to true. Still is it mandatory to run regular update statistics on the DB?

Thanks


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>