All Articles cputhread-600x334

How Much Work Each Processor (CPU) is Doing in SQL Server? – Interview Question of the Week #178

Question: How Much Work Each Processor (CPU) is Doing in SQL Server?

Answer: To be honest, I have not seen this question asked in any of the interview questions so far. Actually, this question was asked by one of my clients during Comprehensive Database Performance Health Check. Every time whenever he logs into his system, he finds his CPU running very very high even though he had over 56 active processors. What he really wanted to know what exactly is going on behind the scene of his processors. He really wanted to figure out, how busy his servers are and how much work is pending per Processor (CPU)?

Read More
All Articles oversum-600x1028

SQL SERVER – Adding Values WITH OVER and PARTITION BY

Once in a while, I get questions where users have indeed explained the question well enough that I can easily understand their question. If I understand question quickly, I am always able to answer it efficiently as well. In this blog post, we will see one such question which I answered with keywords WITH OVER and PARTITION BY.

Read More
All Articles inor2-600x331

SQL SERVER – Performance Comparison IN vs OR

Some questions never get old and some question and I believe we will be discussing them for many more years in the future. Just other days, I received this question during my SQL Server Performance Tuning Practical Workshop. The question was about Performance Comparison IN vs OR. Though personally, I have answered this question quite a many times before, let us answer it once again, it never hurts to repeat the truth multiple times.

Read More
All Articles twomisc-600x543

SQL SERVER – SSMS 17.7 Observation – Two Miscellaneous Category in Database Property Options

First of all this observation is only applicable if you are using SSMS 17.7 build. It was very interesting to me that I was able to find two Miscellaneous categories in Database Property Option for SQL Server. Please note the version of SQL Server which I have connected to SSMS 17.7 is also SQL Server 2017. If you try following on any other SSMS version you may not get the same results.

Read More
All Articles convertimplicit0-600x381

SQL SERVER – How to Fix CONVERT_IMPLICIT Warnings?

One of the biggest issues I see with at various of my customer who signed up at Comprehensive Database Performance Health Check, is about CONVERT_IMPLICIT. As soon as I demonstrate my customer that they are not getting performance due to CONVERT_IMPLICIT their next question is how can they fix the issue of CONVERT_IMPLICIT. In this single blog post, we will learn about how to find this issue and fix it as well.

Read More
All Articles clus-facet-p3-01-600x436

SQL SERVER – Install Error: Microsoft Cluster Service (MSCS) Cluster Verification Errors – Part 3

In recent past, I was assisting a client in installing SQL Server clustered instance in a Windows Cluster. There were many errors encountered and I learned a lot from this experience. In this blog, we would learn about Microsoft Cluster Service (MSCS) cluster verification errors which might appear during installation or AddNode.

Read More