The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Monitoring Performance of SQL Server 2005 Objects

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Tim Sneath

Posts: 395
Nickname: timsneath
Registered: Aug, 2003

Tim Sneath is a .NET developer for Microsoft in the UK.
Monitoring Performance of SQL Server 2005 Objects Posted: Aug 31, 2004 2:55 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Tim Sneath.
Original Post: Monitoring Performance of SQL Server 2005 Objects
Feed Title: Tim Sneath's Blog
Feed URL: /msdnerror.htm?aspxerrorpath=/tims/Rss.aspx
Feed Description: Random mumblings on Microsoft, .NET, and other topics.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Tim Sneath
Latest Posts From Tim Sneath's Blog

Advertisement

Ever since the SQLCLR talk at TechEd San Diego, I've been trying to find out some more information on the monitoring options available in SQL Server 2005 for managed assemblies catalogued in the database. Balaji Rathakrishnan (one of the Group Program Managers on the SQL engine team) kindly granted me permission to reproduce some information he posted to one of the internal mailing lists on the subject:

We have a whole new set of new dynamic management views some of which can be used for monitoring CLR, notably:

  • sys.dm_os_loaded_modules shows whether CLR is currently loaded
    (e.g.)
     select name, description, * 
    from sys.dm_os_loaded_modules
    where description like
    '%Common Language Runtime%'
  • sys.dm_os_memory_clerks shows amount of memory being used by each component in SQL Server including SQLCLR; for example, how much memory is currently committed to the sqlclr gc heap?
     select virtual_memory_committed_kb, * 
    from sys.dm_os_memory_clerks
    where type like '%SQLCLR%'
    go
  • sys.dm_exec_query_stats shows execution statistics on the set of queries/batches that are currently in the plan cache. This will include queries/batches that invoke CLR code as well.

Thanks, Balaji!

Read: Monitoring Performance of SQL Server 2005 Objects

Topic: How important is "View-Source" ? Previous Topic   Next Topic Topic: Code Camp II is really looking good

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use