SQL SERVER – Observation: ROWLOCK Hint and Slow Performance

During my recent Comprehensive Database Performance Health Check Developer showed me a slow query which used ROWLOCK hint. The common understanding is that with the help of ROWLOCK hint SQL Server only locks a single row which eventually leads to performance but in their case, it was actually very much opposite. Let us see this scenario with a simple example.

Read More

Practical Real World Performance Tuning – Fun and Reviews

Unless you are staying under the rock, you would be familiar with Practical Real World Performance Tuning course. This is the second part about behind the scene story. You can read my first part here – Practical Real World Performance Tuning – Before the Class Announced. In this part of the blog series let us discuss about the reviews we received for this classes and fun we have during the session.

Read More

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