<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'denali', 'dynamic management views', 'SQL Server 11', and 'SQL Server 2011'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=denali,dynamic+management+views,SQL+Server+11,SQL+Server+2011&amp;orTags=0</link><description>Search results matching tags 'denali', 'dynamic management views', 'SQL Server 11', and 'SQL Server 2011'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Connect Digest : 2011-05-02</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2011/05/02/connect-digest-2011-05-02.aspx</link><pubDate>Mon, 02 May 2011 11:15:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35217</guid><dc:creator>AaronBertrand</dc:creator><description>&lt;p&gt;This week, after seeing a lot of the DMV enhancements made in &lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2011/04/25/more-changes-you-might-not-have-noticed-in-the-sql-server-2008-r2-sp1-ctp.aspx" title="http://sqlblog.com/blogs/aaron_bertrand/archive/2011/04/25/more-changes-you-might-not-have-noticed-in-the-sql-server-2008-r2-sp1-ctp.aspx" target="_blank"&gt;SQL Server 2008 R2 SP1&lt;/a&gt;, I thought I would take a look at some dynamic management view/function requests.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;b&gt;Page split personality&lt;/b&gt; &lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Michael Zilberstein &lt;a href="http://sqlblog.com/blogs/michael_zilberstein/archive/2011/04/25/35175.aspx" title="http://sqlblog.com/blogs/michael_zilberstein/archive/2011/04/25/35175.aspx" target="_blank"&gt;blogged on Monday&lt;/a&gt; about how Extended Events and the transaction log differ in the way they report page split information, and that it would be useful to have accurate information about these events available in the DMVs. So he filed this Connect item:&lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/664900/please-add-page-splits-data-per-index-index-level-and-page-split-type" title="http://connect.microsoft.com/SQLServer/feedback/details/664900/please-add-page-splits-data-per-index-index-level-and-page-split-type" target="_blank"&gt;#664900 : Please add page splits data per index, index level and page split type&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I asked for a very similar item back in 2008, but thought that it belonged in sys.dm_db_index_physical_stats:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/388403/include-page-split-information-in-sys-dm-db-index-physical-stats" title="http://connect.microsoft.com/SQLServer/feedback/details/388403/include-page-split-information-in-sys-dm-db-index-physical-stats" target="_blank"&gt;#388403 : Include page split information in sys.dm_db_index_physical_stats&lt;/a&gt;&amp;nbsp; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;They've already provided additional info via Extended Events (see &lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/388482/sql-server-extended-events-page-split-event-additions" title="http://connect.microsoft.com/SQLServer/feedback/details/388482/sql-server-extended-events-page-split-event-additions" target="_blank"&gt;#388482 : SQL Server Extended Events Page/Split Event Additions&lt;/a&gt;) so, hopefully, they will take our DMV requests seriously as well.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br&gt;&lt;b&gt;How stale is my database?&lt;/b&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Kimberly Tripp (&lt;a href="http://www.sqlskills.com/blogs/kimberly/" title="http://www.sqlskills.com/blogs/kimberly/" target="_blank"&gt;blog&lt;/a&gt; | &lt;a href="http://twitter.com/KimberlyLTripp" title="http://twitter.com/KimberlyLTripp" target="_blank"&gt;twitter&lt;/a&gt;) posted this item, asking for a column in sys.databases to reflect last accessed time (I think it belongs in an existing or new DMV, not in the catalog view). An additional comment on the item suggested a terrific enhancement to this potential feature, where each individual login would be represented with their last access time, making it easy to differentiate when a database is only being accessed by system or background processes.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/659846/database-last-accessed-time" title="http://connect.microsoft.com/SQLServer/feedback/details/659846/database-last-accessed-time" target="_blank"&gt;#659846 : Database last accessed time&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;They've recently rejected a similar item requesting last accessed time for objects within a database (see &lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/454714/i-should-be-able-to-see-the-last-time-an-object-was-accessed-in-sysobjects" title="http://connect.microsoft.com/SQLServer/feedback/details/454714/i-should-be-able-to-see-the-last-time-an-object-was-accessed-in-sysobjects" target="_blank"&gt;#454714 : I should be able to see the last time an object was accessed in sysobjects&lt;/a&gt;), though that one had zero votes, so I'm hopeful that Kimberly's request may be deemed both easier to implement and more important to the community. &lt;br&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br&gt;&lt;b&gt;I'm an E7-8800, what are you?&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;Glenn Alan Berry (&lt;a href="http://sqlserverperformance.wordpress.com/" title="http://sqlserverperformance.wordpress.com/" target="_blank"&gt;blog&lt;/a&gt; | &lt;a href="http://twitter.com/GlennAlanBerry" title="http://twitter.com/GlennAlanBerry" target="_blank"&gt;twitter&lt;/a&gt;) asked for an additional column on the sys.dm_os_sys_info DMV that reflects the CPU's description (e.g. Xeon X5505). As you may have noticed on his blog, Glenn spends a lot of effort on analyzing performance of workloads on different CPUs, and there are some pretty substantial differences between CPUs that may look quite similar to the average person - especially when seeing vastly different performance on two servers that are otherwise very similar (same amount of RAM, same SAN, etc).&lt;br&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/657435/add-a-processor-description-column-to-sys-dm-os-sys-info-in-sql-server-denali" title="http://connect.microsoft.com/SQLServer/feedback/details/657435/add-a-processor-description-column-to-sys-dm-os-sys-info-in-sql-server-denali" target="_blank"&gt;#657435 : Add a processor_description column to sys.dm_os_sys_info in SQL Server Denali&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;An additional comment requested that the true observed speed would be shown, as opposed (or in addition) to the manufacturer's stated clock speed - the true speed is a number than can vary greatly if you are using power saving options.&lt;br&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br&gt;&lt;b&gt;You're a word, but are you reserved?&lt;/b&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;This almost certainly wouldn't be in a DMV, but I still like the idea and it almost fits here. Greg Low (&lt;a href="http://sqlblog.com/blogs/greg_low/default.aspx" title="http://sqlblog.com/blogs/greg_low/default.aspx" target="_blank"&gt;blog&lt;/a&gt; | &lt;a href="http://twitter.com/greglow" title="http://twitter.com/greglow" target="_blank"&gt;twitter&lt;/a&gt;) is requesting a system view of some kind that exposes a list of reserved words - my comment here was that relying on IntelliSense alone is a fool's errand.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/653455/system-view-that-lists-reserved-words" title="http://connect.microsoft.com/SQLServer/feedback/details/653455/system-view-that-lists-reserved-words" target="_blank"&gt;#653455 : System View that lists Reserved Words&lt;/a&gt;&amp;nbsp; &lt;br&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;On a somewhat-but-not-really-related note, Meredith Ryan-Smith (&lt;a href="http://meredithryansmith.wordpress.com/" title="http://meredithryansmith.wordpress.com/" target="_blank"&gt;blog&lt;/a&gt; | &lt;a href="http://twitter.com/coffegrl" title="http://twitter.com/coffegrl" target="_blank"&gt;twitter&lt;/a&gt;) recently &lt;a href="http://meredithryansmith.wordpress.com/2011/04/25/of-course-thats-how-you-spell-sp_msacquireheadofqueuelock/" title="http://meredithryansmith.wordpress.com/2011/04/25/of-course-thats-how-you-spell-sp_msacquireheadofqueuelock/" target="_blank"&gt;blogged about a workaround&lt;/a&gt; she used to export all of the object names from sys.all_objects into a custom dictionary for use in Word, PowerPoint, etc. to avoid the ugly red squiggly lines pointing out that you misspelled sp_server_diagnostics and sp_who2. I think that if the metadata Greg is asking for were made available, then this idea would be easy to extend to reserved words, so that Word also wouldn't try to convince you that perfectly valid "words" like COLUMNSTORE and DATA_COMPRESSION are spelled wrong.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br&gt;&lt;b&gt;Do you really like DBCC?&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Greg Low also requested that the information returned by running DBCC SHOW_STATISTICS be made available through a DMV (another user suggested &lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/475270/add-column-to-sys-stats-to-indicate-if-the-optimizer-considers-statistics-out-of-date-invalid" title="http://connect.microsoft.com/SQLServer/feedback/details/475270/add-column-to-sys-stats-to-indicate-if-the-optimizer-considers-statistics-out-of-date-invalid" target="_blank"&gt;adding a column like is_stale to sys.stats&lt;/a&gt;, but I think a separate DMV makes more sense).&lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt; &lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/611155/dbcc-show-statistics-info-should-be-available-as-a-dmv" title="http://connect.microsoft.com/SQLServer/feedback/details/611155/dbcc-show-statistics-info-should-be-available-as-a-dmv" target="_blank"&gt;#611155 : DBCC SHOW_STATISTICS info should be available as a DMV&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Exposing this information in a DMV would also, presumably, make it easier to access information like STATS_DATE without having to be in the context of that database (see &lt;a href="http://connect.microsoft.com/SQLServer/feedback/details/654972/stats-date-only-works-as-documented-when-current-db-is-where-the-tables-are" title="http://connect.microsoft.com/SQLServer/feedback/details/654972/stats-date-only-works-as-documented-when-current-db-is-where-the-tables-are" target="_blank"&gt;#654972 : STATS_DATE only works as documented when current db is where the tables are&lt;/a&gt;).&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br&gt;&lt;/p&gt;&lt;/blockquote&gt;</description></item></channel></rss>