Category Archives: Troubleshooting

SQL Server DENALI HARDON DMVs and Functions – SYSTEM View MAP

SQL Server Denali has introduced lot of DMV’s and DMF for HARDON. Here is a list of DMVs and DMF which are being used by HARDON / Availability Groups. The System View MAP for all DMV and DMF for SQL Server Denali CTP1 HARDON, as on date. This system view was being built by One [...]

DBCC TRACEON – Follow-up

In my recent post on using DBCC TRACEON() in conjunction with setting startup parameters, I pointed out that you can frequently avoid the need to restart a SQL Server immediately by specifying the startup flag/parameter necessary and then just executing…

How to Optimize tempdb ?

TEMPDB, is the temporary database that is being used by SQL Server to store temporary data or temporary work. TEMPDB stores Local and global temporary tables and indexes Table variables User-defined tables and indexes Work tables for processing static or keyset cursors Work files needed for many GROUP BY, ORDER BY, UNION, SORT, and SELECT [...]

How to identify your SQL Server version and edition even if SQL Services are not running

I was being called in a mid of a upgrade project from SQL Server 2005 to SQL Server 2008. The assigned DBA resource has gathered all the information related to SQL Server. SQL Services were stooped so that cold backup of files can be performed at file level. So SQL services were taken down and [...]

Error 5233 – SQL Server 2008 database

In SQL Server 2008, the Auditing feature has been introduced that allow you to track user and system activity for the enterprise customers. This feature provides the option to detect any unauthorized access attempts, if any, to the SQL Server database. Also, it facilitates a rich and powerful tracking capability to recognize any sensitive configuration [...]

SQL Server properties changed on cluster resource failover

One of my friend has recently had an issue on one of his SQL Server two node cluster. He was seeing different authentication modes for SQL Server depending on which node of the 2-node cluster that it was online on. The only recent change to their SQL Server environment was that they applied Service Pack [...]

SQL Server Performance issues- From where to start in crises

Performance is the area where a operational DBA spends around 40 % of his/her time and out of this 40 %, 70 % time is used to figure out, what is wrong. To reduce this time, here are query handy SQL statements which will give you some startup where you should to deal with performance  issues. These are few very basic queries, which [...]