SQL SERVER – Network Servers List is Empty in SQL Server Management Studio

I have in numerous places told that the first tool that I often open when the computer boots up will be SQL Server Management Studio. I get intrigued whenever someone comes up with an error relating to SSMS. There is something that gets my troubleshooting character out and I get out full swing to solve the same. Don’t you ever like such challenges? I am for sure you like similar challenges. One of my clients reported below problem with Network Servers List in SQL Server Management Studio.

Read More

SQL SERVER – Query to Get CPU Usage History for SQL Server and Operating System

I have seen a number of customers manage their SQL Server environments in an adhoc manner. These accidental DBA’s need to know what happened in the system in a chronological order or even worst need to know what led to the lead up to a particular problem. Many times when we troubleshoot a problem with high CPU, its asked that when it all started and do we have any historical data of CPU usage? Here is the one query which I have re-written to have more details. Let us see Query to Get CPU Usage History for SQL Server and Operating System.

Read More

SQL SERVER – Detected a DTC/KTM in-doubt Transaction with UOW

Recently, one of my clients contacted me to assist in fixing and issue which was causing their production database to be in SUSPECT state. The learnings I am getting from various consulting engagements is awesome and the after effect of this is a number of blogs I have published in the recent past. They were using Microsoft SQL Server 2008 R2 (SP2) in a clustered environment. They had a disaster and had a hard failure of SQL cluster. Initially there were issues with DTC and they were able to fix them by installing the DTC component in the cluster. Now, once they reinstalled DTC, the production database was in SUSPECT state. Let us learn about how to detect DTC/KTM in-doubt Transaction with UOW.

Read More