I have made quite a few updates and improvements to this set of queries for December 2013. I have added several new queries, and changed the order of some of the existing queries in the set, which now has a total of 63 separate queries. I also spent some time this month to true up the SQL Server 2014 version and the SQL Server 2012 version for the queries that are common between both versions. <\/p>\n
The blank results spreadsheet has also been updated to match. You can download the queries and the results spreadsheet from the links below: <\/p>\n
SQL Server 2012 Diagnostic Information Queries <\/p>\n
SQL Server 2012 Blank Results <\/p>\n
About half of these queries are instance specific and about half are database specific, so you will want to make sure<\/u><\/strong> you are connected to a user database that you are concerned about instead of the master system database. <\/p>\n The basic idea is that you would run each query in the set, one at a time (after reading the directions). You will need to click on the top left square of the results grid to select all of the results, and then right-click and select \u201cCopy with Headers\u201d 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 results spreadsheet. There are also some comments on how to interpret the results after each query. <\/p>\n Note: These queries are stored on Dropbox. I occasionally get reports that the links to the queries and blank results spreadsheets do not work, which is most likely because Dropbox is blocked wherever people are trying to connect. I also occasionally get reports that some of the queries simply don\u2019t work. This usually turns out to be an issue where people have some of their databases in 80 compatibility mode, which breaks many DMV queries. <\/p>\n There is an initial query in each version that tries to confirm that you are using the correct version of the script for your version of SQL Server. In this case, you need to have SQL Server 2012 RTM (or newer) to pass that check. <\/p>\n Please let me know what you think of these queries, and whether you have any suggestions for improvements. Thanks! <\/p>\n If you know someone who would benefit from our <\/font>IE0: Immersion Event for Accidental\/Junior DBA<\/font><\/a> or <\/font>IEHW: Immersion Event on SQL Server Hardware<\/font><\/a>, refer them to us and when they register we\u2019ll send you a $50 Amazon gift card. Either they or you just need to let us know you referred them, we\u2019ll match it up to their registration and send you the gift card.<\/font><\/p>\n","protected":false},"excerpt":{"rendered":" I have made quite a few updates and improvements to this set of queries for December 2013. I have added several new queries, and changed the order of some of the existing queries in the set, which now has a total of 63 separate queries. I also spent some time this month to true up […]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[176,31],"tags":[179],"class_list":["post-859","post","type-post","status-publish","format-standard","hentry","category-dmv-queries","category-sql-server-2012","tag-diagnostic-queries"],"yoast_head":"\n