SQL Server Diagnostic Information Queries for July 2013

I have gone through and made some minor updates and bug fixes for all of my SQL Server Diagnostic Information Queries for this month. Rather than having a separate blog post for each version, I’ll just put the links for all four versions here.

SQL Server 2005 Diagnostic Information Queries          SQL Server 2005 Blank Results

SQL Server 2008 Diagnostic Information Queries          SQL Server 2008 Blank Results

SQL Server 2008 R2 Diagnostic Information Queries    SQL Server 2008 R2 Blank Results

SQL Server 2012 Diagnostic Information Queries           SQL Server 2012 Blank Results

About half of the queries are instance specific and about half are database specific, so you will want to make sure you are connected to a database that you are concerned about instead of the master, system database.

The idea is that you would run each query in the set, one at a time (after reading the directions). You need to click on the top left square of the results grid to select all of the results, and then right-click and select “Copy with Headers” to copy all of the results, including the column headers to the Windows clipboard. Then you paste the results into the matching tab in the spreadsheet.

There are also some comments on how to interpret the results after each query. Please let me know what you think of these queries.

This entry was posted in Diagnostic Queries and tagged , . Bookmark the permalink.

9 Responses to SQL Server Diagnostic Information Queries for July 2013

  1. Randy says:

    Fantastic. Thanks a bunch. Now that we’re on sql 2012 Enterprise I sent DBA management the results of those queries dealing with compression opportunities.

  2. Thomas Chan says:

    First All, thanks for the script. It gave me a general view of my instances.
    Also, it make me update my instances to newer service pack, because sys.dm_os_windows_info and others are only available from SP1+.

  3. Carla Abanes says:

    Reblogged this on Coffee and SQL.

  4. Carla Abanes says:

    These are always a big help. Thanks so much!

  5. Pingback: Something for the Weekend - SQL Server Links 12/07/13 • John Sansom

  6. Pingback: SQL Server – Diagnostic Information Queries (2005/2008/2012) | Alex Souza

  7. Mark says:

    Glenn, this is a great way of documenting our instances and databases. I can see you have put a great deal of effort into this work. I can’t praise you enough and your efforts are highly appreciated.

  8. victormlima says:

    Very useful!

    A sugestion: Include Agent Job Information, like duration, errors, execution avg, jobs without notification

  9. Mark says:

    Awesome! Thanks for this!

Leave a comment