?

Blocking in SQL Server 2016

Posted on 2018-01-13
4
Medium Priority
?
41 Views
Last Modified: 2018-01-18
Hi Team,

MS sql server is showing CPU 98% and Memory 99%. This is sql server 2016.

I didn't some testing. When i disable application user, the cpu and memory is coming down to just 5-10%, but at the moment when i enable applicaiton user, within 5-10 mins CPU and going to 99%. when when i run SP_who2, i found lot of blocking.
Please go thourgh the screenhot and suggest us, how to resolve.

els01blocking.JPG
0
Comment
Question by:Vijay
  • 2
4 Comments
 
LVL 72

Expert Comment

by:Qlemo
Did you fry what happens if you run a single app server only? It looks like you are running a massive parallel threading software, working in a lot of different databasesy and you won't be able to drill down to the basic reason unless you reduce complexity (i.e. run only one process, and monitor, then add more processes).

For blocking, either multiple sessions access and change the same resource (table), or you have parallel use of indexes enabled (and then it's a "performance improvement" measure going south for you).
0
 
LVL 53

Expert Comment

by:Vitor Montalvão
That's a similar behaviour when you're having a memory bottleneck. How much memory the Server has and how much is reserved for SQL Server? Can you add more RAM?
0
 

Author Comment

by:Vijay
This server contains total 128 GB.

Please find the screen shot  for sql server memory.
els01memory.JPG
0
 
LVL 53

Expert Comment

by:Vitor Montalvão
How big is your database or databases?
Can you capture a couple of long running queries so we can analyze them for you?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Join & Write a Comment

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question