<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Bill Ramos on SQL Server</title><link>http://blogs.msdn.com/b/billramo/</link><description>Adventures in SQL Server</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>MDW Reports–New Source Code ZIP File Available</title><link>http://blogs.msdn.com/b/billramo/archive/2011/02/19/mdw-reports-new-source-code-zip-file-available.aspx</link><pubDate>Sat, 19 Feb 2011 19:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10131787</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10131787</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2011/02/19/mdw-reports-new-source-code-zip-file-available.aspx#comments</comments><description>&lt;p&gt;In my &lt;a href="http://blogs.msdn.com/b/billramo/archive/tags/mdw+reports/" target="_blank"&gt;MDW Reports&lt;/a&gt; series, I attached V1 of the RDL files in my post - &lt;a href="http://blogs.msdn.com/b/billramo/archive/2010/11/18/may-the-source-be-with-you-mdw-report-series-part-6-the-final-edition.aspx"&gt;May the source be with you! MDW Report Series Part 6–The Final Edition&lt;/a&gt;. Since that post, &lt;a href="http://in.linkedin.com/pub/rachna-agarwal/24/45b/7b9" target="_blank"&gt;Rachna Agarwal&lt;/a&gt; from MSIT in India updated the RDL files that are ready to go in a single ZIP. &lt;/p&gt;  &lt;p&gt;The reports assume that they will ne uploaded to the Report Manager’s root folder and use a shared data source named MDW. The reports also integrate with the new &lt;a href="http://code.msdn.microsoft.com/QueryHashStatistics" target="_blank"&gt;Query Hash Statistics&lt;/a&gt; reports.&lt;/p&gt;  &lt;p&gt;You can download them from my &lt;a href="http://sqlblog.com/files/folders/33637/download.aspx" target="_blank"&gt;SQLBlog.com download site&lt;/a&gt;.&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10131787" width="1" height="1"&gt;</description></item><item><title>SQL Saturday 47 Phoenix February 2011</title><link>http://blogs.msdn.com/b/billramo/archive/2011/02/19/sql-saturday-47-phoenix-february-2011.aspx</link><pubDate>Sat, 19 Feb 2011 18:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10131780</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10131780</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2011/02/19/sql-saturday-47-phoenix-february-2011.aspx#comments</comments><description>&lt;p&gt;Today I presented data collection strategies for SQL Server 2008 at &lt;a href="http://sqlsaturday.com/47/eventhome.aspx" target="_blank"&gt;Phoenix SQL Saturday 47&lt;/a&gt;. I’ve attached my deck to this post so that you can get the links and references that I presented.&lt;/p&gt;  &lt;p&gt;To learn more about the Data Collector, check out these links.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/billramo/archive/2011/01/30/sql-server-2008-data-collector-proof-of-concept.aspx" target="_blank"&gt;SQL Server 2008 Data Collector Proof of Concept&lt;/a&gt; – How to get started with Data Collector in your organization &lt;/li&gt;    &lt;li&gt;&lt;a href="http://archive.msdn.microsoft.com/QueryHashStatistics"&gt;SQL Server Query Hash Statistics&lt;/a&gt; – Replacement for the shipping Query Statistics collection set &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/billramo/archive/2010/06/06/mdw-overview-report-for-data-collector-mdw-report-series-part-1.aspx" target="_blank"&gt;Writing Reports Against the Management Data Warehouse&lt;/a&gt; – This is part 1 of the series on MDW reports. You can see all the articles through this &lt;a href="http://blogs.msdn.com/b/billramo/archive/tags/mdw+reports/" target="_blank"&gt;link&lt;/a&gt;. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Be sure to click on the &lt;a href="http://sqlblog.com/files/folders/33638/download.aspx" target="_blank"&gt;attachment link&lt;/a&gt; to download the slides.&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10131780" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-13-17-80/SQLSaturday47-Performance-Data-Collection-Strategies.pptx" length="3574033" type="application/vnd.openxmlformats-officedocument.pres" /><category domain="http://blogs.msdn.com/b/billramo/archive/tags/MDW+Reports/">MDW Reports</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+Saturday/">SQL Saturday</category></item><item><title>SQL Server 2008 Data Collector Proof of Concept</title><link>http://blogs.msdn.com/b/billramo/archive/2011/01/30/sql-server-2008-data-collector-proof-of-concept.aspx</link><pubDate>Mon, 31 Jan 2011 03:37:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10122157</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10122157</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2011/01/30/sql-server-2008-data-collector-proof-of-concept.aspx#comments</comments><description>&lt;p align="left"&gt;In this blog post, I will go through the steps needed to prepare for a proof of concept (POC) for using the SQL Server 2008 R2 Data Collector (DC) and Management Data Warehouse (MDW) reports (covered in part 2) to get you up and running. I’ll cover the installation of the new Query Hash Stats collection set from Bart Duncan and how to get the MDW reports installed on your SQL Server Reporting Services (SSRS) server. My assumption for the POC is that you’ll have around 30 systems that you’ll want to monitor.&lt;/p&gt;  &lt;h1 align="left"&gt;Download the &lt;a href="http://code.msdn.microsoft.com/QueryHashStatistics" target="_blank" mce_href="http://code.msdn.microsoft.com/QueryHashStatistics"&gt;Query Hash Statistics&lt;/a&gt; Collection Set&lt;/h1&gt;  &lt;p align="left"&gt;The Query Hash Statistics collection set was created by &lt;a href="http://blogs.msdn.com/b/bartd/" target="_blank" mce_href="http://blogs.msdn.com/b/bartd/"&gt;Bart Duncan&lt;/a&gt; of Microsoft. At the tail end of the SQL Server 2008 release cycle, the Manageability team ran out of time to incorporate the late changes that the Engine team made to support the &lt;a href="http://msdn.microsoft.com/en-us/library/cc645887.aspx" target="_blank" mce_href="http://msdn.microsoft.com/en-us/library/cc645887.aspx"&gt;“Query Fingerprint” and “SQL Fingerprint” features&lt;/a&gt;. See Bart Duncan’s blog post – “&lt;a href="http://blogs.msdn.com/b/bartd/archive/2008/09/03/query-fingerprints-and-plan-fingerprints_3a00_-the-best-new-sql-2008-feature-you_2700_ve-never-heard-of.aspx" target="_blank" mce_href="http://blogs.msdn.com/b/bartd/archive/2008/09/03/query-fingerprints-and-plan-fingerprints_3a00_-the-best-new-sql-2008-feature-you_2700_ve-never-heard-of.aspx"&gt;Query Fingerprints and Plan Fingerprints (The Best SQL 2008 Feature That You've Never Heard Of)&lt;/a&gt;” for a deep understanding of how this works as well.&lt;/p&gt;  &lt;p align="left"&gt;What it this means for the Data Collector is that the collection of Query Plans and Text is highly optimized with the new &lt;a href="http://code.msdn.microsoft.com/QueryHashStatistics" target="_blank" mce_href="http://code.msdn.microsoft.com/QueryHashStatistics"&gt;Query Hash Statistics&lt;/a&gt; collection set. In addition, Bart has created a set of reports which offers more insight into the most expensive queries running on your system.&lt;/p&gt;  &lt;p align="left"&gt;&lt;a href="http://code.msdn.microsoft.com/QueryHashStatistics/Release/ProjectReleases.aspx?ReleaseId=5272" target="_blank" mce_href="http://code.msdn.microsoft.com/QueryHashStatistics/Release/ProjectReleases.aspx?ReleaseId=5272"&gt;Download the Query Hash Statistics project&lt;/a&gt; and unzip the files to a shared location accusable by the computer hosting the MDW and the computers hosting the SQL Server database engines that you’ll collect data from.&lt;/p&gt;  &lt;h1&gt;Getting Started with Data Collection&lt;/h1&gt;  &lt;p align="left"&gt;I’m going to assume that you’ve already installed SQL Server 2008 or SQL Server 2008 R2 Database Engine and Management Tools. Optionally you can install Reporting Services for running the RDL files that I’ll provide.&lt;/p&gt;  &lt;p align="left"&gt;The MSDN topic “&lt;a href="http://technet.microsoft.com/en-us/library/bb677180.aspx" target="_blank" mce_href="http://technet.microsoft.com/en-us/library/bb677180.aspx"&gt;Getting Started with the Data Collector&lt;/a&gt;”, goes over the basic steps for creating the Management Data Warehouse database and the Data Collector, but there a few things that you should know before you begin.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;div align="left"&gt;&lt;strong&gt;Plan on Centralized Collection.&lt;/strong&gt; The MDW has the most value when the database is on server that is not used for your production workloads. The Data Collector is designed with this configuration in mind. This eliminates most of the “&lt;a href="http://en.wikipedia.org/wiki/Observer_effect_(physics)" target="_blank" mce_href="http://en.wikipedia.org/wiki/Observer_effect_(physics)"&gt;Heisenberg Observer Effect&lt;/a&gt;”. If you already have a SQL Server instance running System Center Operations Manager, I recommend putting the MDW database there as a single management host. The instance doesn’t need too much power, just plenty of disk space available. &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="left"&gt;&lt;strong&gt;Planning MDW Storage.&lt;/strong&gt; For pessimistic planning, your MDW will grow 600 MB per day per instance for 14 days (the default retention period for the system collection sets). Once the retention period kicks in, data and collection logs will get purged at 2am local time for the centralized MDW.&amp;#160; You’re looking at 8.4 GB times 30 instances or 252 GB.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="left"&gt;&lt;strong&gt;Creating the MDW via the Wizard.&lt;/strong&gt; Now that you know the pessimistic size for the MDW, when you run the wizard use this value for the initial size of the MDW versus the default of 100MB. This way you don’t get a performance hit all the time in the MDW as it grows 10MB at a time. You should set the growth size to 10GB as well when new instances are added. You can leave the transaction file size as the default since this rarely grows in size.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="left"&gt;&lt;strong&gt;Keep Security Simple.&lt;/strong&gt; For the POC, you’ll want to use a single domain user account that has admin rights to the SQL Server instance and also admin rights to the machines that will be reporting data to the MDW. This is not the recommended final configuration, but makes the POC easier to configure. You can always go back to a lower privileged proxy account once you understand all of the moving parts.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="left"&gt;&lt;strong&gt;Set up Data Collection.&lt;/strong&gt; For each of the instances you want to collect data from, you’ll run the Configure management Data Warehouse Wizard. Once the wizard completes, go to the Query Statistics system collection set under the Data Collector node as shown below and issue the Stop Data Collection Set command.&lt;/div&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p align="left"&gt;&lt;a href="http://sqlblog.com/blogs/bill_ramos/02-Disable-Query-Statistics_2D1A44C7.png" mce_href="http://sqlblog.com/blogs/bill_ramos/02-Disable-Query-Statistics_2D1A44C7.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="02 Disable Query Statistics" border="0" alt="02 Disable Query Statistics" src="http://sqlblog.com/blogs/bill_ramos/02-Disable-Query-Statistics_thumb_732B01DA.png" width="472" height="416" mce_src="http://sqlblog.com/blogs/bill_ramos/02-Disable-Query-Statistics_thumb_732B01DA.png" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;div align="left"&gt;Follow the &lt;a href="http://code.msdn.microsoft.com/QueryHashStatistics/Wiki/View.aspx?title=QhsQuickStart&amp;amp;referringTitle=Home" target="_blank" mce_href="http://code.msdn.microsoft.com/QueryHashStatistics/Wiki/View.aspx?title=QhsQuickStart&amp;amp;referringTitle=Home"&gt;Quick Start Guide&lt;/a&gt; for Query Hash Statistics. This page contains steps to configure the prerequisites, which you can skip since I’ve already covered them above.&lt;/div&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p align="left"&gt;After updating the MDW to support the new collection set, installing the collection set on the target instance, and copying the reports as instructed to the MDW server, you are ready to go.&lt;/p&gt;  &lt;h1&gt;&lt;/h1&gt;  &lt;h1&gt;Query Hash Statistics Reports&lt;/h1&gt;  &lt;p align="left"&gt;The &lt;a href="http://code.msdn.microsoft.com/QueryHashStatistics/Wiki/View.aspx?title=QhsReportOverview&amp;amp;referringTitle=QhsQuickStart" target="_blank" mce_href="http://code.msdn.microsoft.com/QueryHashStatistics/Wiki/View.aspx?title=QhsReportOverview&amp;amp;referringTitle=QhsQuickStart"&gt;reports&lt;/a&gt; provided for the SQL Server Query Hash Statistics collection set replace the Query Statistics reports. To open the reports, connect SSMS to the SQL Server instance that hosts your MDW database, right-click on the MDW database in Object Explorer, and select &amp;quot;Custom Report...&amp;quot; from the Reports submenu. Browse to the location where you extracted the Query Hash Statistics files, and open MdwOverviewCustom.rdl. You will not need to manually browse to the .RDL file after this; you'll find the report name in the Reports context menu. The first time you open a custom report, SSMS will ask you to confirm that you trust the report. &lt;/p&gt;  &lt;p align="left"&gt;You’ll want to wait a few hours after collecting data to run the reports so that you can start making sense of the data. &lt;/p&gt;  &lt;p align="left"&gt;It’s that easy. In the next blog post, I’ll cover how to install the MDW reports on an SSRS server.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:c11abb1e-fea0-4210-be01-ed2723d11ca2" class="wlWriterSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Data+Collector" rel="tag" mce_href="http://technorati.com/tags/Data+Collector"&gt;Data Collector&lt;/a&gt;,&lt;a href="http://technorati.com/tags/MDW" rel="tag" mce_href="http://technorati.com/tags/MDW"&gt;MDW&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Query+Hash+Statistics" rel="tag" mce_href="http://technorati.com/tags/Query+Hash+Statistics"&gt;Query Hash Statistics&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Proof+of+Concepts" rel="tag" mce_href="http://technorati.com/tags/Proof+of+Concepts"&gt;Proof of Concepts&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SQL+Server+2008+R2" rel="tag" mce_href="http://technorati.com/tags/SQL+Server+2008+R2"&gt;SQL Server 2008 R2&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SQL+Server+2008" rel="tag" mce_href="http://technorati.com/tags/SQL+Server+2008"&gt;SQL Server 2008&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;Be sure to follow me on Twitter at &lt;a href="http://twitter.com/billramo" target="_blank" mce_href="http://twitter.com/billramo"&gt;@billramo&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10122157" width="1" height="1"&gt;</description></item><item><title>Bill Ramos–Moving On–But Not Too Far</title><link>http://blogs.msdn.com/b/billramo/archive/2010/11/19/bill-ramos-moving-on-but-not-too-far.aspx</link><pubDate>Fri, 19 Nov 2010 17:37:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10093914</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10093914</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/11/19/bill-ramos-moving-on-but-not-too-far.aspx#comments</comments><description>&lt;p&gt;Bill Ramos, formally Principal Program Manager, SQL Server Manageability   &lt;br /&gt;Now WorkStream Manager for &lt;a href="http://www.advaiya.com"&gt;http://www.advaiya.com&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Hi All,&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; As of November 22, after 15 years at Microsoft as a Program Manager, I'm joining a new company called &lt;a href="http://www.advaiya.com/"&gt;http://www.advaiya.com&lt;/a&gt;. They specialize in developing strategy for the Microsoft product line, delivering content to the community and the Microsoft sales force, training and education, and working with the Microsoft sales force doing pre-sales activities. I'll do what I can to stay away from too much &amp;quot;Marketitecture&amp;quot;, but no promises. :-) In this new role, it's going to be my job along with Regional Director &lt;a href="http://www.grokdev.com/Blogs/scott/"&gt;Scott Golightly&lt;/a&gt; to contribute to the SQL Server community. I look forward to blogging with SQLBlog.com and hope to see you on the road.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Bill Ramos    &lt;br /&gt;Follow me on &lt;a href="http://twitter.com/billramo"&gt;http://twitter.com/billramo&lt;/a&gt;    &lt;br /&gt;Now blogging at: &lt;a title="http://sqlblog.com/blogs/bill_ramos/default.aspx" href="http://sqlblog.com/blogs/bill_ramos/default.aspx"&gt;http://sqlblog.com/blogs/bill_ramos/default.aspx&lt;/a&gt;&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; tweetmeme_source = 'billramo'; tweetmeme_hashtags = '#sql,#ssms';&lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10093914" width="1" height="1"&gt;</description></item><item><title>May the source be with you! MDW Report Series Part 6–The Final Edition</title><link>http://blogs.msdn.com/b/billramo/archive/2010/11/18/may-the-source-be-with-you-mdw-report-series-part-6-the-final-edition.aspx</link><pubDate>Thu, 18 Nov 2010 14:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10093203</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10093203</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/11/18/may-the-source-be-with-you-mdw-report-series-part-6-the-final-edition.aspx#comments</comments><description>&lt;p&gt;Bill Ramos, Principal Program Manager, SQL Server Manageability&lt;/p&gt;
&lt;p&gt;Up until this point, I&amp;rsquo;ve walked through step by step how the MDW reports could be recreated to use SQL Server Reporting Services 2008 R2 and edit them in Report Builder 3.0.&lt;/p&gt;
&lt;p&gt;At last week&amp;rsquo;s SQL PASS, I announced in my Wednesday session that I would release the source to the RDL files that I demonstrated.&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://www.sqlpass.org/summit/na2010/"&gt;&lt;img height="97" width="509" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8475.2010PASS_5F00_HomePg_5F00_3.jpg" alt="2010PASS_HomePg" border="0" title="2010PASS_HomePg" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At the bottom of this post, you&amp;rsquo;ll find a zip file that contains the RDL files that we converted up to this point. I say we because this was a collaboration with Bart Duncan &amp;ndash; author of&amp;nbsp; &lt;a target="_blank" href="http://code.msdn.microsoft.com/QueryHashStatistics"&gt;Query Hash Statistics&lt;/a&gt;, Rachna Agarwal from our &lt;a target="_blank" href="http://www.microsoft.com/India/MSIDC/default.aspx"&gt;Microsoft IT department in Hyderabad India&lt;/a&gt; and myself.&lt;/p&gt;
&lt;h1&gt;Download Query Hash Stats&lt;/h1&gt;
&lt;p&gt;The first think you will want to do is download and install the &lt;a target="_blank" href="http://code.msdn.microsoft.com/QueryHashStatistics"&gt;SQL Server Query Hash Statistics project on MSDN Code Gallery&lt;/a&gt;. This includes a new version of the Query Statistics collection set &amp;ndash; the old one &amp;ndash; you&amp;rsquo;ll want to turn off &amp;ndash; and a set of reports that can run inside of SSMS as a custom report. I&amp;rsquo;ve included a slightly modified version of Bart Duncan&amp;rsquo;s reports that work in SSRS.&lt;/p&gt;
&lt;h1&gt;&lt;/h1&gt;
&lt;h1&gt;May the Source Be With You&lt;/h1&gt;
&lt;p&gt;You will want to refer back to my post &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo; that lists of the MDW reports and there relationship to each other. These reports assume that you have created shared data source called MDW in your Reports manager filder. Just unzip the reports and upload them to your Reporting Services server. Start with the new MdwOverviewCustom.rdl file and you should be good to go.&lt;/p&gt;
&lt;p&gt;Here is a list of the reports you will find at the bottom of this posting in MDW RDL Files.zip.&lt;/p&gt;
&lt;p&gt;MdwOverviewCustom.rdl &amp;ndash; Bart&amp;rsquo;s new an improved Overview report&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
mdw_overview.rdl &amp;ndash; The original one as part of the blog series&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
QueryHashStatsReportsDetail.rdl &amp;ndash; From Query Hash Stats that includes a query to get the execution plan.&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
QueryHashStatsReportsTopN.rdl &amp;ndash; The new and inproved Query Statistics report from Query Hash Stats. You&amp;rsquo;ll never want to look back after seeing this report.&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
server_activity.rdl &amp;ndash; From the blog series.&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
sql_active_requests.rdl &amp;ndash; See &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
sql_activity.rdl &amp;ndash; See &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
sql_disk_snapshot.rdl &amp;ndash; See &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
sql_memory_snapshot.rdl &amp;ndash; See &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
sql_waits_blocking_chain_detail.rdl &amp;ndash; See &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo; This report needs some debugging.&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
sql_waits_blocking_snapshot.rdl &amp;ndash; See &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo; This report needs some debugging.&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
sql_waits_generic_snapshot.rdl &amp;ndash; See &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
sql_wait_stats_snapshot.rdl &amp;ndash; See &amp;ldquo;&lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx"&gt;What are all these reports anyways? &amp;ndash; MDW Report Series Part 5&lt;/a&gt;&amp;rdquo;
&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;
&lt;h1&gt;&lt;/h1&gt;
&lt;h3&gt;Send Your Comments Via Twitter&lt;/h3&gt;
&lt;p&gt;That&amp;rsquo;s it!&amp;nbsp; Have fun with the source. Let me know what you think about them on &lt;a href="http://twitter.com"&gt;http://twitter.com&lt;/a&gt; and include my @billramo address and the hash tag #MDWReports. &lt;/p&gt;
&lt;h3&gt;One Little Gotcha&lt;/h3&gt;
&lt;p&gt;The source reports point to a shared MDW datasource on my old machine at Microsoft. You'll most likely end up with the following error: &lt;/p&gt;
&lt;ul&gt;
&lt;li style="display: inline; font-family: Verdana; font-size: 8pt; font-weight: normal;"&gt;The report server cannot process the report or shared dataset. The shared data source 'MDW' for the report server or SharePoint site is not valid. Browse to the server or site and select a shared data source. (rsInvalidDataSourceReference) &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;script type="text/javascript"&gt;&lt;/script&gt;
The workaround is pretty simple, create your own MDW shared data source and then after uploading the report, open it up in Report Builder 3.0 or BIDS. Simply go the MDW data source, right click and select properties. Click on the Browse button to find your version of the MDW data source and click OK. Save the report,, and you should be good to go. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10093203" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-09-32-03/Final_5F00_MDW_5F00_RDL_26002300_39_3B00_s.zip" length="389571" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/b/billramo/archive/tags/MDW+Reports/">MDW Reports</category></item><item><title>SQL Server Code-Named “Denali”–Getting Started with Availability Groups and Keyboard Customization</title><link>http://blogs.msdn.com/b/billramo/archive/2010/11/14/sql-server-code-named-denali-getting-started-with-availability-groups-and-keyboard-customization.aspx</link><pubDate>Sun, 14 Nov 2010 18:41:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10090813</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10090813</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/11/14/sql-server-code-named-denali-getting-started-with-availability-groups-and-keyboard-customization.aspx#comments</comments><description>&lt;p&gt;Bill Ramos    &lt;br /&gt;Principal Program Manager, SQL Server Manageability&lt;/p&gt;  &lt;p&gt;If you missed SQL PASS or you didn’t get your copy of SQL Server code named “Denali”, you’re in luck. You can now download it from: &lt;a title="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6a04f16f-f6be-4f92-9c92-f7e5677d91f9" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6a04f16f-f6be-4f92-9c92-f7e5677d91f9"&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6a04f16f-f6be-4f92-9c92-f7e5677d91f9&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For the full experience, you will want to run the 64 bit version on Windows Server 2008 R2. You can find the TechNet 180 day evaluation copy of Windows Server 2008 R2 at: &lt;a title="http://technet.microsoft.com/en-us/evalcenter/dd459137.aspx" href="http://technet.microsoft.com/en-us/evalcenter/dd459137.aspx"&gt;http://technet.microsoft.com/en-us/evalcenter/dd459137.aspx&lt;/a&gt;&lt;/p&gt;  &lt;h1&gt;&lt;/h1&gt;  &lt;h1&gt;Availability Groups Setup&lt;/h1&gt;  &lt;p&gt;To test our the new Availability Group feature set, you will need at least on good sized Hyper-V box that can run two VMs each with Windows Server 2008 R2 and then install the feature “Failover Clustering” on each node.&amp;#160; Then, on each node, install an instance of Denali on each of the nodes. Use a Windows account for the database engine instance because the two instances need to talk to each other along with a shared location for the initial backup/restore seeding process.&lt;/p&gt;  &lt;p&gt;You are not installing SQL Server Failover Cluster instances, so you don’t need a shared storage device. Think of Availability Groups as Database Mirroring on steroids.&lt;/p&gt;  &lt;p&gt;I typically test with 1GB Hyper-V machines and then set the SQL Server memory limit to 500MB (thanks to &lt;a href="http://www.brentozar.com/what-i-do/twitter/" target="_blank"&gt;BrentO&lt;/a&gt; for this tip at SQL PASS).&lt;/p&gt;  &lt;p&gt;On each instance, you need to “Enable SQL HADR service” using SQL Server Configuration Manager. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1537.Denali-CTP1-Availability-Groups-and-Keyboard-Shortcuts_5F00_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Denali CTP1 Availability Groups and Keyboard Shortcuts" border="0" alt="Denali CTP1 Availability Groups and Keyboard Shortcuts" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6646.Denali-CTP1-Availability-Groups-and-Keyboard-Shortcuts_5F00_thumb.png" width="447" height="564" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Restore some test databases from one of your existing systems onto the database engine instance that you designate as the Primary. make sure the recovery model is set to Full. You may need to take a full backup and a transaction backup to get things to work in the wizard.&lt;/p&gt;  &lt;p&gt;While connected to the Primary instance in the Object Explorer (OE), make a new connection to the Secondary instance in OE. This is to make sure both instances can talk to each other. To be extra paranoid, go to the Secondary computer; connect to the instance on that computer; and then connect to the Primary instance. This is to make sure you don’t run into any Kerberos issues.&lt;/p&gt;  &lt;p&gt;From there, you’ll restart the instance on both nodes; launch SSMS; expand the Manageability node; right click on the Availability Group folder; and choose the New Availability Group… command.&lt;/p&gt;  &lt;p&gt;Rather than go through the specifics of the wizard, it should be intuitively obvious what you need to do. When you add the Secondary replica instance in the wizard, and for the Primary replica as well, change the Read Mode in Secondary setting for both to “Allow all Connections”. This enables all applications like SSMS and Excel to access the databases that you selected for the availability group as read-only databases.&lt;/p&gt;  &lt;p&gt;Check out the HADR books-on-line for the topic at &lt;a title="http://msdn.microsoft.com/en-us/library/ff878484(SQL.110).aspx" href="http://msdn.microsoft.com/en-us/library/ff878484(SQL.110).aspx"&gt;http://msdn.microsoft.com/en-us/library/ff878484(SQL.110).aspx&lt;/a&gt;. BrentO also has a great write up titled “&lt;a href="http://www.brentozar.com/archive/2010/11/sql-server-denali-database-mirroring-rocks/" target="_blank"&gt;SQL Server Denali: HADRON ROCKS.&lt;/a&gt;“&lt;/p&gt;  &lt;h1&gt;Customizing the Keyboard&lt;/h1&gt;  &lt;p&gt;Before you file the connect item that Ctrl+E no longer executes a query – we know about this already – and the team is apologizes for the temporary inconvenience. F5 and the often forgotten Alt+X keys still work. &lt;/p&gt;  &lt;p&gt;The Denali SQL Server Management Studio now uses the Visual Studio 2010 shell. As part of the conversion to the new shell, the team left in the ability for you to customize the keyboard just like the full Visual Studio product! At this point you should be saying w00t &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0044.wlEmoticon_2D00_smile_5F00_2.png" /&gt;&lt;/p&gt;  &lt;p&gt;To add Ctrl+E to Execute a query, do the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Go to the Tools menu and select Customize &lt;/li&gt;    &lt;li&gt;Click on the Commands tab in the Customize dialog and then click on the Keyboard… button at the bottom of the dialog. &lt;/li&gt;    &lt;li&gt;In the Press shortcut keys field, press Ctrl+E &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You’ll see where we goofed up by assigning Ctrl+E as a global shortcut key to Query Execute (Ctrl+E(DMX Script Editor))&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2117.01-Denali-CTP1-Availability-Groups-and-Keyboard-Shortcuts_5F00_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="01 Denali CTP1 Availability Groups and Keyboard Shortcuts" border="0" alt="01 Denali CTP1 Availability Groups and Keyboard Shortcuts" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7317.01-Denali-CTP1-Availability-Groups-and-Keyboard-Shortcuts_5F00_thumb_5F00_1.png" width="627" height="367" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;To fix this snafu, to the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;In the “Show Commands Containing” control, type query.execute and press the tab key. &lt;/li&gt;    &lt;li&gt;In the drop down the list of available values in the “Use new shortcut in:” control and select SQL Query Editor. &lt;/li&gt;    &lt;li&gt;Press Ctrl+E in the “Press shortcut keys:” control and click on the Assign button. &lt;/li&gt;    &lt;li&gt;Then click OK to dismiss the keyboard Options and Close to dismiss the Customize dialog &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Ctrl+E now works. In the next public release of Denali, this will be fixed.&lt;/p&gt;  &lt;p&gt;For more information regarding keyboard customization in Denali, see the topic “&lt;a href="http://msdn.microsoft.com/en-us/library/cc645579(SQL.110).aspx" target="_blank"&gt;Manageability Enhancements (Database Engine)”&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Don’t forget to follow &lt;a href="http://twitter.com/ms_sql_server"&gt;http://twitter.com/ms_sql_server&lt;/a&gt; for breaking news and use the #denali hash tag. If you are having problems, check out the MDSN forums and as always, you can use the “Community” menu and “Report a Bug” command to file a Connect bug or suggestion. Don’t forget to use search to see if someone as filed a Connect bug on the same problem already like “SSMS Short Cut key &amp;quot;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/616721/ssms-short-cut-key-ctrl-e-is-not-working-to-execute-any-query" target="_blank"&gt;CTRL + E&amp;quot; is not working to execute any query&lt;/a&gt;” &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0044.wlEmoticon_2D00_smile_5F00_2.png" /&gt;&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; tweetmeme_source = 'billramo'; tweetmeme_hashtags = '#sql,#ssms';&lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10090813" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SSMS/">SSMS</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/Denali/">Denali</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/Availability+groups/">Availability groups</category></item><item><title>Finding Bill Ramos at SQL PASS 2010</title><link>http://blogs.msdn.com/b/billramo/archive/2010/11/07/finding-bill-ramos-at-sql-pass-2010.aspx</link><pubDate>Mon, 08 Nov 2010 00:18:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10087401</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10087401</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/11/07/finding-bill-ramos-at-sql-pass-2010.aspx#comments</comments><description>&lt;p&gt;With the SQL PASS conference beginning tomorrow and in the spirit of &lt;a href="http://midnightdba.itbookworm.com/" target="_blank"&gt;Jen &amp;amp; Sean of the MidnightDBA&lt;/a&gt; fame I thought I would give you a run down of what I’ll be up to and things you might consider attending – just because.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.sqlpass.org/summit/na2010/" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2010PASS_HomePg" border="0" alt="2010PASS_HomePg" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0552.2010PASS_5F00_HomePg_5F00_3.jpg" width="747" height="140" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h1&gt;&lt;/h1&gt;      &lt;h1&gt;Monday&lt;/h1&gt;  &lt;h3&gt;&lt;a href="http://www.sqlpass.org/summit/na2010/Connect/SpecialEvents.aspx#Quizbowl" target="_blank"&gt;SQL PASS Welcome Reception 6-8pm&lt;/a&gt;&lt;/h3&gt;  &lt;p&gt;This event is taking place at Washington State Convention Center in 6ABC. It’s a great chance to meet and greet old and new friends. Don’t forget the Quiz bowl. Team 2 with Buck Woody and Jen McCown should be a hoot.&lt;/p&gt;  &lt;h3&gt;SQL PASS Speakers and Volunteers Party 8-10pm&lt;/h3&gt;  &lt;p&gt;It turns out that none of the Microsoft speakers got the official invite, but we are able to attend. If you are a Microsoft speaker reading this, please email me for the details. I hear that bowling is involved.&lt;/p&gt;  &lt;h3&gt;&lt;/h3&gt;  &lt;h1&gt;Tuesday&lt;/h1&gt;  &lt;h3&gt;&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Keynotes.aspx" target="_blank"&gt;Ted Kummert’s Keynote 8:45 to 10am&lt;/a&gt;&lt;/h3&gt;  &lt;p&gt;This is a keynote that you don’t want to miss. Tons of announcements and demos in 6ABC&lt;/p&gt;  &lt;h3&gt;&lt;a href="http://www.sqlpass.org/summit/na2010/Connect/AfterHours.aspx" target="_blank"&gt;Pickup Kilt for SQL Kilt Wednesday&lt;/a&gt; 10am&lt;/h3&gt;  &lt;p&gt;I’ll be picking up my kilt for my Tuesday 4:30 session on SCOM and BPA for the DBA where I will be modeling for &lt;a href="http://www.utilikilts.com/store/billramo" target="_blank"&gt;UtiliKilt&lt;/a&gt;!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.utilikilts.com/store/billramo" target="_blank"&gt;Utilikilt in Seattle&lt;/a&gt; opens its doors weekdays from 10am to 6pm. If you buy a kilt from them, be sure to mention my name. I! happen to be a official &lt;a href="http://www.utilikilts.com/evangelist-program/" target="_blank"&gt;Utilikilt evangelist&lt;/a&gt;. did you know that they are the largest kilt manufacture in the United States? You can find their store at: &lt;/p&gt;  &lt;p&gt;Utilikilts Flagship Retail Store   &lt;br /&gt;Authorized Dealer    &lt;br /&gt;620 1st Ave    &lt;br /&gt;Seattle WA 98104 – &lt;a href="http://www.bing.com/maps/default.aspx?where1=620+1st+Ave%0D%0ASeattle+WA+98104&amp;amp;FORM=LMIEMN" target="_blank"&gt;Map&lt;/a&gt;    &lt;br /&gt;(206) 282-4226&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6318.storefrontforweb_5F00_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="storefrontforweb" border="0" alt="storefrontforweb" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0636.storefrontforweb_5F00_thumb.jpg" width="451" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Be sure to learn how to best wear your kilt at &lt;a title="http://blog.albanach.org/2006/07/how-to-wear-kilt-literally.html" href="http://blog.albanach.org/2006/07/how-to-wear-kilt-literally.html"&gt;http://blog.albanach.org/2006/07/how-to-wear-kilt-literally.html&lt;/a&gt;. Check out the link “&lt;a href="http://blog.albanach.org/2006/06/sit-like-lady.html" target="_blank"&gt;Sit like a lady&lt;/a&gt;” as well.&amp;#160; &lt;/p&gt;  &lt;h3&gt;Dev Pod Duty on 6th Floor – 11am 1:30pm&lt;/h3&gt;  &lt;p&gt;Learn what we are doing in the new release of SQL Server to making developers more productive. You can also learn more about that we did in SQL Server 2008 with &lt;a href="http://technet.microsoft.com/en-us/library/ff381683(SQL.100).aspx" target="_blank"&gt;Data-Tier Applications&lt;/a&gt;.&lt;/p&gt;  &lt;h3&gt;DBA448M - Si Se Puede! Achieving Separation of Duties with SQL Server Room 608 with &lt;a href="http://twitter.com/#!/sqlgal" target="_blank"&gt;@SQLGal&lt;/a&gt; from 3-4:15pm&lt;/h3&gt;  &lt;h3&gt;Speaker - DBA268M - What’s new with SQL Management Pack and SQL Best Practices Analyzer? 4:30 to 5:45pm in Room 613-614&lt;/h3&gt;  &lt;p&gt;Can someone please bring a camera to my session? I’d like to prove that I was the first of the Ramos Clan to wear a kilt. I’m giving away System Center related books. I’ll also have Hershey chocolate bars, peanut butter, and Reese’s peanut butter cups – you’ll have to attend this session to understand the meaning. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3386.wlEmoticon_2D00_smile_5F00_2.png" /&gt;&lt;/p&gt;  &lt;h3&gt;&lt;a href="http://www.meetup.com/Inappropriate-PASS-Sessions/calendar/15109848/"&gt;Inappropriate PASS Sessions Party 2010&lt;/a&gt; 6:30pm&lt;/h3&gt;  &lt;p&gt;This party filled up fast, but I was one of the lucky ones.&lt;/p&gt;  &lt;h3&gt;&lt;a href="https://www.sqlsentry.net/roadshow.asp" target="_blank"&gt;SQL Sentry&lt;/a&gt; VIP Party&amp;#160; 8:30&lt;/h3&gt;  &lt;p&gt;I’ve been invited to a private party hosted by the folks from SQL Sentry. I’m looking forward to seeing &lt;a href="http://twitter.com/#!/aaronbertrand" target="_blank"&gt;@AaronBertrand&lt;/a&gt; in his new role at SQL Sentry. If you haven’t checked out their free &lt;a href="https://www.sqlsentry.net/plan-explorer/sql-server-query-view.asp" target="_blank"&gt;Query Execution Plan viewer&lt;/a&gt;, please do so. I showed it off to our SQL Performance Lab folks and they love it.&lt;/p&gt;  &lt;h1&gt;Wednesday&lt;/h1&gt;  &lt;h3&gt;&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Keynotes.aspx" target="_blank"&gt;Keynote Speaker Day 2 - Tom Casey 9-10am 6ABC&lt;/a&gt;&lt;/h3&gt;  &lt;p&gt;This is another keynote that you don’t want to miss.&lt;/p&gt;  &lt;h3&gt;Microsoft® SQL Server® Mission Critical Booth Duty 10:45 to 1pm&lt;/h3&gt;  &lt;p&gt;I’d like to tell you want I’m going to be talking about at the booth, but I have to wait until after Tom Casey’s keynote and announcements. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3386.wlEmoticon_2D00_smile_5F00_2.png" /&gt;&lt;/p&gt;  &lt;h3&gt;DBA239 - Inside the SQL Server 2008 Data Collector, Ben Nevarez, 3-4:15pm, Room 4C4&lt;/h3&gt;  &lt;p&gt;Learn the basics of the Data Collector and Management Data Warehouse. My session on writing reports against the MDW follows.&lt;/p&gt;  &lt;h3&gt;Speaker - DBA450M - Managing system performance with the Data Collector and Management Data Warehouse with Reporting Services, 4:30-5:45pm, Room 4C4&lt;/h3&gt;  &lt;p&gt;I will unlock the mysteries around the Management Data Warehouse and how how you can build your own reports using SQL Server 2008 R2 Report Builder 3.0. I’ll also release a zip file that includes the key MDW reports as RDL files that you can customize for your own shop. Right after the session, Ben and I will head down to Room 305 to do an extended Q&amp;amp;A session.&lt;/p&gt;  &lt;p&gt;Be sure to check out Bart Duncan’s &lt;a href="http://code.msdn.microsoft.com/QueryHashStatistics" target="_blank"&gt;Query Hash Statistics codeplex project&lt;/a&gt; that extends the DC and MDW to give better results with less storage that the existing Query Statistics collection set and reports. He’s been trying to ship this code since early 2007 and it’s finally out. It is so cool, I had to work it into my demos.&lt;/p&gt;  &lt;h3&gt;&amp;#160;&lt;a href="http://www.sqlpass.org/summit/na2010/Connect/AfterHours.aspx" target="_blank"&gt;SQL Karaoke, Bush Garden from 7pm&lt;/a&gt;&lt;/h3&gt;  &lt;p&gt;Kilt’s and karaoke – can it get any better?&lt;/p&gt;  &lt;h1&gt;Thursday&lt;/h1&gt;  &lt;h3&gt;AD475S - Query Tuning Tips, 10:15 to 11:45, Room 2AB, &lt;a href="https://app.eventpoint.com/Speaker/Details/Itzik_Ben-Gan" target="_blank"&gt;Itzik Ben-Gan&lt;/a&gt;&lt;/h3&gt;  &lt;p&gt;This is the first chance that I’ll get to hear Ben talk. I’ve always been scheduled opposite of his sessions.&lt;/p&gt;  &lt;h3&gt;DBA449M - Expert Query Performance Troubleshooting, 1 to 2:15pm, Room 3AB, &lt;a href="https://app.eventpoint.com/Speaker/Details/Boris_Baryshnikov"&gt;Boris Baryshnikov&lt;/a&gt;, &lt;a href="https://app.eventpoint.com/Speaker/Details/Conor_Cunningham"&gt;Conor Cunningham&lt;/a&gt;&lt;/h3&gt;  &lt;p&gt;You can never learn too much when it comes to tuning queries.&lt;/p&gt;  &lt;h3&gt;SQL PASS Focus Group - SQL Server and System Center Better Together, 3-4:30pm, Room 305&lt;/h3&gt;  &lt;p&gt;This is a by invitation only session that’s now full. It’s an extension of my Tuesday afternoon session help understand why DBAs don’t use SCOM as much as they could.&lt;/p&gt;    &lt;h1&gt;Plug for Focus Groups&lt;/h1&gt;  &lt;p&gt;Don’t miss this great opportunity to participate in one of the many focus groups that Microsoft will be conducting at PASS Summit 2010. It’s easy to sign-up! Just choose the focus group you want to participate in from the listing below and email the person who is assigned to that topic area. Your contact will be able to answer any further questions you might have about the focus group as well as schedule your participation.&lt;/p&gt;  &lt;p&gt;All focus groups will be held at the Washington State Convention and Trade Center during the hours of the conference. Please choose from the topics below: &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Focus Group Title and Contact&lt;/strong&gt;    &lt;br /&gt;&lt;strong&gt;Focus Group Description&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;SQL Virtualization Experience, Present and Future&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Serdar Sutay&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;Offering a highly available SQL Server environment depends on adherence to best practices and awareness of the latest patches and updates. More information on managing your SQL Server environment can help increase uptime by decreasing the time to resolve unplanned downtime. Join this focus group to help shape the next generation of Microsoft tools to help analyze the configurations of your SQL Server deployments. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;DC and MDW&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Bill Ramos&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;The DC &amp;amp; MDW focus group is to gather birds of a feather interested in learning more about the SQL Server 2008 Data Collector and Management Data Warehouse from Bill Ramos and Benjamin Nevarez. This focus group is open to anyone attending Bill’s and Benjamin’s sessions and will start at 5:50 pm.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Compliance in the Cloud&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Al Comeau&lt;/a&gt;)    &lt;br /&gt;Customers who have or are investigating deployment on SQL Azure, or are in general considering deploying in the cloud, to influence future planning in the areas of Security, Privacy, and Compliance.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;SQL Server Configuration Analysis Futures&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Paul Mestemaker&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;Offering a highly available SQL Server environment depends on adherence to best practices and awareness of the latest patches and updates. More information on managing your SQL Server environment can help increase uptime by decreasing the time to resolve unplanned downtime. Join this focus group to help shape the next generation of Microsoft tools to help analyze the configurations of your SQL Server deployments. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Technology Trends &amp;amp; the DBA&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Mark Stempski&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;This moderated session will explore the current state of deploying and managing SQL Server within the Enterprise and discuss how trends like commodity hardware, virtualization, cloud computing (public &amp;amp; private), and compliance &amp;amp; auditing requirements are changing the way IT uses technology to bring business value and how these change the role of the DBA.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Upgrade and Patching      &lt;br /&gt;&lt;/strong&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Mark Stempski&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;The purpose of this focus group is to understand upgrade and patching requirements and scenarios for both “public clouds” and “private clouds.”&amp;#160; We will lead the participants through a discussion and will ask then to fill out a small set of survey questions. We are looking for&amp;#160; a better understanding of customer’s expectations and requirements for high availability SLAs for upgrade and patching, understand pain points, etc.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Alerting in RS&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Mark Stempski&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;Participants will see latest instantiation of Alerting for Reporting Services, participate in Q and A and help us identify and prioritize enhancements for further work.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Enhanced Contextual Help for Reporting Services/other MS BI Product Offerings&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Mark Stempski&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;Participants will be shown concepts depicting expanding contextual help for Report Builder 3.0 and beyond and be asked to provide feedback to help us choose between competing designs. Previous customer comments and 2 benchmark tests of RB 3.0 have provided those areas that we think could benefit from this approach which we think might be an alternative to Office Ribbon contextual help. Participants will help us determine future of delivery of on-line and local help with inputs to MSDN and TECH Net for the Business Intelligence products. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Windows Azure Platform Development Experience&lt;/strong&gt; (&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Mark Stempski&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;Are you working on the Windows Azure Platform? If so, we’d like to talk with you. We want to learn about your experience, and the challenges you faced as you developed your application. We also like “get your reaction to some ideas about Windows Azure’s future. To thank you for your help, we’ll be providing you with a selection of Microsoft Hardware or Software as a gift. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;SSIS/DTS Package, Database Table, View and Report Dependency and Impact Relationships&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Dawei Huang&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;Join us to discuss your current practice about dealing with SSIS/DTS package, database table, view and report dependency and impact relationships. You will also be involved in a short design exercise for some of the scenarios we are thinking about. If you are a SSIS/DTS/ETL/DBA, you are welcome to join the discussion.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Survey Instrument (DATSTAT) for Classifying Users, Tasks and Environment that can be Administered in Several Venues at PASS Summit&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Mark Stempski&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;PASS participants will also be encouraged to visit an on-line survey. The survey is designed&amp;#160; to allow us to easily gather user needs and requirements and contact information. It also affords another communication vehicle between the product groups and users as often users will be invited to opt into various research activities. These activities run the gamut from early conceptual pieces through product definition work (prototypes) to early actual bits such as the CTPs or other release vehicles. Early looks and an opportunity to influence what we build at the early stages product development stages in exchange for telling us about your needs, something about yourself and work environment.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Focus on Design with the Microsoft Learning User Experience Team&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Barbara Birney&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;Feel strongly about your experience finding classes to take in our Training Catalog and locating training centers you can use online? Our MSL User Experience Team would like to talk with non-certified IT Professionals and Developers about how effective our website experience meets your needs.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Influencing SQL Certification Exams - Be a Part of the Community of Item Contributors&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Don Tanedo&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;This session will cover the role of subject matter experts in the development of certification exams, the methods of assessing skills in Microsoft certification exams, and the value of communities in the direction and focus of SQL Server certifications.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Present and Future of HP-Microsoft BI and DW Joint Technology&lt;/strong&gt;    &lt;br /&gt;(&lt;a href="http://www.sqlpass.org/summit/na2010/Agenda/Microsoft/"&gt;Yaya Guo&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;Join HP and Microsoft in this session, as we share joint development plans on the latest BI and DW technology, during which you will gain unparalleled insight into the direction on HP appliances and MS SQL solutions.&lt;/p&gt;  &lt;h1&gt;Hope to see you at SQL PASS!&lt;/h1&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; tweetmeme_source = 'billramo'; tweetmeme_hashtags = '#sql,#ssms';&lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10087401" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/Bill+Ramos/">Bill Ramos</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+PASS/">SQL PASS</category></item><item><title>What are all these reports anyways? – MDW Report Series Part 5</title><link>http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx</link><pubDate>Mon, 25 Oct 2010 01:09:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10080182</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10080182</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/10/24/what-are-all-these-reports-anyways-mdw-report-series-part-5.aspx#comments</comments><description>&lt;p&gt;By Bill Ramos, Principal Program Manager, SQL Server Manageability Team&lt;/p&gt;  &lt;p&gt;It just dawned on me that in preparing for SQL PASS and helping folks understand more about the existing MDW reports, that there is zero documentation on what reports are in SSMS for the system collection sets. Kalen Delaney covered the top level reports in her SQL Server 2008 white paper &lt;a href="http://msdn.microsoft.com/en-us/library/dd939169(SQL.100).aspx" target="_blank"&gt;SQL Server 2008 Management Data Warehouse&lt;/a&gt;. In the SQL Server 2008 documentation, there is one topic &lt;a href="http://msdn.microsoft.com/en-us/library/bb630283.aspx" target="_blank"&gt;How to: View a Collection Set Report&lt;/a&gt; that covers the three main reports. That’s it! &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5280.wlEmoticon_2D00_sadsmile_5F00_2.png" /&gt;&lt;/p&gt;  &lt;p&gt;In this blog post, I’ll provide an overview of each of the reports so that you know what we’ll end up with once I’ve published all of the RDL files – rewritten for Reporting Services 2008 R2.&lt;/p&gt;  &lt;h3&gt;&lt;/h3&gt;  &lt;h2&gt;&lt;/h2&gt;  &lt;h2&gt;Report Time Line Control&lt;/h2&gt;  &lt;p&gt;The report time line control allows the user to select a point in time for reports showing data over time. The grayish blue areas represent time periods where there is data in the warehouse. The broad blue line represents the boundaries of the currently-selected time window. The report reflects the data in the blue window.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6354.01-Timeline-control-with-data_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="01 Timeline control with data" border="0" alt="01 Timeline control with data" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3036.01-Timeline-control-with-data_5F00_thumb.png" width="668" height="84" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The user can navigate (change the size or position of the selected time window) using the buttons below the timeline, or by clicking on an arbitrary point on the timeline.&amp;#160; Here is an example of a timeline control for an MDW instance that has no data.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5277.02-Timeline-control-with-no-data_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="02 Timeline control with no data" border="0" alt="02 Timeline control with no data" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4617.02-Timeline-control-with-no-data_5F00_thumb.png" width="676" height="82" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h2&gt;Report Drill-Through Relationships&lt;/h2&gt;  &lt;p&gt;This is the “money” diagram that shows the navigation relationship between all of the MDW reports.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2465.03-Drill_2D00_thru-diagram_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="03 Drill-thru diagram" border="0" alt="03 Drill-thru diagram" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2465.03-Drill_2D00_thru-diagram_5F00_thumb.png" width="604" height="651" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h2&gt;Reports in the MDW&lt;/h2&gt;  &lt;p&gt;This section shows examples of each of the MDW reports. The good news is that I don’t have to describe them for you since the description of each of the reports is in the header for the report.&amp;#160; Hopefully the data that is presented in the report is intuitively obvious to the casual observer.&amp;#160; Yes, the images are a bit on the old side, but they are mostly what we ended up shipping for SQL Server 2008. There were no changes made to the reports for SQL Server 2008 R2. Here we go…&lt;/p&gt;  &lt;h3&gt;Server Activity History&lt;/h3&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6366.04-_2D00_-Server-Activity-History_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="04 - Server Activity History" border="0" alt="04 - Server Activity History" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7331.04-_2D00_-Server-Activity-History_5F00_thumb.png" width="599" height="713" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;&lt;a name="_Toc180832343"&gt;System CPU Usage&lt;/a&gt;&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on the green System line in the %CPU Utilization chart in the Server Activity History report.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6663.05-_2D00_-System-CPU-Usage_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="05 - System CPU Usage" border="0" alt="05 - System CPU Usage" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6366.05-_2D00_-System-CPU-Usage_5F00_thumb.png" width="594" height="655" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;h3&gt;System Disk Usage&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on the green System line in the Disk I/O Usage chart in the Server Activity History report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6761.06-_2D00_-System-Disk-Usage_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="06 - System Disk Usage" border="0" alt="06 - System Disk Usage" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7245.06-_2D00_-System-Disk-Usage_5F00_thumb.png" width="596" height="628" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;SQL Server Memory Usage&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on the light blue SQL Server line in the Memory Usage chart in the Server Activity History report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6747.07-_2D00_-SQL-Server-Memory-Usage_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="07 - SQL Server Memory Usage" border="0" alt="07 - SQL Server Memory Usage" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2047.07-_2D00_-SQL-Server-Memory-Usage_5F00_thumb.png" width="598" height="505" /&gt;&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4111.07-_2D00_-SQL-Server-Memory-Usage-P2_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="07 - SQL Server Memory Usage P2" border="0" alt="07 - SQL Server Memory Usage P2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2134.07-_2D00_-SQL-Server-Memory-Usage-P2_5F00_thumb.png" width="596" height="381" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;System Memory Usage&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on the green System line in the Memory Usage chart in the Server Activity History report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0410.08-System-Memory-Usage_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="08 System Memory Usage" border="0" alt="08 System Memory Usage" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3443.08-System-Memory-Usage_5F00_thumb.png" width="596" height="614" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;SQL Server Waits&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking anywhere within the SQL Server Waits chart in the Server Activity History report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8836.09-_2D00_-SQL-Server-Waits_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="09 - SQL Server Waits" border="0" alt="09 - SQL Server Waits" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7750.09-_2D00_-SQL-Server-Waits_5F00_thumb.png" width="592" height="601" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;SQL Server Blocking&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on the Lock hyperlink within the SQL Server Waits report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1070.10-_2D00_-SQL-Server-Blocking_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="10 - SQL Server Blocking" border="0" alt="10 - SQL Server Blocking" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8311.10-_2D00_-SQL-Server-Blocking_5F00_thumb.png" width="592" height="487" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;SQL Server Blocking Chain Detail&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on either the blocking chain part in the chart or on the Chain # link number in the list in the SQL Server Blocking report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3443.11-_2D00_-SQL-Server-Blocking-Chain-Detail_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="11 - SQL Server Blocking Chain Detail" border="0" alt="11 - SQL Server Blocking Chain Detail" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3122.11-_2D00_-SQL-Server-Blocking-Chain-Detail_5F00_thumb.png" width="592" height="645" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;SQL Server Active Requests&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on the Sample Time within the SQL Server Blocking Chain Detail report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4113.12-SQL-Server-Active-Requests_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="12 SQL Server Active Requests" border="0" alt="12 SQL Server Active Requests" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6761.12-SQL-Server-Active-Requests_5F00_thumb.png" width="591" height="371" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;When you expand the SPID row, you get details for that SPID as shown below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8420.12a-SQL-Server-Active-Requests-SPID-detail_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="12a SQL Server Active Requests SPID detail" border="0" alt="12a SQL Server Active Requests SPID detail" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0486.12a-SQL-Server-Active-Requests-SPID-detail_5F00_thumb.png" width="597" height="172" /&gt;&lt;/a&gt;&lt;/p&gt;                &lt;h3&gt;SQL Server Observed Waits&lt;/h3&gt;  &lt;p&gt;Launch this report when clicking on any of the other wait hyperlinks in the Wait Category list in the SQL Server Wait report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3036.13-SQL-Server-Observed-Waits_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="13 SQL Server Observed Waits" border="0" alt="13 SQL Server Observed Waits" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6266.13-SQL-Server-Observed-Waits_5F00_thumb.png" width="599" height="773" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Note, in this report, it shows the queries that just happen to be sampled during the time of the observed waits. If you need to perform detailed wait analysis, check out Jonathan Keyayais’s white paper &lt;a href="http://msdn.microsoft.com/en-us/library/dd822788(SQL.100).aspx" target="_blank"&gt;Using SQL Server 2008 Extended Events&lt;/a&gt;.This is 500 level material, but the MDW reports tend to get you close enough.&lt;/p&gt;  &lt;h3&gt;Query Statistics History&lt;/h3&gt;  &lt;p&gt;Launch this report directly from the Data Collection reports menu or my clicking on the blue SQL Server line in the % CPU Utilization chart in the Server Activity History report.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0407.14-Query-Statistics-History_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="14 Query Statistics History" border="0" alt="14 Query Statistics History" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2553.14-Query-Statistics-History_5F00_thumb.png" width="590" height="642" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;My motto here – click on the big stuff.&amp;#160; We only list 10 queries here because these are the most expensive ones to worry about. Listing more would be like rearranging deck chairs on the Titanic while it’s sinking.&lt;/p&gt;  &lt;h3&gt;Query Details&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on any hyperlink text in any of the reports that has them. For example, SQL Server Observed Waits, SQL Server Active Requests, and the Query Statistics reports all have links to Transact SQL queries.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5287.15-_2D00_-Query-Details_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="15 - Query Details" border="0" alt="15 - Query Details" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5277.15-_2D00_-Query-Details_5F00_thumb.png" width="588" height="491" /&gt;&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4682.15a-_2D00_-Query-Details-Plan-portion_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="15a - Query Details Plan portion" border="0" alt="15a - Query Details Plan portion" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8726.15a-_2D00_-Query-Details-Plan-portion_5F00_thumb.png" width="588" height="340" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Note, clicking on the Edit Query Text link in the report, launches the query editor with the selected text. This is due to a limitation of the report viewer control not having the ability to select text and copy it to the clipboard. Once we get the reports ported to run with SQL Server Reporting Services, you’ll be able to copy text from the reports.&lt;/p&gt;  &lt;p&gt;You can also click in the Duration, Physical Reads and Logical Writes links to sort the plans by these dimensions.&lt;/p&gt;  &lt;h3&gt;Query Plan Detail&lt;/h3&gt;  &lt;p&gt;Launch this report by clicking on the Query Plan line in the chart or the Plan # in the list in the Query Details report.&amp;#160; The top part of the report is the same as the Query Details report, but the killer demo portion is shown below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6761.16-_2D00_-Query-Plan-Details-_2D00_-Show-plan_5F00_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="16 - Query Plan Details - Show plan" border="0" alt="16 - Query Plan Details - Show plan" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3034.16-_2D00_-Query-Plan-Details-_2D00_-Show-plan_5F00_thumb.png" width="600" height="203" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If there is a missing index for the plan, you can see the query text, but the copy/paste problem exists. So we added the View Graphical Execution Plan link to this report to display the execution plan that was captured by the Query Statistics collection set. &lt;/p&gt;  &lt;h3&gt;&lt;/h3&gt;        &lt;h3&gt;The Other Reports&lt;/h3&gt;  &lt;p&gt;We have Disk Usage reports, but they aren’t all that interesting and have some nasty bugs that require rewriting with the time line control.&amp;#160; I’ll leave them for a future blog post.&lt;/p&gt;  &lt;h2&gt;Other Performance Troubleshooting References&lt;/h2&gt;  &lt;p&gt;For some great references on troubleshooting SQL Server performance problems, check out &lt;a title="http://sqlcrunch.com/PerformanceTuning/tabid/100/Default.aspx" href="http://sqlcrunch.com/PerformanceTuning/tabid/100/Default.aspx"&gt;http://sqlcrunch.com/PerformanceTuning/tabid/100/Default.aspx&lt;/a&gt;. Rod Colledge has done a great job of cataloging all of the greatest white papers on all topics around SQL Server.&lt;/p&gt;  &lt;h2&gt;See you at SQL PASS&lt;/h2&gt;  &lt;p&gt;I’ll be at SQL PASS presenting how to write reports against the MDW for hosting them on Reporting Services on Wednesday at 4:30. my session follows Ben Nevarez’s Data Collector and Management Data Warehouse session. Right after my session, Ben and I will handle Q&amp;amp;A in room 305.&lt;/p&gt;  &lt;p&gt;Be sure to wear your Kilt on Wednesday - &lt;a title="http://www.sqlpass.org/summit/na2010/Connect/AfterHours.aspx" href="http://www.sqlpass.org/summit/na2010/Connect/AfterHours.aspx"&gt;http://www.sqlpass.org/summit/na2010/Connect/AfterHours.aspx&lt;/a&gt;. I’ll be wearing my Kilt on both Tuesday and Wednesday to drum up support for the event.&amp;#160; If you need a Kilt, check out the folks at &lt;a href="http://bit.ly/dzPKAi" target="_blank"&gt;UtiliKilts in Seattle or order on line&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.sqlpass.org/summit/na2010/"&gt;&lt;img border="0" alt="" src="http://www.sqlpass.org/Portals/0/2010PASSSummit_950x75.jpg" width="633" height="50" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; tweetmeme_source = 'billramo'; tweetmeme_hashtags = '#sql,#ssms';&lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10080182" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+Server+2008/">SQL Server 2008</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/MDW+Reports/">MDW Reports</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+PASS/">SQL PASS</category></item><item><title>Enabling SQL Server Management Pack Alerts with System Center Operations Manager 2007 - Enabling the Blocking Sessions Rule</title><link>http://blogs.msdn.com/b/billramo/archive/2010/10/10/enabling-sql-server-management-pack-alerts-with-system-center-operations-manager-2007-enabling-the-blocking-sessions-rule.aspx</link><pubDate>Sun, 10 Oct 2010 21:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10073857</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10073857</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/10/10/enabling-sql-server-management-pack-alerts-with-system-center-operations-manager-2007-enabling-the-blocking-sessions-rule.aspx#comments</comments><description>&lt;h1&gt;&lt;/h1&gt;
&lt;p&gt;Bill Ramos, Principal Program Manager, SQL Manageability&lt;/p&gt;
&lt;p&gt;In my previous blog post &lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/03/installing-the-sql-server-2008-r2-management-pack-for-system-center-operations-manager-2007-r2.aspx"&gt;Installing the SQL Server 2008 R2 Management Pack for System Center Operations Manager 2007 R2&lt;/a&gt; I showed how you can install SCOM 2007 R2 on a &amp;ldquo;bare-metal&amp;rdquo; VM using&amp;nbsp; SQL Server 2008 R2 as the back end. One of the big features of the &lt;a target="_blank" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en"&gt;SQL Server 2008 R2 Management Pack&lt;/a&gt; is that we reduced the noise (or false alerts) reported by SCOM. This was done by disabling many of the alerts that we initially thought were critical/important and realized, it was better for you &amp;ndash; the DBA &amp;ndash; to determine what you think is important.&lt;/p&gt;
&lt;p&gt;In this post, I&amp;rsquo;ll demonstrate how to enable and test one particular rule &amp;ndash; Blocking Sessions &amp;ndash; that is part of the SQL 2008 DB Engine set of rules. &lt;/p&gt;
&lt;p&gt;This blog post is part of the series of posts that I&amp;rsquo;m using to prepare for my SQL PASS 2010 session on the SQL MP. &lt;br /&gt;&lt;a target="_blank" href="http://www.sqlpass.org/summit/na2010/" title="Join me for SQL PASS 2010"&gt;&lt;img height="121" width="640" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1538.2010-SQL-PASS-Banner_5F00_3.png" alt="2010 SQL PASS Banner" border="0" title="2010 SQL PASS Banner" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;h2&gt;Using SQL Server Management Studio to find blocking sessions&lt;/h2&gt;
&lt;p&gt;First, a little background on how to find out your blocking problems within SQL Server Management Studio. This is importance since once you find the blocking SQL Process ID (SPID) , you&amp;rsquo;ll want to probably &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/ms173730.aspx"&gt;kill the SPID&lt;/a&gt; and then fix the application or query that is causing the problem for the rest of your system.&lt;/p&gt;
&lt;h4&gt;Standard Reports &amp;ndash; Server &amp;ndash; Activity &amp;ndash; All Blocking Transactions&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6332.01-_2D00_-Server-_2D00_-Report-_2D00_-Blocking-Transactions_5F00_2.png"&gt;&lt;img height="304" width="779" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2625.01-_2D00_-Server-_2D00_-Report-_2D00_-Blocking-Transactions_5F00_thumb.png" alt="01 - Server - Report - Blocking Transactions" border="0" title="01 - Server - Report - Blocking Transactions" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Activity &amp;ndash; All Blocking Transactions report is available by right clicking on the Server of interest; select the Reports command; then the Standard Reports command; and finally selecting the Activity &amp;ndash; All Blocking Transactions report. As you can see from the example above, you can get a real time view of the blocking problem with this report. The trick is, you need to run the report when the problem is happening to diagnose identify the problem SPID.&lt;/p&gt;
&lt;h4&gt;Using Activity Monitor&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4762.02-_2D00_-Using-Activity-Monitor-to-see-head-blocker_5F00_2.png"&gt;&lt;img height="295" width="781" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8176.02-_2D00_-Using-Activity-Monitor-to-see-head-blocker_5F00_thumb.png" alt="02 - Using Activity Monitor to see head blocker" border="0" title="02 - Using Activity Monitor to see head blocker" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With Activity Monitor, you can quickly filter to the &amp;ldquo;&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/cc879320.aspx"&gt;Head Blocker&lt;/a&gt;&amp;rdquo; SPID by clicking on the [v] control for the Head Blocker column in the Processes section of the tool and select the value 1 &amp;ndash; if present &amp;ndash; to filter to the offending SPID. In the case shown above, the connection string information for the Application identifies the offending SPID as &amp;ldquo;BadApplication ver 1.2&amp;rdquo;. If only all problems were so easy to identify. &lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5751.wlEmoticon_2D00_smile_5F00_2.png" alt="Smile" class="wlEmoticon wlEmoticon-smile" style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" /&gt;&lt;/p&gt;
&lt;p&gt;By right clicking on the highlighted row in Activity Monitor, you can issue the &amp;ldquo;Kill Process&amp;rdquo; command. If the problem reoccurs, you can consider using the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/ms189770.aspx"&gt;APP_NAME()&lt;/a&gt; function within the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/cc645892.aspx"&gt;Classifier Function&lt;/a&gt; for the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/bb933866.aspx"&gt;Resource Governor&lt;/a&gt; feature introduced in SQL Server 2008 Enterprise Edition to block the application from connecting to the server.&lt;/p&gt;
&lt;h2&gt;Configuring SCOM 2007 and the SQL Server MP to detect blocking sessions&lt;/h2&gt;
&lt;p&gt;Out of the box, after you have discovered the SQL Server computer using SCOM 2007 &amp;ndash; see &lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/10/03/installing-the-sql-server-2008-r2-management-pack-for-system-center-operations-manager-2007-r2.aspx"&gt;Installing the SQL Server 2008 R2 Management Pack for System Center Operations Manager 2007 R2&lt;/a&gt;. Once the system has cycled and SCOM agent is reporting health results to the Operations Console, you&amp;rsquo;ll see that even though a blocking situation is in progress, the monitor for the Microsoft SQL Server &amp;ndash; Computers &amp;ndash; indicates a Healthy state for the computer in question as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6431.03-_2D00_-SCOM-without-override_5F00_2.png"&gt;&lt;img height="659" width="847" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1050.03-_2D00_-SCOM-without-override_5F00_thumb.png" alt="03 - SCOM without override" border="0" title="03 - SCOM without override" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I happen to know that the highlighted server &amp;ndash; BILLRAMO-KAT1 &amp;ndash; is experiencing a blocking transaction problem. In order to detect the blocking scenario, you need to create an Override for the SQL Server MP.&lt;/p&gt;
&lt;h4&gt;Creating the Override for Blocking Sessions&lt;/h4&gt;
&lt;p&gt;To create and override for the blocking sessions scenario, you&amp;rsquo;ll need to do the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click on the Authoring workspace bar and select the Monitors item under the Management Pack Objects folder in the Authoring tree as shown below. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3201.04-_2D00_-Go-to-Monitors_5F00_2.png"&gt;&lt;img height="623" width="803" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3618.04-_2D00_-Go-to-Monitors_5F00_thumb.png" alt="04 - Go to Monitors" border="0" title="04 - Go to Monitors" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;In the Look for: control in the Monitors workspace, type in the phrase Blocking Sessions and then click Find Now. SCOM searches across all of the Management Packs that you have installed looking for the Monitor that contains the phrase. Select the Blocking Sessions for Type SQL 2008 Blocked SID Provider as shown below. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4300.05-_2D00_-Search-and-select-blocking-sessions-monitor_5F00_2.png"&gt;&lt;img height="621" width="805" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6765.05-_2D00_-Search-and-select-blocking-sessions-monitor_5F00_thumb.png" alt="05 - Search and select blocking sessions monitor" border="0" title="05 - Search and select blocking sessions monitor" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;There should be 2 Blocking Sessions monitors as a result of the search. The second one is located under the SQL 2005 DB Engine target. You&amp;rsquo;ll need to perform the same steps to set up the override for your SQL Server 2005 computers. Right click on the Blocking Sessions line and select the Overrides &amp;gt; Override the Monitor &amp;gt; For all objects of class: SQL 2008 DB Engine command. This displays the Override Properties. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4214.06-_2D00_-Overrides-Properties_5F00_4.png"&gt;&lt;img height="690" width="675" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1007.06-_2D00_-Overrides-Properties_5F00_thumb_5F00_1.png" alt="06 - Overrides Properties" border="0" title="06 - Overrides Properties" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Before you go and enable the override, you are going to create a new destination management back. If you were to create the override in the &amp;ldquo;Default Management Pack&amp;rdquo;, you will lose the ability to easily export the overrides you setup for SQL Server 2008 computers to share with others.&amp;nbsp; Creating the New destination management back, click on the New&amp;hellip; button.&lt;/li&gt;
&lt;li&gt;Complete the first page of the Create a Management Pack dialog as shown below with the name: SQL Server 2008 Customizations. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1565.07-_2D00_-Create-a-SQL-Server-2008-Customizations-MP_5F00_2.png"&gt;&lt;img height="595" width="676" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0005.07-_2D00_-Create-a-SQL-Server-2008-Customizations-MP_5F00_thumb.png" alt="07 - Create a SQL Server 2008 Customizations MP" border="0" title="07 - Create a SQL Server 2008 Customizations MP" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Click the Next button to go to the Knowledge Article page. You can leave this blank for now. This page allows you to provide information to the SCOM operator/DBA as to the purpose of the MP.&amp;nbsp; Click the Create button to complete the wizard. You should now see &amp;ldquo;SQL Server 2008 Customizations&amp;rdquo; as the destination management pack in the Overrides Properties dialog.&lt;/li&gt;
&lt;li&gt;Depending on your service level agreement for your application, you will want to set override properties to values that are appropriate for your systems. For example, for systems that are in production, you hope that you tested any new applications to avoid the blocking problems in the first place, so the default Interval (sec) collection value of 300 makes sense. If you have a shop of cowboy coders slinging code into production, you might want to set the value to 30. &lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5751.wlEmoticon_2D00_smile_5F00_2.png" alt="Smile" class="wlEmoticon wlEmoticon-smile" style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" /&gt; For demonstration purposes, I&amp;rsquo;ve used the settings shown below. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4621.08-_2D00_-Setting-overrides-for-demo_5F00_2.png"&gt;&lt;img height="654" width="671" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0523.08-_2D00_-Setting-overrides-for-demo_5F00_thumb.png" alt="08 - Setting overrides for demo" border="0" title="08 - Setting overrides for demo" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Click the OK button and then switch over to your Monitoring workspace. After 30 seconds, navigate to the Computers node under Microsoft SQL Server and if you are impatient, press F5 to refresh. If all goes well, you should see the following Critical alert. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3162.09-_2D00_-Critical-error-on-blocking-scenario_5F00_2.png"&gt;&lt;img height="553" width="712" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8053.09-_2D00_-Critical-error-on-blocking-scenario_5F00_thumb.png" alt="09 - Critical error on blocking scenario" border="0" title="09 - Critical error on blocking scenario" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;I know and you know that the Critical state was caused by the blocking session scenario, but the way you can tell for sure is to double click on the Critical state cell to display the Health Explorer for the computer as shown below. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3582.10-_2D00_-Health-Explorer_5F00_2.png"&gt;&lt;img height="542" width="713" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3568.10-_2D00_-Health-Explorer_5F00_thumb.png" alt="10 - Health Explorer" border="0" title="10 - Health Explorer" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;br /&gt;You can select the critical leaf node &amp;ldquo;Blocking Sessions&amp;rdquo; to see the knowledge article for the problem. If you click on the State Change Events tab, you can see when the last time a state transition occurred.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Back to SSMS Activity Monitor&lt;/h2&gt;
&lt;p&gt;At this point, you need to go back to SSMS to kill the offending SPID using Activity Monitor. SCOM provides an easy way to get to SSMS by going to the Database Engines node under the Server Roles for Microsoft SQL Server. You can then click on SQL Management Studio in the Actions pane as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1512.11-_2D00_-Launch-SSMS-from-SCOM_5F00_4.png"&gt;&lt;img height="662" width="858" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4251.11-_2D00_-Launch-SSMS-from-SCOM_5F00_thumb_5F00_1.png" alt="11 - Launch SSMS from SCOM" border="0" title="11 - Launch SSMS from SCOM" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To launch SSMS with the proper connection context, select the instance path with the Database Engines list and then click on the SQL Management Studio action indicated by the big red arrows above. Then, launch the Activity Monitor, select the Head Blocker, and kill the session. Problem solved!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6646.12-_2D00_-Kill-the-process-with-Activity-Monitor_5F00_2.png"&gt;&lt;img height="613" width="855" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7801.12-_2D00_-Kill-the-process-with-Activity-Monitor_5F00_thumb.png" alt="12 - Kill the process with Activity Monitor" border="0" title="12 - Kill the process with Activity Monitor" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;Now you know how to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a custom management pack (attached to this blog post as &amp;ldquo;SQL Server 2008 Customizations.xml&amp;rdquo;). You can save yourself the trouble of using the dialogs by downloading this file to your SCOM machine, going to the Administration workspace, clicking on the &amp;ldquo;Import Management Packs&amp;hellip;&amp;rdquo; command in the Actions pane, and selecting the XML file.&lt;/li&gt;
&lt;li&gt;Override a monitor that is disabled by default. You can also edit any of the enabled monitors the same way. Again, be sure to use the custom management pack vs. the Default Management pack&lt;/li&gt;
&lt;li&gt;Troubleshoot a blocking session problem using SCOM 2007 and SSMS &amp;ndash; as I like to say &amp;ndash; better together.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To learn more about the Blocking Sessions monitor and other monitors in the &lt;a target="_blank" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en"&gt;SQL Server Monitoring Management Pack&lt;/a&gt;, be sure to Download and read the &lt;a target="_blank" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en"&gt;SQLServerMPGuide.doc&lt;/a&gt; file. &lt;/p&gt;
&lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8adda901-9fbe-4dae-bbd9-7bdc0f90a0e1" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px"&gt;Technorati Tags: &lt;a rel="tag" href="http://technorati.com/tags/System+Center+Operations+Manager"&gt;System Center Operations Manager&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+Management+Center"&gt;SQL Server Management Center&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SCOM+2007+R2"&gt;SCOM 2007 R2&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SSMS"&gt;SSMS&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server"&gt;SQL Server&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+Monitoring+Management+Pack"&gt;SQL Server Monitoring Management Pack&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+MP"&gt;SQL Server MP&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008"&gt;SQL Server 2008&lt;/a&gt;&lt;/div&gt;
&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;
&lt;script type="text/javascript"&gt;&lt;!--
 tweetmeme_source = 'billramo'; tweetmeme_hashtags = '#sql,#ssms';
// --&gt;&lt;/!--
&gt;&lt;/script&gt;
&lt;script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10073857" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-07-38-57/SQL.Server.Customizations.xml" length="4937" type="text/xml" /><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SSMS/">SSMS</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/Activity+Monitor/">Activity Monitor</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SCOM+2007/">SCOM 2007</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+Server+MP/">SQL Server MP</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+PASS/">SQL PASS</category></item><item><title>Installing the SQL Server 2008 R2 Management Pack for System Center Operations Manager 2007 R2</title><link>http://blogs.msdn.com/b/billramo/archive/2010/10/03/installing-the-sql-server-2008-r2-management-pack-for-system-center-operations-manager-2007-r2.aspx</link><pubDate>Mon, 04 Oct 2010 04:16:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10070990</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10070990</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/10/03/installing-the-sql-server-2008-r2-management-pack-for-system-center-operations-manager-2007-r2.aspx#comments</comments><description>&lt;p&gt;By Bill Ramos &lt;br /&gt;Principal Program Manager, SQL Server Manageability&lt;/p&gt;
&lt;h2&gt;Abstract&lt;/h2&gt;
&lt;p&gt;In this blog post, I will go over the steps to install System Center Operations Manager (SCOM) 2007 R2 and the recent release of the SQL Server 2008 R2 Management Pack (MP) on a bare bones Windows Server 2008 R2 Hyper-V virtual machine.&amp;nbsp; I&amp;rsquo;ll include where you can download the various software components (free &amp;amp; evaluation copies). My goal is to make operational DBAs familiar with SCOM 2007 and the various MPs that are available to help you better manage large number of server instances.&lt;/p&gt;
&lt;p&gt;This blog post is part of the series of posts that I&amp;rsquo;m using to prepare for my SQL PASS 2010 session on the SQL MP.&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://www.sqlpass.org/summit/na2010/"&gt;&lt;img src="http://sqlpass.eventpoint.com/p/sqlpass/resources/Pass_small.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Installing SCOM 2007 R2 and the SQL Server 2008 R2 MP&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m starting with a Windows Server 2008 R2 Hyper-V image with 4GB of RAM and 1 virtual CPU. This configuration is the minimum recommended configuration for all of the &lt;a target="_blank" href="http://technet.microsoft.com/en-us/library/bb309428.aspx"&gt;SCOM 2007 R2 features&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;h3&gt;Step 0 &amp;ndash; Download and install updates&lt;/h3&gt;
&lt;p&gt;There is always something out there that needs to get updated after installing Windows Server 2008 R2. Be sure to check for updates as part of your Initial Configuration Tasks as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2335.01-_2D00_-Check-for-Updates_5F00_2.jpg"&gt;&lt;img height="709" width="627" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7127.01-_2D00_-Check-for-Updates_5F00_thumb.jpg" alt="01 - Check for Updates" border="0" title="01 - Check for Updates" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Generally, you will need to reboot after this step to make sure Windows Server 2008 R2 didn&amp;rsquo;t have more updates that require a reboot. Just reboot to be on the safe side.&lt;/p&gt;
&lt;h3&gt;Step 1 &amp;ndash; Add the IIS Role&lt;/h3&gt;
&lt;p&gt;After the reboot, you will need to add the IIS role to your server. Just click on the &amp;ldquo;Add roles&amp;rdquo; command shown above in the &amp;ldquo;Customize This Server&amp;rdquo; section of the Initial Configuration Tasks dialog. This will launch the Add Roles Wizard. At this point, I&amp;rsquo;m assuming you are logged into the server with a Windows login that is a system administrator for the machine.&lt;/p&gt;
&lt;p&gt;Just click Next past the introduction page.&amp;nbsp; You will then select the Web Server (IIS) role as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6471.02-_2D00_-Select-Web-Server-_2800_IIS_2900_-role_5F00_2.jpg"&gt;&lt;img height="466" width="631" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6557.02-_2D00_-Select-Web-Server-_2800_IIS_2900_-role_5F00_thumb.jpg" alt="02 - Select Web Server (IIS) role" border="0" title="02 - Select Web Server (IIS) role" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then click Next. The wizard will then take you to the &amp;ldquo;Introduction to Web Server (IIS)&amp;rdquo; page. You are welcome to read the page and click on the hyperlinks to read more about IIS, but we are focusing our attention on getting SCOM up and running.&amp;nbsp; So, click Next to move along.&lt;/p&gt;
&lt;p&gt;The Role Services dialog is the tricky one since you need just about all of the services selected to pass the prerequisite checks for SCOM. So, select all of the check boxes to be on the safe side. At some point, I&amp;rsquo;ll follow up with a blog post on what you can disable. See below for what the Role Services page should look like before selecting the Next command.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2656.03-_2D00_-Select-all-of-the-IIS-services_5F00_2.jpg"&gt;&lt;img height="472" width="638" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4403.03-_2D00_-Select-all-of-the-IIS-services_5F00_thumb.jpg" alt="03 - Select all of the IIS services" border="0" title="03 - Select all of the IIS services" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once you have selected every service &amp;ndash; click Next to go to the Confirmation page and then click Install. With any luck, you should get to the Results page indicating &amp;ldquo;Installation succeeded&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4722.04-_2D00_-IIS-Installation-Success_5F00_2.jpg"&gt;&lt;img height="482" width="652" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0118.04-_2D00_-IIS-Installation-Success_5F00_thumb.jpg" alt="04 - IIS Installation Success" border="0" title="04 - IIS Installation Success" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Go ahead and click the close button for the Add Roles wizard.&amp;nbsp; Time for a quick test to see if IIS installed. go ahead and launch IE 8. If you are running with Enhanced Security Configuration, we&amp;rsquo;ll deal with that in a moment since you&amp;rsquo;ll need to download more software from the web.&lt;/p&gt;
&lt;p&gt;In the IE8 address bar, type &lt;a href="http://localhost"&gt;http://localhost&lt;/a&gt;. If all went well, you should see the following:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1108.05-_2D00_-Localhost-works_5F00_2.jpg"&gt;&lt;img height="512" width="614" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3755.05-_2D00_-Localhost-works_5F00_thumb.jpg" alt="05 - Localhost works" border="0" title="05 - Localhost works" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Go ahead and close the browser for now. You can also close the Initial Configuration Tasks dialog and you might want to check the box that says, &amp;ldquo;Do not show this window at login&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;As soon as the dialog closes, Windows Server 2008 R2 launches the Server Manager. At this point, let&amp;rsquo;s reconfigure &amp;ldquo;Configure IE ESC&amp;rdquo; so that you can browse the web without the annoying prompts. NOTE: It is Microsoft&amp;rsquo;s recommendation to have this feature on for production servers,, but we are just trying to get things spun up the first time with ease. So, be sure to turn ESC back on once everything is running well for you.&lt;/p&gt;
&lt;p&gt;Go ahead and click on the Configure IE ESC link as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5824.06-_2D00_-Turn-off-ESC_5F00_2.jpg"&gt;&lt;img height="569" width="609" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1033.06-_2D00_-Turn-off-ESC_5F00_thumb.jpg" alt="06 - Turn off ESC" border="0" title="06 - Turn off ESC" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then select Off for both Administrators and Users as shown below and click OK.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0525.06-_2D00_-Turn-off-ESC-dialog_5F00_2.jpg"&gt;&lt;img height="555" width="527" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6011.06-_2D00_-Turn-off-ESC-dialog_5F00_thumb.jpg" alt="06 - Turn off ESC dialog" border="0" title="06 - Turn off ESC dialog" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;Step 1.5 &amp;ndash; Installing AJAX&lt;/h4&gt;
&lt;p&gt;There is one more add-on that you must install called ASP.NET AJAX 1.0 that you can download from &lt;a target="_blank" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&amp;amp;displaylang=en"&gt;here&lt;/a&gt;. It&amp;rsquo;s also listed in the download links below. Just click on the Download button on the web site and run through the installation taking all of the defaults.&lt;/p&gt;
&lt;h3&gt;Step 2 &amp;ndash; Installing SQL Server 2008 R2&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;m taking a gamble here since support for using SQL Server 2008 R2 was just announced on September 25, 2010 as part of a &amp;ldquo;FAST PUBLUSH&amp;rdquo; knowledge base article &amp;ndash; see &lt;a target="_blank" href="http://support.microsoft.com/kb/2425714"&gt;Support for System Center Operations Manager 2007 R2 that runs on a SQL Server 2008 R2 database&lt;/a&gt;. You don&amp;rsquo;t really need to check out KB Article 2425714 since I&amp;rsquo;ll guide you through the basics later on.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll assume that you have access to the installation files for SQL Server 2008 R2. Check out the download links at the end of this posting for getting an evaluation copy. I recommend going with an Enterprise SKU since it has some cool features like row level compression for your database tables that can save you up to 20% or more disk space with a little more overhead on CPU. There are other great scalability features you can check out at the MSDN article titled &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/cc645993.aspx#Scalability"&gt;Features Supported by the Editions of SQL Server 2008 R2&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Go to your installation folder and the click on Setup.exe. This displays the SQL Server Installation Center as shown below. You&amp;rsquo;ll want to select the Installation page.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1207.07-_2D00_-Sql-Installation-start_5F00_2.jpg"&gt;&lt;img height="584" width="778" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5811.07-_2D00_-Sql-Installation-start_5F00_thumb.jpg" alt="07 - Sql Installation start" border="0" title="07 - Sql Installation start" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then select the hyperlink for New installation or add features to an existing installation as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7484.08-_2D00_-New-Install_5F00_2.jpg"&gt;&lt;img height="592" width="788" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1220.08-_2D00_-New-Install_5F00_thumb.jpg" alt="08 - New Install" border="0" title="08 - New Install" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not going to run through all of the installation screens, but here are the basics to get you up and running. To keep things simple, I&amp;rsquo;ll assume you will use a Windows domain account with system administration permissions for all of the SQL Server services. I know this is not recommended, and you can change to lower privileged accounts once everything is working.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;On the Setup Role page, select the SQL Server Feature Installation option.&lt;/li&gt;
&lt;li&gt;On the Features Selection page, click Select All &amp;ndash; maybe unclick SQL Server Books Online &amp;ndash; since the topics will point to the web based topics by default. &lt;/li&gt;
&lt;li&gt;On the Instance Configuration page, select the Default instance.&lt;/li&gt;
&lt;li&gt;On the Service Accounts page, click on the &amp;ldquo;Use the same account for all SQL Server services&amp;rdquo; button and then enter in the Windows account that has system administration privileges. Yes &amp;ndash; I did it again &amp;ndash; you should really use a low privileged account, but this is a test environment.&amp;nbsp; Make sure to set the Startup Type for SQL Server Agent to Automatic as well.&amp;nbsp; DO NOT CHANGE THE Collation for the server. SCOM requires the use of SQL_Latin1_General_CP1_CI_AS. &lt;/li&gt;
&lt;li&gt;On the Database Engine Configuration page, be sure to click &amp;ldquo;Add Current User&amp;rdquo; for the admin account. Like a good DBA, be sure to change your data directories off the C: drive.&lt;/li&gt;
&lt;li&gt;On the Analysis Services Configuration page, click &amp;ldquo;Add Current user&amp;rdquo; and change the Data Directories as needed.&lt;/li&gt;
&lt;li&gt;On the Reporting Services Configuration page, select the top option for &amp;ldquo;Install the native mode default configuration&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;You should be all set for installing SQL Server 2008 R2&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With any luck, setup would have gone without a hitch and you can close down the SQL Server Installation Center dialog.&lt;/p&gt;
&lt;h3&gt;Step 3 &amp;ndash; Install Microsoft Office 2010&lt;/h3&gt;
&lt;p&gt;If you want to author your own Management Packs, you need to install as a minimum Microsoft Word. SCOM 2007 R2 will work with older versions of MS Word, but this is a new box, so you might as well install all of Office. At least, you no longer need Outlook to send emails with SQL Server. NOTE: You will need to install the 32-bit version of Office for this all to work correctly. SCOM uses the Visual Studio Tools for Office runtime which is a 32 bit tool and only works with 32 bit versions of Office at the time of this blog posting.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Go ahead and just install with the default &amp;ldquo;Big Button&amp;rdquo; install option &amp;ndash; Install Now.&lt;/p&gt;
&lt;h3&gt;Step 4 &amp;ndash; Install SCOM 2007 R2&lt;/h3&gt;
&lt;p&gt;Note &amp;ndash; Before you do anything, make sure you didn&amp;rsquo;t skip Step 1.5 above. If you forgot, the installation process will politely remind you that you needed to install the ASP.NET AJAX component.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Go to your installation location for System Center Operations Manager R2 release and run OPSMGR2007R2SEL.exe from your local disk. This file is a self extracting zip file with all the components needed to install SCOM 2007 R2.&lt;/p&gt;
&lt;p&gt;When you run the .exe file, you should see the following message box kicking off the installation process.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2100.09-_2D00_-Running-the-SCOM-installer-for-R2_5F00_2.jpg"&gt;&lt;img height="150" width="420" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4331.09-_2D00_-Running-the-SCOM-installer-for-R2_5F00_thumb.jpg" alt="09 - Running the SCOM installer for R2" border="0" title="09 - Running the SCOM installer for R2" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Followed by the WinZip Self-Extractor UI.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7573.10_2D00_-Unzip-the-files_5F00_2.jpg"&gt;&lt;img height="286" width="464" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5023.10_2D00_-Unzip-the-files_5F00_thumb.jpg" alt="10- Unzip the files" border="0" title="10- Unzip the files" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the Unzip bottom. At the end of the unzipping process, you should get a message box indicating that 243 file(s) unzipped successfully. Once you click OK, the System Center operations Manager 2007 R2 Setup will be displayed. You may find it hidden behind another window.&amp;nbsp; It looks like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2210.15-_2D00_-Browse-the-CD_5F00_2.jpg"&gt;&lt;img height="490" width="624" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2318.15-_2D00_-Browse-the-CD_5F00_thumb.jpg" alt="15 - Browse the CD" border="0" title="15 - Browse the CD" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click on the Browse this CD because we need to &amp;ldquo;manually&amp;rdquo; run the DBCreateWizard command that is located in the SupportTools\AMD64 folder as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4452.16-_2D00_-DBCreateWizard-exe_5F00_2.jpg"&gt;&lt;img height="491" width="712" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5342.16-_2D00_-DBCreateWizard-exe_5F00_thumb.jpg" alt="16 - DBCreateWizard exe" border="0" title="16 - DBCreateWizard exe" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here are the relevant instructions from the the article &amp;ldquo;&lt;a target="_blank" href="http://support.microsoft.com/kb/2425714"&gt;Support for System Center Operations Manager 2007 R2 that runs on a SQL Server 2008 R2 database&lt;/a&gt;&amp;rdquo;. &lt;/p&gt;
&lt;h4&gt;Step 4.1 - How to use the DBCreateWizard tool to install the OperationsManager database&lt;/h4&gt;
&lt;p&gt;&lt;b&gt;Note&lt;/b&gt; You must run the DBCreateWizard tool on the server that is running SQL Server 2008 R2. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;var&gt;&amp;lt;InstallationMedia&amp;gt;&lt;/var&gt;\SupportTools\AMD64 folder &lt;br /&gt;&lt;b&gt;Note &lt;/b&gt;&lt;var&gt;&amp;lt;InstallationMedia&amp;gt;&lt;/var&gt; represents installation media of System Center Operations Manager 2007 R2. &lt;/li&gt;
&lt;li&gt;Double-click the DBCreateWizard.exe file to start the Database Configuration Wizard. &lt;br /&gt;&lt;b&gt;Note &lt;/b&gt;You may receive an error message when you start the wizard. &lt;br /&gt;For more information, click the following article number to view the article in the Microsoft Knowledge Base:
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/938997/"&gt;938997&lt;/a&gt; (http://support.microsoft.com/kb/938997/ ) Operations Manager 2007 Support Tools requirements &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Welcome &lt;/strong&gt;page, click &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Database Information &lt;/strong&gt;page, perform the following operations: 
&lt;ul&gt;
&lt;li&gt;Under &lt;strong&gt;Database Type&lt;/strong&gt;, select &lt;strong&gt;Operations Manager Database&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;Under Full Database Instance Name, select the instance of SQL Server where you want the database to be installed. &lt;br /&gt;&lt;b&gt;Note &lt;/b&gt;An instance of SQL Server has the name of &lt;var&gt;&amp;lt;ServerName&amp;gt;&lt;/var&gt;\&lt;var&gt;&amp;lt;InstanceName&amp;gt;&lt;/var&gt;. The default instance has the name of &lt;var&gt;&amp;lt;ServerName&amp;gt;&lt;/var&gt;. &lt;/li&gt;
&lt;li&gt;Leave the &lt;strong&gt;Create New Database &lt;/strong&gt;option selected. &lt;/li&gt;
&lt;li&gt;Leave the &lt;strong&gt;SQL Port &lt;/strong&gt;box blank. &lt;br /&gt;&lt;b&gt;Note &lt;/b&gt;If you do not provide a port, the Database Configuration Wizard uses the port 1433 to connect to SQL Server. However, if the instance of SQL Server that you specify uses a port other than 1433 for connection, you must specify the port in the &lt;strong&gt;SQL Port &lt;/strong&gt;box. &lt;/li&gt;
&lt;li&gt;By default, the database name is OperationsManager under &lt;strong&gt;Database Name&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;By default, the database size is 500 megabyte (MB) under &lt;strong&gt;Database Size&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Management Group&lt;/strong&gt; page, perform the following operations: 
&lt;ul&gt;
&lt;li&gt;Under &lt;strong&gt;Management Group name&lt;/strong&gt;, specify a name for the management group. &lt;/li&gt;
&lt;li&gt;By default, the BUILTIN\Administrators user group is specified under &lt;strong&gt;Configuration Administrator&lt;/strong&gt;. If you want to specify a different user group, follow these steps: (NOTE: I just went with BUILTIN\Administrators)&amp;nbsp; &lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Browse&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Select Group &lt;/strong&gt;dialog box, click &lt;strong&gt;Locations&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Locations &lt;/strong&gt;dialog box, select the domain that contains the user group that you want to specify, and then click &lt;strong&gt;OK&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Enter the object name to select&lt;/strong&gt;, type the user group, and then click &lt;strong&gt;Check Names&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;If the name that you typed becomes underlined, click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;For more information, see the "Before you Start" section of the following Microsoft TechNet website:
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/dd789046.aspx"&gt;http://technet.microsoft.com/en-us/library/dd789046.aspx&lt;/a&gt; (http://technet.microsoft.com/en-us/library/dd789046.aspx) &lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Error Reporting &lt;/strong&gt;page, optionally indicate whether you want to send error reports to Microsoft, and then click &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Summary&lt;/strong&gt; page, review the configuration summary shown below, and then click &lt;strong&gt;Finish&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5023.17-DBWizard-Summary-screen_5F00_2.jpg"&gt;&lt;img height="540" width="616" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4762.17-DBWizard-Summary-screen_5F00_thumb.jpg" alt="17 DBWizard Summary screen" border="0" title="17 DBWizard Summary screen" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If everything went according to plan, you will get a message box indicating that the &amp;ldquo;Database created successfully&amp;rdquo; and click OK.&lt;/p&gt;
&lt;h4&gt;Step 4.2 - How to use the DBCreateWizard tool to install the OperationsManagerDW database&lt;/h4&gt;
&lt;p&gt;&lt;b&gt;Note&lt;/b&gt; You must run the DBCreateWizard tool on the server that is running SQL Server 2008 R2. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the &lt;var&gt;&amp;lt;InstallationMedia&amp;gt;&lt;/var&gt;\SupportTools\AMD64 folder &lt;br /&gt;&lt;b&gt;Note &lt;/b&gt;&lt;var&gt;&amp;lt;InstallationMedia&amp;gt;&lt;/var&gt; represents installation media of System Center Operations Manager 2007 R2. &lt;/li&gt;
&lt;li&gt;Double-click the DBCreateWizard.exe file to start the Database Configuration Wizard. &lt;br /&gt;&lt;b&gt;Note &lt;/b&gt;You may receive an error message when you start the wizard. &lt;br /&gt;For more information, click the following article number to view the article in the Microsoft Knowledge Base:
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/938997/"&gt;938997&lt;/a&gt; (http://support.microsoft.com/kb/938997/ ) Operations Manager 2007 Support Tools requirements &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Welcome &lt;/strong&gt;page, click &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Database Information &lt;/strong&gt;page, perform the following operations: 
&lt;ul&gt;
&lt;li&gt;Under &lt;strong&gt;Database Type&lt;/strong&gt;, select &lt;strong&gt;Operations Manager Data Warehouse Database&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Full Database Instance Name&lt;/strong&gt;, select the instance of SQL Server where you want the database to be installed. &lt;br /&gt;&lt;b&gt;Note &lt;/b&gt;An instance of SQL Server has the name of &lt;var&gt;&amp;lt;ServerName&amp;gt;&lt;/var&gt;\&lt;var&gt;&amp;lt;InstanceName&amp;gt;&lt;/var&gt;. The default instance has the name of &lt;var&gt;&amp;lt;ServerName&amp;gt;&lt;/var&gt;. &lt;/li&gt;
&lt;li&gt;Leave the &lt;strong&gt;Create New Database &lt;/strong&gt;option selected. &lt;/li&gt;
&lt;li&gt;Leave the &lt;strong&gt;SQL Port &lt;/strong&gt;box blank. &lt;br /&gt;&lt;b&gt;Note &lt;/b&gt;If you do not provide a port, the Database Configuration Wizard uses the port 1433 to connect to SQL Server. However, if the instance of SQL Server that you specify uses a port other than 1433 for connection, you must specify the port in the &lt;strong&gt;SQL Port &lt;/strong&gt;box. &lt;/li&gt;
&lt;li&gt;By default, the database name is OperationsManagerDW under &lt;strong&gt;Database Name&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;By default, the database size is 500 megabyte (MB) under &lt;strong&gt;Database Size&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Summary &lt;/strong&gt;page, review the configuration summary, and then click &lt;strong&gt;Finish&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Step 4.3 &amp;ndash; Now it&amp;rsquo;s time to install SCOM 2007 R2&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0243.11-_2D00_-SCOM-Install_5F00_7.jpg"&gt;&lt;img height="490" width="625" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2605.11-_2D00_-SCOM-Install_5F00_thumb_5F00_2.jpg" alt="11 - SCOM Install" border="0" title="11 - SCOM Install" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click on the Hyperlink to &amp;ldquo;Install Operations manager 2007 R2&amp;rdquo;. Then, click Next on the welcome page.&lt;/li&gt;
&lt;li&gt;Accept the license terms and click Next.&lt;/li&gt;
&lt;li&gt;Type in a User Name and Organization and click Next.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Now comes the tricky part because we don&amp;rsquo;t want to install the Database components at this time as per the article &amp;ldquo;&lt;a target="_blank" href="http://support.microsoft.com/kb/2425714"&gt;Support for System Center Operations Manager 2007 R2 that runs on a SQL Server 2008 R2 database&lt;/a&gt;&amp;rdquo;. This article neglects to tell you how not to install the Database components. Starting from the figure below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8562.12-_2D00_-SCOM-Components-start_5F00_6.jpg"&gt;&lt;img height="550" width="720" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7433.12-_2D00_-SCOM-Components-start_5F00_thumb_5F00_2.jpg" alt="12 - SCOM Components start" border="0" title="12 - SCOM Components start" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click on the icon drop down control next to the word Database as highlighted above.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2234.13-_2D00_-SCOM-Components-Dont-install-database_5F00_4.jpg"&gt;&lt;img height="563" width="762" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5355.13-_2D00_-SCOM-Components-Dont-install-database_5F00_thumb_5F00_1.jpg" alt="13 - SCOM Components Dont install database" border="0" title="13 - SCOM Components Dont install database" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Choose the command &amp;ldquo;This component will not be available.&amp;rdquo;. Once you&amp;rsquo;ve selected the command, the dialog should look like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0576.14-_2D00_-SCOM-DB-deselected_5F00_6.jpg"&gt;&lt;img height="563" width="737" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2727.14-_2D00_-SCOM-DB-deselected_5F00_thumb_5F00_2.jpg" alt="14 - SCOM DB deselected" border="0" title="14 - SCOM DB deselected" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Enter in the name of your SQL Server into the dialog below and click Next. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3223.20-Enter-in-name-of-SC-DB-Instance_5F00_2.jpg"&gt;&lt;img height="563" width="745" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0181.20-Enter-in-name-of-SC-DB-Instance_5F00_thumb.jpg" alt="20 Enter in name of SC DB Instance" border="0" title="20 Enter in name of SC DB Instance" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Enter in your Domain account name in the dialog below and press Next &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8816.21-_2D00_-Enter-Domain-name_5F00_2.jpg"&gt;&lt;img height="569" width="753" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6443.21-_2D00_-Enter-Domain-name_5F00_thumb.jpg" alt="21 - Enter Domain name" border="0" title="21 - Enter Domain name" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Enter in your domain name again for the SDK and Config Service Account and click Next. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2577.22-_2D00_-Enter-Domain-name-SDK-and-Config-Account_5F00_2.jpg"&gt;&lt;img height="578" width="765" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3730.22-_2D00_-Enter-Domain-name-SDK-and-Config-Account_5F00_thumb.jpg" alt="22 - Enter Domain name SDK and Config Account" border="0" title="22 - Enter Domain name SDK and Config Account" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;For the Web Console Authentication Configuration, choose the first option &amp;ldquo;Use Windows Authentication (Recommended)&amp;rdquo; and click Next.&lt;/li&gt;
&lt;li&gt;For the Customer Experience Improvement Program, chose the first option &amp;ldquo;Join the Customer Experience Improvement Program (Recommended). By doing this, we can see how you are using the product to determine if we are firing too many false alerts, or that you are not using certain reports, etc. This will help the product teams make rational decisions on feature enhancements based on your input. Click Next to continue. Then, click Install.&lt;/li&gt;

&lt;/ul&gt;&lt;p&gt;If life is treating you fairly, the installation should complete and display the following dialog.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2577.23-_2D00_-Backup-the-Encription-Key_5F00_2.jpg"&gt;&lt;img height="584" width="773" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3730.23-_2D00_-Backup-the-Encription-Key_5F00_thumb.jpg" alt="23 - Backup the Encription Key" border="0" title="23 - Backup the Encription Key" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You don&amp;rsquo;t want to Start the Console quite yet, but you do want to backup the Encryption Key when you Finish the wizard. just follow the steps for backing up the key to a box off-site from the original machine.&amp;nbsp; The instructions in the wizard are straightforward.&lt;/p&gt;
&lt;h4&gt;Step 4.3 - How to install System Center Operations Manager 2007 R2 Reporting&lt;/h4&gt;
&lt;p&gt;&lt;b&gt;Note&lt;/b&gt; You must follow these steps on the SQL Server Reporting Services server. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open Computer Management. &lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Computer Management &lt;/strong&gt;MMC snap-in, expand &lt;strong&gt;System Tools&lt;/strong&gt;, expand &lt;strong&gt;Local Users and Groups&lt;/strong&gt;, and then click &lt;strong&gt;Groups&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;Locate the following group: &lt;br /&gt;SQLServerReportServerUser$&lt;var&gt;&amp;lt;hostname&amp;gt;&lt;/var&gt;$MSRS10_50.&lt;var&gt;&amp;lt;SQLInstanceName&amp;gt;&lt;/var&gt;&lt;/li&gt;
&lt;li&gt;Rename the group to the following by removing "_50" from the group name: &lt;br /&gt;SQLServerReportServerUser$&lt;var&gt;&amp;lt;hostname&amp;gt;&lt;/var&gt;$MSRS10.&lt;var&gt;&amp;lt;SQLInstanceName&amp;gt; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7851.18-Altering-RS-Group-Name_5F00_2.jpg"&gt;&lt;img height="385" width="719" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5488.18-Altering-RS-Group-Name_5F00_thumb.jpg" alt="18 Altering RS Group Name" border="0" title="18 Altering RS Group Name" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/var&gt;&lt;/li&gt;
&lt;li&gt;Install System Center Operations Manager 2007 R2 Reporting. &lt;br /&gt;For more information, see the following Microsoft TechNet Website: &lt;a href="http://technet.microsoft.com/en-us/library/bb432143.aspx"&gt;http://technet.microsoft.com/en-us/library/bb432143.aspx&lt;/a&gt;
&lt;p&gt;&lt;b&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1588.24-_2D00_-Install-Reporting_5F00_2.jpg"&gt;&lt;img height="536" width="683" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2577.24-_2D00_-Install-Reporting_5F00_thumb.jpg" alt="24 - Install Reporting" border="0" title="24 - Install Reporting" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Important &lt;/b&gt;When you install System Center Operations Manager 2007 R2 Reporting, you should not install the Data Warehouse component. See below image for not installing the DW component. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6864.19-_2D00_-Don_2700_t-install-DW_5F00_2.jpg"&gt;&lt;img height="517" width="700" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2577.19-_2D00_-Don_2700_t-install-DW_5F00_thumb.jpg" alt="19 - Don't install DW" border="0" title="19 - Don't install DW" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;The installation process is very similar to installing the main SCOM 2007 tools, so I&amp;rsquo;ll skip the dialogs. Again, when you get to the &amp;ldquo;Operational Data Reports&amp;rdquo; wizard page, please select Yes, send operational data reports to Microsoft.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;After you install System Center Operations Manager 2007 R2 Reporting, rename SQLServerReportServerUser$&lt;var&gt;&amp;lt;hostname&amp;gt;&lt;/var&gt;$MSSRS10.&lt;var&gt;&amp;lt;SQLInstanceName&amp;gt;&lt;/var&gt; back to original name SQLServerReportServerUser$&lt;var&gt;&amp;lt;hostname&amp;gt;&lt;/var&gt;$MSSRS10_50.&lt;var&gt;&amp;lt;SQLInstanceName&amp;gt; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5314.25-Change-back-the-RS-group-name_5F00_2.jpg"&gt;&lt;img height="391" width="730" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1513.25-Change-back-the-RS-group-name_5F00_thumb.jpg" alt="25 Change back the RS group name" border="0" title="25 Change back the RS group name" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt;&lt;/var&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Supported configurations for System Center Operations Manager 2007 R2 &lt;br /&gt;For more information about supported configurations for Operations Manager 2007 R2 that runs on a SQL Server 2008 R2 database, visit the following Microsoft Website: &lt;a href="http://technet.microsoft.com/en-us/library/bb309428.aspx"&gt;http://technet.microsoft.com/en-us/library/bb309428.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can now Exit the SCOM 2007 R2 installation program&lt;/p&gt;
&lt;h3&gt;Step 5 &amp;ndash; Install the SQL Server Monitoring Management Pack&lt;/h3&gt;
&lt;p&gt;Go to the download center for the free SQL Server MP at &lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en" title="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go ahead and download the SQLServerMPGuide.doc file for detailed information regarding the MP.&lt;/li&gt;
&lt;li&gt;Click Download for the SQLServerMP.msi file and then run it in place &amp;ndash; or save it to your Downloads folder and then run the MSI.&lt;/li&gt;
&lt;li&gt;For the installation folder, leave it to the default location under the Program Files (x86) folder structure. Also, select to Install the MP for Everyone.&lt;/li&gt;
&lt;li&gt;Click Install to download the files.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The files are simply downloaded to the install location, you now need to import the MP files into the SCOM Operations Console.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Start menu, locate the Operations Console, and click on the command. If all the stars aligned, you should see a screen that looks like this for Monitoring when you select Windows Computers in the Monitoring tree. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2570.30-SCOM-Console-with-Windows-Computers-selected_5F00_2.jpg"&gt;&lt;img height="567" width="843" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7776.30-SCOM-Console-with-Windows-Computers-selected_5F00_thumb.jpg" alt="30 SCOM Console with Windows Computers selected" border="0" title="30 SCOM Console with Windows Computers selected" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Now, select the Administration workspace item and then highlight the Management Packs node in the tree as shown below: &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6708.31-Ready-to-Import-SQL-MP_5F00_2.jpg"&gt;&lt;img height="574" width="853" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7360.31-Ready-to-Import-SQL-MP_5F00_thumb.jpg" alt="31 Ready to Import SQL MP" border="0" title="31 Ready to Import SQL MP" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Now choose the Import Management Packs&amp;hellip; command as shown above.&amp;nbsp; In the Select Management Packs dialog, click on the + Add button and choose Add from disk &amp;hellip; as shown below. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8468.32-Add-MP-from-Disk_5F00_2.jpg"&gt;&lt;img height="692" width="772" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3107.32-Add-MP-from-Disk_5F00_thumb.jpg" alt="32 Add MP from Disk" border="0" title="32 Add MP from Disk" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Go ahead and click Yes to search the web for dependencies, but they are all in download location C:\Program Files (x86)\System Center Management Packs\SQLServerMP. press Ctrl+A to select all files in the dialog and click Open. Then, click the Install button.&lt;/li&gt;
&lt;li&gt;You will see two Discovery and Monitoring packs for SQL 2005 and SQL 2008. SQL Server 2008 covers both 2008 and 2008 R2 release.&lt;/li&gt;
&lt;li&gt;Once the import is complete, press the Close command.&lt;/li&gt;
&lt;li&gt;Now click back to the Monitoring workspace and then expand the Microsoft SQL Server node and select Computers as shown below. You might have to click inside the detail area and press F5 to see your SCOM SQL instance. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2502.34-SQL-Instance-in-SCOM-conside_5F00_2.jpg"&gt;&lt;img height="527" width="784" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5228.34-SQL-Instance-in-SCOM-conside_5F00_thumb.jpg" alt="34 SQL Instance in SCOM conside" border="0" title="34 SQL Instance in SCOM conside" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;To Add and new instance to monitor, select the Administration tab and click Discover Wizard&amp;hellip; hyperlink as shown below. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8865.33-Discovery-Wizard_5F00_2.jpg"&gt;&lt;img height="533" width="793" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1856.33-Discovery-Wizard_5F00_thumb.jpg" alt="33 Discovery Wizard" border="0" title="33 Discovery Wizard" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Select the Windows computers option and click Next.&lt;/li&gt;
&lt;li&gt;Choose the Advanced discovery option and det the Computer and Device Classes to Servers only and click Next..&lt;/li&gt;
&lt;li&gt;Choose the Browse for option for the Discovery Method and type in the computer name you want to add in the dialog area.&amp;nbsp; You can also browse for computers.&lt;/li&gt;
&lt;li&gt;Use your admin Windows account for the Administration Account and click Discover.&lt;/li&gt;
&lt;li&gt;Check the FQDN for the SQL machine that you want to discover and click Next.&lt;/li&gt;
&lt;li&gt;Chose the Other action for the Agent Action Account and type in your Windows credentials, then click Finish. This will display the Agent Management Task Status. Wait for this to finish.&amp;nbsp; You should see a dialog like this completing the addition of the new box. SCOM will attempt to enumerate all of the SQL Server instances on the box. Then click Close. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7801.35-Discovery-complete_5F00_2.jpg"&gt;&lt;img height="546" width="521" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7206.35-Discovery-complete_5F00_thumb.jpg" alt="35 Discovery complete" border="0" title="35 Discovery complete" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;If you go have to Monitoring and click on Windows Computers, you should now wee two box names. When you go to SQL Computers, you should see two instances as well.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;&lt;/h2&gt;
&lt;h2&gt;Software Evaluation Download Sites&lt;/h2&gt;
&lt;p&gt;Are the &amp;ldquo;go to&amp;rdquo; links to download evaluation copies of the software described&amp;nbsp; in this blog post.&lt;/p&gt;
&lt;h4&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Windows Server 2008 R2&lt;/strong&gt;&amp;nbsp; (64-bit only) &amp;ndash; 180 Day Trial - &lt;a href="http://technet.microsoft.com/en-us/evalcenter/dd459137.aspx" title="http://technet.microsoft.com/en-us/evalcenter/dd459137.aspx"&gt;http://technet.microsoft.com/en-us/evalcenter/dd459137.aspx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SQL Server 2008 R2&lt;/strong&gt; &amp;ndash; 180 Day Trial - &lt;a href="http://technet.microsoft.com/en-us/evalcenter/ee315247.aspx" title="http://technet.microsoft.com/en-us/evalcenter/ee315247.aspx"&gt;http://technet.microsoft.com/en-us/evalcenter/ee315247.aspx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;System Center Operations Manager 2007&lt;/strong&gt; &lt;strong&gt;R2&lt;/strong&gt; &amp;ndash; 180 Day Trial - &lt;a href="http://www.microsoft.com/systemcenter/en/us/operations-manager/om-try-it.aspx#downloads" title="http://www.microsoft.com/systemcenter/en/us/operations-manager/om-try-it.aspx#downloads"&gt;http://www.microsoft.com/systemcenter/en/us/operations-manager/om-try-it.aspx#downloads&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;SQL Server Monitoring Management Pack &amp;ndash; Free - &lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en" title="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363&amp;amp;displaylang=en&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Microsoft Office Professional 2010&lt;/strong&gt; &amp;ndash; 60 Day Trial - &lt;a href="http://technet.microsoft.com/en-us/evalcenter/ee390818.aspx" title="http://technet.microsoft.com/en-us/evalcenter/ee390818.aspx"&gt;http://technet.microsoft.com/en-us/evalcenter/ee390818.aspx&lt;/a&gt;. You&amp;rsquo;ll need this if you want to author your own management pack. &lt;/li&gt;
&lt;li&gt;ASP.NET Ajax Extensions 1.0 &amp;ndash; Free - &lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&amp;amp;displaylang=en" title="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&amp;amp;displaylang=en&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;/h2&gt;
&lt;h2&gt;Looking Forward to SQL PASS&lt;/h2&gt;
&lt;p&gt;As I continue to prepare for my SQL PASS session on the new SCOM MP for SQL Server, I&amp;rsquo;ll continue blogging &amp;ndash; especially examples with using the new SQL Server 2008 R2 Monitoring MP.&amp;nbsp; I will also cover how the data collection with SCOM 2007 R2 can be used in conjunction with the SQL Server 2008 Data Collector and Management Data Warehouse and the SQL Server 2008 R2 manageability tools.&lt;/p&gt;
&lt;p&gt;Please feel free to add a comment to the blog post and don&amp;rsquo;t forget to rate it!&lt;/p&gt;
&lt;div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:3f346a7f-18e2-444d-b2aa-cbc228e4b6a7" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px"&gt;Technorati Tags: &lt;a rel="tag" href="http://technorati.com/tags/SCOM+2007+R2"&gt;SCOM 2007 R2&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Seerver+2008+R2"&gt;SQL Seerver 2008 R2&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+MP"&gt;SQL MP&lt;/a&gt;&lt;/div&gt;
&lt;div class="wlWriterHeaderFooter" style="margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;br /&gt;&lt;br /&gt;
&lt;script type="text/javascript"&gt;&lt;!--
 tweetmeme_source = 'billramo'; tweetmeme_hashtags = '#sql,#ssms';
// --&gt;&lt;/!--
&gt;&lt;/script&gt;
&lt;script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10070990" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SCOM+2007/">SCOM 2007</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+Server+MP/">SQL Server MP</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+PASS/">SQL PASS</category></item><item><title>Server Activity History Report–MDW Report Series Part 4</title><link>http://blogs.msdn.com/b/billramo/archive/2010/06/28/server-activity-history-report-mdw-report-series-part-4.aspx</link><pubDate>Mon, 28 Jun 2010 15:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10031594</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10031594</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/06/28/server-activity-history-report-mdw-report-series-part-4.aspx#comments</comments><description>&lt;p&gt;By Bill Ramos, Program Manager, SQL Server Manageability Team&lt;/p&gt;
&lt;p&gt;In &lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/06/21/server-activity-history-report-mdw-report-series-part-3.aspx"&gt;part 3 of the report series&lt;/a&gt;, I showed how to get CPU data from the MDW and display it as a thumbnail chart in the Server Activity History report. In part 4, I&amp;rsquo;ll show how to extract data from the MDW for the Disk I/O Usage, Network Usage, and Memory Usage thumbnail charts rounding out the top of the report as sown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4452.Server-Activity-at-end-of-part-4_5F00_4.png"&gt;&lt;img height="369" width="728" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4265.Server-Activity-at-end-of-part-4_5F00_thumb_5F00_1.png" alt="Server Activity at end of part 4" border="0" title="Server Activity at end of part 4" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For the DBA new to Reporting Services, I&amp;rsquo;ll also show how to make sure that the color for System and SQL Server series is the same across the thumbnail charts &amp;ndash; something that the shipping reports don&amp;rsquo;t do. &lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5758.wlEmoticon_2D00_smile_5F00_2.png" alt="Smile" class="wlEmoticon wlEmoticon-smile" style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" /&gt; I&amp;rsquo;ll also point out some other tricks like changing the thickness of the lines in the charts &amp;ndash; seemed like it should be simple &amp;ndash; but took me an hour to figure that one out. &lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5342.wlEmoticon_2D00_surprisedsmile_5F00_2.png" alt="Surprised smile" class="wlEmoticon wlEmoticon-surprisedsmile" style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" /&gt;&lt;/p&gt;
&lt;h1&gt;Disk I/O Usage Thumbnail&lt;/h1&gt;
&lt;p&gt;The Disk I/O Usage chart gets its data from the Process performance counter object and has four conversion records in the core.performance_counter_report_group_items table that I described in part 3. The System series reports the _Total for the sum of the IO Read Bytes/sec and IO Write Bytes/sec performance counters. The SQL Server series reports the sum of the same two counters for the specific instances. You can use the following query to see what counters are used.&lt;/p&gt;
&lt;pre style="background-color: #fbfbfb; min-height: 40px; width: 650px; overflow: auto; border: #cecece 1px solid; padding: 5px;"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=USE&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;USE&lt;/a&gt; sysutility_mdw  -- Use your MDW name here
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=GO&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;GO&lt;/a&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=SELECT&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;SELECT&lt;/a&gt;  counter_subgroup_id, series_name, object_name, object_name_wildcards, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;        counter_name, instance_name, multiply_by
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=FROM&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;FROM&lt;/a&gt;    core.performance_counter_report_group_items
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=WHERE&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;WHERE&lt;/a&gt;   (counter_subgroup_id = N'&lt;span style="color: #8b0000"&gt;IOUsage&lt;/span&gt;');
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;p&gt;When you run the query, you&amp;rsquo;ll notice that the multiply value is 0.0000009537. This value is used to convert bytes/sec to MB/sec ( = bytes / 1024 / 1024).&lt;/p&gt;
&lt;p&gt;From a reporting standpoint, we can reuse the Perfmon Dataset used for the CPU chart by just changing the filter expression for the chart. &lt;/p&gt;
&lt;h3&gt;Tweaking the CPU Chart Before Copy/Paste&lt;/h3&gt;
&lt;p&gt;The easiest way to get going with the Disk I/O Usage chart is to copy the CPU chart and paste it back into the report. Before doing the copy/paste action, there are two little changes you&amp;rsquo;ll want to make.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Getting the series colors to be consistent for the charts.&lt;/strong&gt; Reporting Services uses color palettes to determine which color to display for the discrete series values in the chart. For the this report, I&amp;rsquo;m using the BrightPastel palette. You can also create custom palettes by following the MSDN topic: &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/cc281182.aspx"&gt;How to: Define Colors on a Chart Using a Palette&lt;/a&gt;. The trick is knowing that the Reporting Services uses the first color in the palette for the first series, the second color for the second series, and so on, based on the order of the series values in the group. If we jump ahead to the Network Usage chart, you&amp;rsquo;ll see that there is only one series group value = &amp;ldquo;System&amp;rdquo;. The other charts have both &amp;ldquo;System&amp;rdquo; and &amp;ldquo;SQL Server&amp;rdquo;. By default, the chart displays the series groups in ascending order. This means, you would normally see &amp;ldquo;SQL Server&amp;rdquo; before &amp;ldquo;System&amp;rdquo;. What ends up happening is, Network chart, &amp;ldquo;System&amp;rdquo; shows up as Blue, but since it&amp;rsquo;s the second value in the other charts, it shows up as Gold. To correct this problem, do the following: 
&lt;ul&gt;
&lt;li&gt;Click the CPU chart to display the Chart Data on the lines in the CPU chart that represents the series. &lt;/li&gt;
&lt;li&gt;Choose the Series Properties command as shown below &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2625.Series-Group-Properties_5F00_2.png"&gt;&lt;img height="493" width="495" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2318.Series-Group-Properties_5F00_thumb.png" alt="Series Group Properties" border="0" title="Series Group Properties" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;
&lt;ul&gt;
&lt;li&gt;Go to the Sorting page and click Add. &lt;/li&gt;
&lt;li&gt;Use the Sort by value of [series_name] and the order of Z to A. &lt;/li&gt;
&lt;li&gt;Click OK. The thumbnail charts will now show System before SQL Server giving a consistent color for the series groups. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Making the series lines thicker.&lt;/strong&gt; In a future posting, we are going to add an Action to the series lines to drill into detail reports. to make it easier to click on the line, you&amp;rsquo;ll want to make the line thicker. To save you the agony of guessing what property value to set, just follow these instructions. 
&lt;ul&gt;
&lt;li&gt;Right-click on one of the lines in the series graph &amp;ndash; inside of the chart area &amp;ndash; and choose the Series Properties command. &lt;/li&gt;
&lt;li&gt;Go to the &lt;strong&gt;Border&lt;/strong&gt; page. &lt;/li&gt;
&lt;li&gt;Change the Lined width from 1pt to 2pt. &lt;/li&gt;
&lt;li&gt;Click OK. The lines inside of the chart should now be thicker. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Creating the Disk IO Usage Chart&lt;/h3&gt;
&lt;p&gt;Just select the CPU chart so that the entire outline of the chart is selected and issue the paste command. Then move to chart along side of the CPU chart.&amp;nbsp; Follow these steps to modify the CPU chart to use the IOUsage data.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Chart Properties&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on the new chart and choose the Chart Properties command. &lt;/li&gt;
&lt;li&gt;On the General page, change the name of the chart to DiskIOChart. &lt;/li&gt;
&lt;li&gt;On the Filters page, change the filter Value from &lt;strong&gt;&lt;span style="font-size: x-small;"&gt;cpuUsage &lt;/span&gt;&lt;/strong&gt;to &lt;strong&gt;&lt;span style="font-size: x-small;"&gt;IOUsage&lt;/span&gt;&lt;/strong&gt; and click OK. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Chart Data Values&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click in the chart data region to display the Chart Data control &lt;/li&gt;
&lt;li&gt;Change the aggregate function for [avg_formatted_value] from Avg to Sum as shown below. This is so that the you report the sum of IO Read Bytes/sec and IO Write Bytes/sec performance counters for the interval period. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3782.Chart-Data-Aggregate-value-sum_5F00_2.png"&gt;&lt;img height="433" width="690" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4265.Chart-Data-Aggregate-value-sum_5F00_thumb.png" alt="Chart Data Aggregate value sum" border="0" title="Chart Data Aggregate value sum" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Vertical Axis Properties&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The chart needs to show MB/sec so the maximum range for values is no longer 100. To change this axis values, do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right-click on the vertical axis numbers and choose the Vertical Axis Properties command. &lt;/li&gt;
&lt;li&gt;On the Axis Options page, change the Maximum value from 100 to be blank. This allows the chart to automatically scale based on the maximum value for the time window. &lt;/li&gt;
&lt;li&gt;Click OK. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Label Text Changes&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Change &amp;ldquo;%CPU&amp;rdquo; in the title to &amp;ldquo;Disk I/O Usage&amp;rdquo; &lt;/li&gt;
&lt;li&gt;Change &amp;ldquo;%CPU&amp;rdquo; on the vertical axis to &amp;ldquo;MB/sec&amp;rdquo; &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;At this point, you can now Run the report to check out your work.&lt;/p&gt;
&lt;h1&gt;Network Usage Thumbnail&lt;/h1&gt;
&lt;p&gt;The Network Usage chart is almost like Disk IO. It uses just one counter ( Bytes Total/sec) from the Network Interface counter object. to create the chart, do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Copy the Disk I/O Usage chart and paste it into the report. Move it just to the right of the existing Disk I/O chart. &lt;/li&gt;
&lt;li&gt;Right click on the chart and choose the Chart Properties command. &lt;/li&gt;
&lt;li&gt;On the General page, change the Name of the chart to NetworkUsageChart. &lt;/li&gt;
&lt;li&gt;On the Filters page, change the filter value from &lt;strong&gt;&lt;span style="font-size: x-small;"&gt;IOUsage&lt;/span&gt;&lt;/strong&gt; to &lt;strong&gt;&lt;span style="font-size: x-small;"&gt;networkUsage&lt;/span&gt;&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;Click on the chart area to display the Chart Data control. &lt;/li&gt;
&lt;li&gt;In the Sum Values section, click on the little down arrow for the [sum[avg_formatted_values]] expression (the second one down) and select the Expression command.&amp;nbsp; For the Y Value expression text, enter the following: &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;pre class="csharpcode"&gt;=Avg(Fields!avg_formatted_value.Value) / 1024 / 1024&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The reason for using the expression is that the record for for networkUsage in the core.performance_counter_report_group_items table has a multiply factor of 1.0 (a compensated bug) &lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5758.wlEmoticon_2D00_smile_5F00_2.png" alt="Smile" class="wlEmoticon wlEmoticon-smile" style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" /&gt;. We originally tested on slow network cards and didn&amp;rsquo;t realize we needed to report on a scale of MB/sec. Rather than fix the table, the &amp;ldquo;unnamed&amp;rdquo; developer put the conversion of bytes to MB in the chart value expression. We have to live with this for now. &lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5344.wlEmoticon_2D00_sadsmile_5F00_2.png" alt="Sad smile" class="wlEmoticon wlEmoticon-sadsmile" style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" /&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Change the chart title from &amp;ldquo;Disk I/O Usage&amp;rdquo; to Network Usage&amp;rdquo;. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;At this point, the Network Usage chart is ready to go.&lt;/p&gt;
&lt;p&gt;As you can see, reporting against performance counters is really simply with the help of the Perfmon dataset that uses the&amp;nbsp; snapshots.rpt_generic_perfmon stored procedure in the MDW. The magic having the corresponding records in the core.performance_counter_report_group_items table.&lt;/p&gt;
&lt;h1&gt;Memory Usage Thumbnail&lt;/h1&gt;
&lt;p&gt;Data for the memory usage for the System and SQL Server is stored in the snapshots.sql_process_and_system_memory table.&amp;nbsp; This data is collected every minute by the Server Activity collection set from the sys.dm_os_process_memory, sys.dm_os_sys_memory and sys,dm_sys_info DMVs using the following query:&lt;/p&gt;
&lt;pre style="background-color: #fbfbfb; min-height: 40px; width: 521px; height: 215px; overflow: auto; border: #cecece 1px solid; padding: 5px;"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=SET&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;SET&lt;/a&gt; NOCOUNT &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=ON&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;ON&lt;/a&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=SELECT&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;SELECT&lt;/a&gt; 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.physical_memory_in_use_kb            &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_physical_memory_in_use_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.large_page_allocations_kb            &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_large_page_allocations_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.locked_page_allocations_kb           &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_locked_page_allocations_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.total_virtual_address_space_kb       &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_total_virtual_address_space_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.virtual_address_space_reserved_kb    &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_virtual_address_space_reserved_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.virtual_address_space_committed_kb   &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_virtual_address_space_committed_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.virtual_address_space_available_kb   &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_virtual_address_space_available_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.page_fault_count                     &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_page_fault_count, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.memory_utilization_percentage        &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_memory_utilization_percentage, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.available_commit_limit_kb            &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_available_commit_limit_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.process_physical_memory_low          &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_process_physical_memory_low, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    pm.process_virtual_memory_low           &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sql_process_virtual_memory_low, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.total_physical_memory_kb             &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_total_physical_memory_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.available_physical_memory_kb         &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_available_physical_memory_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.total_page_file_kb                   &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_total_page_file_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.available_page_file_kb               &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_available_page_file_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.system_cache_kb                      &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_cache_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.kernel_paged_pool_kb                 &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_kernel_paged_pool_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.kernel_nonpaged_pool_kb              &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_kernel_nonpaged_pool_kb, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.system_high_memory_signal_state      &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_high_memory_signal_state, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    sm.system_low_memory_signal_state       &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; system_low_memory_signal_state, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    si.bpool_commit_target                  &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; bpool_commit_target, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    si.bpool_committed                      &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; bpool_committed, 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;    si.bpool_visible                        &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; bpool_visible
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=FROM&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;FROM&lt;/a&gt; sys.dm_os_process_memory &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; pm
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=CROSS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;CROSS&lt;/a&gt; &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=JOIN&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;JOIN&lt;/a&gt; sys.dm_os_sys_memory &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; sm   &lt;span style="color: #008000"&gt;-- single-row DMV&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=CROSS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;CROSS&lt;/a&gt; &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=JOIN&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;JOIN&lt;/a&gt; sys.dm_os_sys_info &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AS&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AS&lt;/a&gt; si;    &lt;span style="color: #008000"&gt;-- single-row DMV&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;p&gt;To prepare this data for the reports, you can use the snapshots.rpt_sql_process_and_system_memory stored procedure to get the data just like you would for the performance counters.&lt;/p&gt;
&lt;p&gt;This stored procedure only takes three parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ServerName &lt;/li&gt;
&lt;li&gt;EndTime &lt;/li&gt;
&lt;li&gt;WindowSize &lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Create the SqlProcessAndSystemMemory Dataset&lt;/h3&gt;
&lt;p&gt;To create the dataset that calls the snapshots.rpt_sql_process_and_system_memory stored procedure, do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on the Datasets node in the Report Data control and select the Add Dataset command. &lt;/li&gt;
&lt;li&gt;Change the Name field to SqlProcessAndSystemMemory. &lt;/li&gt;
&lt;li&gt;Select the &amp;ldquo;Uue a dataset embedded in my report&amp;rdquo; option. &lt;/li&gt;
&lt;li&gt;Select the MDW Data source. &lt;/li&gt;
&lt;li&gt;Choose the Stored Procedure option for Query type. &lt;/li&gt;
&lt;li&gt;Choose the snapshots.rpt_sql_process_and_system_memory for the stored procedure name. &lt;/li&gt;
&lt;li&gt;Click OK for the Dataset Properties. &lt;/li&gt;
&lt;li&gt;Click OK again for the Define Query Parameters dialog.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You now have a dataset ready for the Memory Usage thumbnail chart. You&amp;rsquo;ll notice that there are 45 fields returned in the dataset &amp;ndash; we will only need four fields.&lt;/p&gt;
&lt;h3&gt;Creating the Memory Usage Chart&lt;/h3&gt;
&lt;p&gt;This chart is a bit different from the other charts &amp;ndash; there is no series group. Instead, it uses two values.&amp;nbsp; Here is what you can do to create the chart:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Copy the Network Usage chart to the clip board and paste it back into the report. Move it just to the right of the Network Usage chart. &lt;/li&gt;
&lt;li&gt;Right click on the chart and select the Chart Properties command. &lt;/li&gt;
&lt;li&gt;In the General page, change the name of the chart to MemoryUsageChart. Change the Dataset name to SqlProcessAndSystemMemory. &lt;/li&gt;
&lt;li&gt;In the Filters page, click inside of the filter expression and then choose the Delete command. This chart doesn&amp;rsquo;t use a filter. &lt;/li&gt;
&lt;li&gt;Click OK for the Chart Properties. &lt;/li&gt;
&lt;li&gt;In the Chart Data control for the new chart, right click on the [series_name] group within the Series Group section and choose the Delete Series Group command. &lt;/li&gt;
&lt;li&gt;In the Chart Data control, right click on the avg_formatted_value field in the Sum Values group and choose the Delete Series command.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;At this point, you should only have the [interval_end_time] field in the Category Group section for Chart Data.&lt;/p&gt;
&lt;h3&gt;Adding the Series Values&lt;/h3&gt;
&lt;p&gt;To add the two series value expressions, you need to click on the Plus icon on the caption line as shown below and select the Expression command.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8156.Adding-Series-Data-for-Memory-Usage_5F00_2.png"&gt;&lt;img height="353" width="620" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7002.Adding-Series-Data-for-Memory-Usage_5F00_thumb.png" alt="Adding Series Data for Memory Usage" border="0" title="Adding Series Data for Memory Usage" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enter in the following expression for System Memory. This expression computes the memory used by the system as the total physical memory minus the available physical memory averaged over the interval period and divides the result by 1024 to convert the value to MB.&lt;/p&gt;
&lt;pre class="csharpcode"&gt;=Avg(Fields!system_total_physical_memory_kb.Value-Fields!avg_system_available_physical_memory_kb.Value) / 1024&lt;/pre&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;pre class="csharpcode"&gt;&lt;/pre&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;p&gt;To complete the series definition, do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on the new series and select the Series Properties command. &lt;/li&gt;
&lt;li&gt;On the Legend page, change the Custom legend text to &lt;strong&gt;&lt;span style="font-size: x-small;"&gt;System&lt;/span&gt;&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;On the Border page, change the Line width value to 2pt. &lt;/li&gt;
&lt;li&gt;Click OK to for the Series Properties dialog.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Next, we will add the SQL Server Memory used value. This comes directly from the result field named avg_sql_physical_memory_in_use_kb.Value.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click on the Plus command for the Sum Values group like you did for the previous group and choose the Expression command. &lt;/li&gt;
&lt;li&gt;Enter in the following expression for the series value.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;pre class="csharpcode"&gt;=Avg(Fields!avg_sql_physical_memory_in_use_kb.Value) / 1024&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click OK for the Expression dialog. &lt;/li&gt;
&lt;li&gt;Right click on the second series and choose the Series Properties command. &lt;/li&gt;
&lt;li&gt;On the Legend page, change the Custom legend text to &lt;strong&gt;&lt;span style="font-size: x-small;"&gt;SQL Server&lt;/span&gt;&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;In the Border page, change the Line width value to 2pt. &lt;/li&gt;
&lt;li&gt;Click OK to for the Series Properties dialog.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let&amp;rsquo;s clean up the chart title by replacing Network Usage to Memory Usage. Then change the vertical axis label from MB/sec to just MB.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s it for this post. I&amp;rsquo;ve attached the latest version of Server_Activity_Part4.rdl to as a reference.&lt;/p&gt;
&lt;p&gt;In the next post, I&amp;rsquo;ll go over the SQL Server Waits stats chart, but with improvements to stabilize the colors and use an area chart instead of the stacked bars.&lt;/p&gt;
&lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:12c801a2-72be-4ab3-a263-f29f1a92ba12" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px"&gt;Technorati Tags: &lt;a rel="tag" href="http://technorati.com/tags/Data+Collector"&gt;Data Collector&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008"&gt;SQL Server 2008&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008+R2"&gt;SQL Server 2008 R2&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SSMS+Reports"&gt;SSMS Reports&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/MDW"&gt;MDW&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10031594" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-03-15-94/Server_5F00_Avtivity_5F00_Part4.zip" length="5886" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/b/billramo/archive/tags/MDW+Reports/">MDW Reports</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+PASS/">SQL PASS</category></item><item><title>Server Activity History Report–MDW Report Series Part 3</title><link>http://blogs.msdn.com/b/billramo/archive/2010/06/21/server-activity-history-report-mdw-report-series-part-3.aspx</link><pubDate>Mon, 21 Jun 2010 16:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10028014</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10028014</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/06/21/server-activity-history-report-mdw-report-series-part-3.aspx#comments</comments><description>&lt;p&gt;By Bill Ramos, Program Manager, SQL Server Manageability Team&lt;/p&gt;
&lt;p&gt;In &lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/06/19/mdw-overview-report-for-data-collector-server-activity-mdw-report-series-part-2.aspx"&gt;part 2&lt;/a&gt;, I added the hyperlink to the MDW Overview report to launch the Server Activity History report. In this post, I&amp;rsquo;ll show how to get the data and display the thumbnails in the report for %CPU. I&amp;rsquo;ll follow up post 4 to include Disk I/O Usage, and Network Usage.&amp;nbsp; I&amp;rsquo;ll go through how performance counters are stored in the MDW and one of the cool stored procedures in the MDW that gets the performance data and makes it chart ready. Finally, I&amp;rsquo;ll walkthrough how to create the CPU thumbnail chart.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4846.Server-Activity-Report-Example-for-Part-3_5F00_2.png"&gt;&lt;img height="393" width="680" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5736.Server-Activity-Report-Example-for-Part-3_5F00_thumb.png" alt="Server Activity Report Example for Part 3" border="0" title="Server Activity Report Example for Part 3" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Getting PerfMon Data from the MDW&lt;/h1&gt;
&lt;p&gt;The Server Activity collection set is responsible for gathering the Performance Counters needed. This collection set gathers various DMVs and Performance Counters every 60 seconds and uploads the data to the MDW every 15 minutes by default.&amp;nbsp; As shown below, you can view what counters the Server Activity collection set gathers by navigating to the Server Activity collection set under the Data Collection node in the Management folder in the Object Explorer and issue the Properties command.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4846.Server-Activity-Collection-Set_5F00_2.png"&gt;&lt;img height="523" width="627" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8407.Server-Activity-Collection-Set_5F00_thumb.png" alt="Server Activity Collection Set" border="0" title="Server Activity Collection Set" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The values for the performance counters are stored in the snapshots.performance_counter_values table. To save disk space, the counter name and object references are stored in the snapshots.performance_counter_instances table as a lookup. To get the values for an instance over the desired time period, you need to map the snapshot_id in the performance_counter_values table through the core.snapshots_internal and snapshot.source_info_internal tables.&amp;nbsp; See the schema diagram below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8081.perf-counter-schema_5F00_2.png"&gt;&lt;img height="356" width="630" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6013.perf-counter-schema_5F00_thumb.png" alt="perf counter schema" border="0" title="perf counter schema" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There is a complexity when reporting the percentage of CPU time for specific processes like SQL Server. Mainly, the value returned needs to be divided by the logical CPU count on the target instance. Needless to say, this is logic that you don&amp;rsquo;t what to include in the report definition.&lt;/p&gt;
&lt;h3&gt;Snapshots.rpt_generic_perfmon to the Rescue&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;d like to give &lt;a target="_blank" href="http://blogs.msdn.com/bartd/"&gt;Bart Duncan&lt;/a&gt; credit for coming up with idea of this stored procedure that gathers the performance counter values for the desired time period and returns a result set that makes it easy to to create charts against the data. This stored procedure is included as part of the shipping MDW and relies on the core.performance_report_group_items table for supplying the grouping information for charts used by the MDW. In a future post, I&amp;rsquo;ll show you how to report against performance counters that aren&amp;rsquo;t part of the Server Activity system collection, but that&amp;rsquo;s for another day.&lt;/p&gt;
&lt;p&gt;Inside of the core.performance_report_group_items table, there are three groups defined for the thumbnail charts. Here is a query you can use to see the grouping for the thumbnails.&lt;/p&gt;
&lt;pre style="background-color: #fbfbfb; min-height: 40px; width: 662px; height: 226px; overflow: auto; border: #cecece 1px solid; padding: 5px;"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=USE&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;USE&lt;/a&gt; mdw
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=GO&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;GO&lt;/a&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=SELECT&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;SELECT&lt;/a&gt; 
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;       [counter_group_id]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;      ,[counter_subgroup_id]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;      ,[series_name]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;      ,[object_name]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;      ,[counter_name]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;      ,[instance_name]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;      ,[multiply_by]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;      ,[divide_by_cpu_count]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=FROM&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;FROM&lt;/a&gt; [mdw].[core].[performance_counter_report_group_items]
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=WHERE&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;WHERE&lt;/a&gt; counter_group_id = '&lt;span style="color: #8b0000"&gt;ServerActivity&lt;/span&gt;' &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=AND&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;AND&lt;/a&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;      counter_subgroup_id &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=IN&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;IN&lt;/a&gt; ('&lt;span style="color: #8b0000"&gt;cpuUsage&lt;/span&gt;', '&lt;span style="color: #8b0000"&gt;IOUsage&lt;/span&gt;', '&lt;span style="color: #8b0000"&gt;networkUsage&lt;/span&gt;')
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=ORDER&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;ORDER&lt;/a&gt; &lt;a href="http://search.microsoft.com/default.asp?so=RECCNT&amp;amp;siteid=us%2Fdev&amp;amp;p=1&amp;amp;nq=NEW&amp;amp;qu=BY&amp;amp;IntlSearch=&amp;amp;boolean=PHRASE&amp;amp;ig=01&amp;amp;i=09&amp;amp;i=99" style="color: #0000ff"&gt;BY&lt;/a&gt; counter_subgroup_id, series_name&lt;/pre&gt;
&lt;/pre&gt;
&lt;p&gt;When you look at the results set, you&amp;rsquo;ll see a column called multiply_by. The value of 0.0000009537 is used to convert bytes to MB (1.0 / (1024 * 1024 ) ).&lt;/p&gt;
&lt;p&gt;The rpt_generic_perfmon stored procedure takes the following parameters.&lt;/p&gt;
&lt;table cellpadding="2" cellspacing="0" border="1" style="width: 600px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="188" valign="top"&gt;&lt;strong&gt;Parameter Definition&lt;/strong&gt;&lt;/td&gt;
&lt;td width="410" valign="top"&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="188" valign="top"&gt;
&lt;p&gt;@ServerName sysname&lt;/p&gt;
&lt;/td&gt;
&lt;td width="410" valign="top"&gt;Instance name that maps to value from the mdw_overview report.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="188" valign="top"&gt;
&lt;p&gt;@EndTime datetime&lt;/p&gt;
&lt;/td&gt;
&lt;td width="410" valign="top"&gt;UTC time for the last upload time. The default will be the UTC time for the report execution if it&amp;rsquo;s not provided.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="188" valign="top"&gt;
&lt;p&gt;@WindowSize int&lt;/p&gt;
&lt;/td&gt;
&lt;td width="410" valign="top"&gt;Represents the time in minutes shown in the report. The start time for the report is @EndTime &amp;ndash; @WindowSize. The default value is 240 (4 hrs).&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="188" valign="top"&gt;
&lt;p&gt;@DataGroupID nvarchar(128)&lt;/p&gt;
&lt;/td&gt;
&lt;td width="410" valign="top"&gt;Value for counter_group_id in core.performance_report_group_items. For all of the performance counters in this report, the value will be &amp;lsquo;ServerActivity&amp;rsquo;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="188" valign="top"&gt;
&lt;p&gt;@CollectionSetUid nvarchar(64)&lt;/p&gt;
&lt;/td&gt;
&lt;td width="410" valign="top"&gt;The GUID for the Server Activity collection set for this report &amp;ndash; &amp;lsquo;49268954-4FD4-4EB6-AA04-CD59D9BB5714&amp;rsquo;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="188" valign="top"&gt;
&lt;p&gt;@interval_count int = 40&lt;/p&gt;
&lt;/td&gt;
&lt;td width="410" valign="top"&gt;The number of data points to use in the chart given the @WindowSize. The default value is 40.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;Building Out the Server Activity Report&lt;/h1&gt;
&lt;p&gt;Now it&amp;rsquo;s time to get down to business. Open up the Server_Activity report using the Report Builder that we created in &lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/06/19/mdw-overview-report-for-data-collector-server-activity-mdw-report-series-part-2.aspx"&gt;part 2&lt;/a&gt; which us essentially a blank report with two parameters: ServerName and EndTime.&lt;/p&gt;
&lt;h3&gt;Report Parameters&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;ServerName.&lt;/strong&gt; For testing purposes, I use the name of one of the server instances that reports into the MDW. The attached report will have blank value.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EndTime.&lt;/strong&gt; To accommodate running the Server Activity report directly, we&amp;rsquo;ll add a default value to the EndTime parameter by going to the parameter dialog for EndTime, go to the Default Values page, use the Specify values option, and press the Add button. Paste the following expression in to the value that retrieves the current date in UTC format:&lt;/p&gt;
&lt;p&gt;=DateTime.UtcNow&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;WindowSize.&lt;/strong&gt; Next, we&amp;rsquo;ll create the WindowSize parameter using the Add Parameter command. Cal the name WindowSize and use Integer for the data type. Go to the Available Values page and select the Specify values option. You&amp;rsquo;ll add 5 values as follows:&lt;/p&gt;
&lt;table cellpadding="2" cellspacing="0" border="1" style="width: 400px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;Label&lt;/td&gt;
&lt;td width="200" valign="top"&gt;Value&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;15 minutes&lt;/td&gt;
&lt;td width="200" valign="top"&gt;15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;1 hour&lt;/td&gt;
&lt;td width="200" valign="top"&gt;60&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;4 hours&lt;/td&gt;
&lt;td width="200" valign="top"&gt;240&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;12 hours&lt;/td&gt;
&lt;td width="200" valign="top"&gt;720&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="200" valign="top"&gt;24 hours&lt;/td&gt;
&lt;td width="200" valign="top"&gt;1440&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For the default value, specify a the value of 240.&lt;/p&gt;
&lt;p&gt;The remaining three report parameters will be setup has hidden parameters. We need to use parameters instead of the new Report Variable feature starting with Reporting Services 2008 because query parameters can only reference report parameters.&lt;/p&gt;
&lt;table cellpadding="2" cellspacing="0" border="1" style="width: 497px;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="127" valign="top"&gt;Parameter Name&lt;/td&gt;
&lt;td width="67" valign="top"&gt;Data type&lt;/td&gt;
&lt;td width="54" valign="top"&gt;Visibility&lt;/td&gt;
&lt;td width="247" valign="top"&gt;Default Value&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="129" valign="top"&gt;DataGroupID&lt;/td&gt;
&lt;td width="67" valign="top"&gt;Text&lt;/td&gt;
&lt;td width="54" valign="top"&gt;Hidden&lt;/td&gt;
&lt;td width="247" valign="top"&gt;ServerActivity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="130" valign="top"&gt;CollectionSetUid&lt;/td&gt;
&lt;td width="67" valign="top"&gt;Text&lt;/td&gt;
&lt;td width="54" valign="top"&gt;Hidden&lt;/td&gt;
&lt;td width="247" valign="top"&gt;49268954-4FD4-4EB6-AA04-CD59D9BB5714&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="131" valign="top"&gt;interval_count&lt;/td&gt;
&lt;td width="67" valign="top"&gt;Int&lt;/td&gt;
&lt;td width="54" valign="top"&gt;Hidden&lt;/td&gt;
&lt;td width="247" valign="top"&gt;40&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Data Source&lt;/h3&gt;
&lt;p&gt;Like the MDW_Overview report, you will create a data source called MDW and point it to the shared MDW data source that you created in &lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/06/06/mdw-overview-report-for-data-collector-mdw-report-series-part-1.aspx"&gt;part 1&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Datasets&lt;/h3&gt;
&lt;p&gt;The Server Activity report will have one dataset &amp;ndash; for now &amp;ndash; called Perfmon that will be associated with the snapshots.rpt_generic_perfmon stored procedure. As shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7002.Perfmon-dataset_5F00_2.png"&gt;&lt;img height="597" width="580" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7827.Perfmon-dataset_5F00_thumb.png" alt="Perfmon dataset" border="0" title="Perfmon dataset" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you had no typos with the parameter names, Report Builder 3.0 matches each of the stored procedure parameters with the report parameter names, so it&amp;rsquo;s ready to use for your report objects.&lt;/p&gt;
&lt;h3&gt;CPU Chart&lt;/h3&gt;
&lt;p&gt;Now for some charting. We&amp;rsquo;ll start with the Chart Wizard, select the PerfMon dataset, and press Next.&lt;/p&gt;
&lt;p&gt;Choose the Line and click Next.&lt;/p&gt;
&lt;p&gt;Drag the avg_formatted_value field into the Values box. This will be the value in the Y axis value represented as a percentage value from 0 to 100 for the CPU.&lt;/p&gt;
&lt;p&gt;Drag the interval_end_time into the Categories box. This represents the number of interval_count values along the X axis.&lt;/p&gt;
&lt;p&gt;Drag the series_name field into the Series box. There are two series values: SQL Server and System.&lt;/p&gt;
&lt;p&gt;Click Next to go to the style page. Pick the style that suits your taste and click Finish to complete the wizard. I&amp;rsquo;ll use Generic for the style.&amp;nbsp; If all went well, you should see a chart that looks like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3683.cpuUsage-Chart-initial-layout_5F00_2.png"&gt;&lt;img height="507" width="561" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3288.cpuUsage-Chart-initial-layout_5F00_thumb.png" alt="cpuUsage Chart initial layout" border="0" title="cpuUsage Chart initial layout" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Before attempting to run the report &amp;ndash; it&amp;rsquo;s tempting &amp;ndash; there are a bunch of tweaks we need to make to the chart.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Change filters.&lt;/strong&gt; We need to add a filter to the chart that shows only the counter_subgroup_id = cpuUsage. Right click on the Chart and choose Chart properties. Go to the Filters page and click Add. For Expression, select [counter_subgroup_id], Operator is =, and Value is cpuUsage.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7002.cpuUsage-Chart-Filter_5F00_2.png"&gt;&lt;img height="543" width="559" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4375.cpuUsage-Chart-Filter_5F00_thumb.png" alt="cpuUsage Chart Filter" border="0" title="cpuUsage Chart Filter" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Horizontal Axis Properties.&lt;/strong&gt; We need to set the minimum and maximum values based on the WindowSize and EndTime. Right click on horizontal labels along the X-axis for the chart and choose the Horizontal Axis Properties command. Complete the dialog as follows:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2112.cpuUsage-Chart-X_2D00_Axis-Props_5F00_2.png"&gt;&lt;img height="505" width="563" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1641.cpuUsage-Chart-X_2D00_Axis-Props_5F00_thumb.png" alt="cpuUsage Chart X-Axis Props" border="0" title="cpuUsage Chart X-Axis Props" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Choose the Scalar for Axis type.&lt;/strong&gt; This allows the entire range of numbers to get charted out that match the WindowSize. If you forget to do this, in cases of missing values for the WindowSize (collector was turned off or instance was down), the chart will look look like you have data because it&amp;rsquo;s charting the discrete values over the range.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Setting the Axis range and interval&lt;/strong&gt;. For the Minimum expression, we&amp;rsquo;ll use the following expression:&lt;/p&gt;
&lt;p&gt;=DateAdd ("n", -1 * Parameters!WindowSize.Value, Parameters!EndTime.Value )&lt;/p&gt;
&lt;p&gt;This sets the start range to be the EndTime &amp;ndash; WindowSize.&amp;nbsp; For the Maximum value, set the it to: [@EndTime].&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Labels.&lt;/strong&gt; On the Labels page, you want to check on Hide axis labels. There is no room in the thumbnail chart to show labels for the 40 data points.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Major Tick Marks.&lt;/strong&gt; On the Major Tick Marks page, check on the option to Hide Major tick marks. This just adds noise to the chart.&lt;/p&gt;
&lt;p&gt;After you click OK, you then need to select the Axis Title label under the horizontal axis and delete it.&amp;nbsp; This is because we want to use this space for the Series labels.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Vertical Axis Properties.&lt;/strong&gt; Settings for the Y-axis are a little simpler since we are dealing with a percentage value. Set the minimum value = 0 and the maximum value = 100. We&amp;rsquo;ll leave major tick marks on and show labels. For the Axis Title, change the text to &amp;lsquo;% CPU&amp;rsquo;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Series Legend.&lt;/strong&gt; To move the series legend to the bottom of the chart, right click on the legend and select Legend Properties. Then, choose the Legend position as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1638.cpuUsage-Series-Legend_5F00_2.png"&gt;&lt;img height="516" width="563" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0564.cpuUsage-Series-Legend_5F00_thumb.png" alt="cpuUsage Series Legend" border="0" title="cpuUsage Series Legend" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally, you will want to change the Chart Title to % CPU. Your design surface should look like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5342.cpuUsage-Settings-complete_5F00_2.png"&gt;&lt;img height="462" width="565" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3201.cpuUsage-Settings-complete_5F00_thumb.png" alt="cpuUsage Settings complete" border="0" title="cpuUsage Settings complete" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can now Run the report and if you did everything correctly and your data collector was collecting data and uploading, you should see something like this.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2627.cpuUsage-Settings-run_5F00_2.png"&gt;&lt;img height="422" width="567" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4377.cpuUsage-Settings-run_5F00_thumb.png" alt="cpuUsage Settings run" border="0" title="cpuUsage Settings run" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s add one more label on the report to display the report range of data in local time &amp;ndash; just like the shipping report. &lt;/p&gt;
&lt;p&gt;Switch back to Design mode.&lt;/p&gt;
&lt;p&gt;Use the Insert menu and select a Text Box and drag out a text box just under the report title for the length of the report.&lt;/p&gt;
&lt;p&gt;Click the Center paragraph command.&lt;/p&gt;
&lt;p&gt;Paste in in the following expression:&lt;/p&gt;
&lt;pre class="csharpcode"&gt;= &lt;span class="str"&gt;"Selected time range: "&lt;/span&gt; &amp;amp; 
    code.UTCToLocal( DateAdd(&lt;span class="str"&gt;"n"&lt;/span&gt;, -1 * Parameters!WindowSize.Value, Parameters!EndTime.Value)) &amp;amp; 
   &lt;span class="str"&gt;" to "&lt;/span&gt; &amp;amp;
    code.UTCToLocal( Parameters!EndTime.Value)&lt;/pre&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;p&gt;When you click outside of the text box, the expression text gets replaced with the Expr tag.&lt;/p&gt;
&lt;p&gt;This post is getting pretty long, so it&amp;rsquo;s time to stop here. You should now know how performance counters are stored in the MDW; how to use the snapshots.rpt_generic_perfmon stored procedure to retrieve the data and the role of the core.performance_co8unter_report_group_items table; and, how to create a thumbnail chart to display the cpuUsage.&lt;/p&gt;
&lt;p&gt;In the attached ZIP file, I&amp;rsquo;ve included the mdw_overview.rdl and the new server_activity.rdl files. If you are enjoying this series and find it useful, feel free to add your comments.&lt;/p&gt;
&lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d41099a6-129b-40aa-a501-ce0e9c3b3102" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px"&gt;Technorati Tags: &lt;a rel="tag" href="http://technorati.com/tags/Data+Collector"&gt;Data Collector&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008"&gt;SQL Server 2008&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008+R2"&gt;SQL Server 2008 R2&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SSMS+Reports"&gt;SSMS Reports&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/MDW"&gt;MDW&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10028014" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-02-80-14/mdw_5F00_overview-and-server-activity-_2800_part3_2900_.zip" length="7055" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/b/billramo/archive/tags/MDW+Reports/">MDW Reports</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+PASS/">SQL PASS</category></item><item><title>MDW Overview Report for Data Collector (Server Activity) – MDW Report Series Part 2</title><link>http://blogs.msdn.com/b/billramo/archive/2010/06/19/mdw-overview-report-for-data-collector-server-activity-mdw-report-series-part-2.aspx</link><pubDate>Sun, 20 Jun 2010 03:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10027582</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10027582</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/06/19/mdw-overview-report-for-data-collector-server-activity-mdw-report-series-part-2.aspx#comments</comments><description>&lt;p&gt;By Bill Ramos, Program Manager, SQL Server Manageability Team&lt;/p&gt;
&lt;p&gt;In this post, we&amp;rsquo;ll complete the MDW Overview report from &lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/06/06/mdw-overview-report-for-data-collector-mdw-report-series-part-1.aspx"&gt;part 1 of this series&lt;/a&gt; and then start into the makings of the Server Activity report as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5661.Server-Activity-Report-Example_5F00_2.png"&gt;&lt;img height="711" width="564" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8311.Server-Activity-Report-Example_5F00_thumb.png" alt="Server Activity Report Example" border="0" title="Server Activity Report Example" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Server Activity report has 4 major sections that I&amp;rsquo;ll go through that includes the timeline; server thumbnails; SQL Server waits, and SQL Server activity. It&amp;rsquo;s going to take several blog postings to get though this report.&lt;/p&gt;
&lt;h1&gt;Adding Hyperlink to Server Activity Upload Time&lt;/h1&gt;
&lt;p&gt;Back to the completing the MDW Overview. The next step is to add hyperlinks to the collection set upload times that will launch the Server Activity report. The example below shows where I left off in part 1.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6254.mdw_5F00_overview-report-example_5F00_2.png"&gt;&lt;img height="344" width="567" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4505.mdw_5F00_overview-report-example_5F00_thumb.png" alt="mdw_overview report example" border="0" title="mdw_overview report example" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Creating the Blank Server Activity Report&lt;/h3&gt;
&lt;p&gt;The Server Activity report needs two key parameters:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;ServerName (type Text) &amp;ndash; Name of the server name \ instance reporting into the MDW. &lt;/li&gt;
&lt;li&gt;EndTime (type Date/Time) &amp;ndash; Interval End Time (UTC) for the report to display. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There are several other hidden parameters that I&amp;rsquo;ll get into as we build up the Server Activity report. Go ahead and create a new blank report in the same folder as the mdw_overview.rdl file and add two parameters. While you are at it, go ahead and add the UTCtoLocal function to the Report Code property from &lt;a target="_blank" href="http://blogs.msdn.com/b/billramo/archive/2010/06/06/mdw-overview-report-for-data-collector-mdw-report-series-part-1.aspx"&gt;part 1&lt;/a&gt; (see below) and then save the report as Server_Activity.rdl.&lt;/p&gt;
&lt;pre style="background-color: #fbfbfb; min-height: 40px; width: 579px; height: 186px; overflow: auto; border: #cecece 1px solid; padding: 5px;"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: #0000ff"&gt;Public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;Shared&lt;/span&gt; &lt;span style="color: #0000ff"&gt;Function&lt;/span&gt; UTCtoLocal(&lt;span style="color: #0000ff"&gt;ByVal&lt;/span&gt; UTCValue) &lt;span style="color: #0000ff"&gt;As&lt;/span&gt; &lt;span style="color: #0000ff"&gt;String&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: #008000"&gt;' Get the local time zone and a base Coordinated Universal &lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: #008000"&gt;' Time (UTC).&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: #0000ff"&gt;Dim&lt;/span&gt; localZone &lt;span style="color: #0000ff"&gt;As&lt;/span&gt; TimeZone = TimeZone.CurrentTimeZone
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: #0000ff"&gt;If&lt;/span&gt; IsNothing(UTCValue) &lt;span style="color: #0000ff"&gt;Or&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;Not&lt;/span&gt; IsDate(UTCValue)) &lt;span style="color: #0000ff"&gt;Then&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;   &lt;span style="color: #0000ff"&gt;Return&lt;/span&gt; &lt;span style="color: #0000ff"&gt;Nothing&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: #0000ff"&gt;Else&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;   &lt;span style="color: #008000"&gt;' Calculate the local time and UTC offset.&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;   &lt;span style="color: #0000ff"&gt;Dim&lt;/span&gt; localTime &lt;span style="color: #0000ff"&gt;As&lt;/span&gt; DateTime = localZone.ToLocalTime(UTCValue)
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;   &lt;span style="color: #0000ff"&gt;Dim&lt;/span&gt; localOffset &lt;span style="color: #0000ff"&gt;As&lt;/span&gt; TimeSpan = localZone.GetUtcOffset(localTime)
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;   &lt;span style="color: #0000ff"&gt;Return&lt;/span&gt; localTime.ToString()
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: #0000ff"&gt;End&lt;/span&gt; &lt;span style="color: #0000ff"&gt;If&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;span style="color: #0000ff"&gt;End&lt;/span&gt; &lt;span style="color: #0000ff"&gt;Function&lt;/span&gt;
&lt;/pre&gt;
&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px;"&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;h3&gt;Adding the Hyperlink Action&lt;/h3&gt;
&lt;p&gt;Now, go back to the mdw_overview report and right click on the Server Activity &amp;lt;&amp;lt;expr&amp;gt;&amp;gt; text box that displays the last download time and select the Text Box Properties&amp;hellip; command. You&amp;rsquo;ll navigate to the Action page and choose the Go to report option, specify the Server_Activity report, and add the two parameters as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2045.Action-page-for-Server-Activity_5F00_2.png"&gt;&lt;img height="479" width="529" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2134.Action-page-for-Server-Activity_5F00_thumb.png" alt="Action page for Server Activity" border="0" title="Action page for Server Activity" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can now test out the link by running the mdw_overview report within the designer and then click on the Server Activity upload time. You should see blank Server_Activity report with the parameter values as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3531.Testing-the-server-activity-link_5F00_2.png"&gt;&lt;img height="417" width="534" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7824.Testing-the-server-activity-link_5F00_thumb.png" alt="Testing the server activity link" border="0" title="Testing the server activity link" class="wlDisabledImage" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At this point, you can save your mdw_overview report and shut it down. In future posts, we&amp;rsquo;ll hook up Query Statistics and Disk Usage reports.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s time to take a break and get this post uploaded. I spend the last week picking apart the Server Activity data sources and report code and it looks like several posts will be needed to go through the report. Tomorrow, I&amp;rsquo;ll go over the report parameters and get into the details of creating the CPU thumbnail. No attachment in this post.&lt;/p&gt;
&lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4aedba85-4faf-440c-965f-aa43ae0581a8" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px"&gt;Technorati Tags: &lt;a rel="tag" href="http://technorati.com/tags/Data+Collector"&gt;Data Collector&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008"&gt;SQL Server 2008&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008+R2"&gt;SQL Server 2008 R2&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SSMS+Reports"&gt;SSMS Reports&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/MDW"&gt;MDW&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10027582" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/MDW+Reports/">MDW Reports</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+PASS/">SQL PASS</category></item><item><title>MDW Overview Report for Data Collector – MDW Report Series Part 1</title><link>http://blogs.msdn.com/b/billramo/archive/2010/06/06/mdw-overview-report-for-data-collector-mdw-report-series-part-1.aspx</link><pubDate>Mon, 07 Jun 2010 02:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10020674</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10020674</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/06/06/mdw-overview-report-for-data-collector-mdw-report-series-part-1.aspx#comments</comments><description>&lt;p&gt;By Bill Ramos, Program Manager, SQL Server Manageability Team&lt;/p&gt;
&lt;p&gt;The Management Data Warehouse (MDW) overview report that I mentioned in my previous blog post on &lt;a target="_blank" href="http://blogs.msdn.com/b/sqlrem/archive/2010/05/12/viewing-mdw-reports-with-a-low-privileged-user-account.aspx"&gt;Viewing MDW Reports with a Low Privileged User Account&lt;/a&gt; provides a list of database instances and the last collection set upload times for the MDW database. Below is an example of the report when run inside of SSMS.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6180.MDW-Overview-Report-Two-Instance_5F00_2.png"&gt;&lt;img height="150" width="536" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7288.MDW-Overview-Report-Two-Instance_5F00_thumb.png" alt="MDW Overview Report Two Instance" border="0" title="MDW Overview Report Two Instance" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;By clicking on the last upload hyperlink, SSMS launches the report displaying the Server Activity, Query Statistics, or Disk Usage for the instance.&lt;/p&gt;
&lt;p&gt;The question that many people have is &amp;ndash; how can I run these reports from a Reporting Services server rather than from SSMS? The short answer is that you can&amp;rsquo;t. However, by understanding the schema of the MDW database and the ways that the reports extract data from the MDW through various stored procedures, you can create your own reports to get data from the MDW.&lt;/p&gt;
&lt;p&gt;Unfortunately, there is little documentation on the reports and especially the stored procedures used to access data. In this series of blog posts, I&amp;rsquo;m going to run through the various reports that SSMS provides for analyzing performance that is collected in the MDW database and how you can create similar reports.&lt;/p&gt;
&lt;p&gt;I wish I could simply provide the report source code as part of a codeplex project, but the source code references SSMS based assemblies and uses resourced strings that may it very difficult to modify and use. Instead, I&amp;rsquo;ll provide RDL files compatible with Reporting Server&amp;rsquo;s Report Builder 3.0 that ships with SQL Server 2008 R2. I&amp;rsquo;ll assume that you have a Reporting Server already setup as part of the series. I&amp;rsquo;ll also assume that you have an MDW database already setup and your collecting performance data through the Data Collector feature that we shipped with SQL Server 2008. See &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/bb677180.aspx"&gt;Getting Started with the Data Collector&lt;/a&gt;. I&amp;rsquo;m also going to assume that you are building the reports directly against the Reporting Server using Report Builder 3.0 using Windows security.&lt;/p&gt;
&lt;h1&gt;MDW Overview Report&lt;/h1&gt;
&lt;p&gt;The MDW Overview report is the natural starting point since it is the main launch point for all the MDW reports.&amp;nbsp; Here is an example of what the end result looks like running from Reporting Server.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8662.mdw_5F00_overview-report-example_5F00_2.png"&gt;&lt;img height="356" width="586" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1222.mdw_5F00_overview-report-example_5F00_thumb.png" alt="mdw_overview report example" border="0" title="mdw_overview report example" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h3&gt;Connecting to the MDW&lt;/h3&gt;
&lt;p&gt;The first step is setting up shared data that the reports will use when connecting to the MDW database.&amp;nbsp; Here is an example of one I created in the root folder for the my Report Server.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1212.mdw_5F00_overview-shared-Datasource-MDW_5F00_4.png"&gt;&lt;img height="635" width="581" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6102.mdw_5F00_overview-shared-Datasource-MDW_5F00_thumb_5F00_1.png" alt="mdw_overview shared Datasource MDW" border="0" title="mdw_overview shared Datasource MDW" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The MDW I&amp;rsquo;m referencing is sysutility_mdw. This is the same MDW file that is created when you create a Utility Control Point with SQL Server 2008 R2, but it can be any MDW created using the Configure Management Data Warehouse wizard.&lt;/p&gt;
&lt;p&gt;Starting with a Blank Report, you need to right click in the Data Sources node in the Report Data pane and create a new data source pointing to the shared connection as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2388.mdw_5F00_overview-Datasource-MDW_5F00_2.png"&gt;&lt;img height="420" width="575" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5123.mdw_5F00_overview-Datasource-MDW_5F00_thumb.png" alt="mdw_overview Datasource MDW" border="0" title="mdw_overview Datasource MDW" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h3&gt;Dataset for Instances&lt;/h3&gt;
&lt;p&gt;To get the instances that have uploads stored in the MDW along with the last collection upload time, you can use the snapshots.rpt_list_all_servers stored procedure. Below, I show creating a dataset named MdwServerList that calls the stored procedure.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2705.mdw_5F00_overview-Dataset-MdwServerList_5F00_2.png"&gt;&lt;img height="585" width="568" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2804.mdw_5F00_overview-Dataset-MdwServerList_5F00_thumb.png" alt="mdw_overview Dataset MdwServerList" border="0" title="mdw_overview Dataset MdwServerList" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;If you right click on the new MdwServerList, issue the Query command, and then run the query, you&amp;rsquo;ll see one row per instance that is uploading to your shared MDW database as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8267.mdw_5F00_overview-execute-rpt_5F00_list_5F00_all_5F00_servers_5F00_2.png"&gt;&lt;img height="271" width="571" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2311.mdw_5F00_overview-execute-rpt_5F00_list_5F00_all_5F00_servers_5F00_thumb.png" alt="mdw_overview execute rpt_list_all_servers" border="0" title="mdw_overview execute rpt_list_all_servers" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The snapshots.rpt_list_all_servers gets its data from the core.snapshots view in the MDW. Feel free to script out the stored procedure to see how it retrieves the data. There is a comment in the procedure pointing out where you should add new collection sets to the result set.&lt;/p&gt;
&lt;p&gt;I should point out that the resulting last upload times are represented as a &amp;ldquo;Coordinated Universal Time&amp;rdquo; (UTC) that will need to be converted to local time for the report. To convert UTC to local time, I&amp;rsquo;m going to use a function called UTCtoLocal that will go into the Custom Code section for the Report Properties.&amp;nbsp; Right click on the report background and issue the Report Properties command and then go to the Code page in the dialog and paste the following code snippet into the Custom Code area.&lt;/p&gt;
&lt;p&gt;Public Shared Function UTCtoLocal(ByVal UTCValue) As String &lt;br /&gt;' Get the local time zone and a base Coordinated Universal &lt;br /&gt;' Time (UTC). &lt;br /&gt;Dim localZone As TimeZone = TimeZone.CurrentTimeZone &lt;br /&gt;If IsNothing(UTCValue) Or (Not IsDate(UTCValue)) Then &lt;br /&gt;&amp;nbsp;&amp;nbsp; Return Nothing &lt;br /&gt;Else &lt;br /&gt;&amp;nbsp;&amp;nbsp; ' Calculate the local time and UTC offset. &lt;br /&gt;&amp;nbsp;&amp;nbsp; Dim localTime As DateTime = localZone.ToLocalTime(UTCValue) &lt;br /&gt;&amp;nbsp;&amp;nbsp; Dim localOffset As TimeSpan = localZone.GetUtcOffset(localTime) &lt;br /&gt;&amp;nbsp;&amp;nbsp; Return localTime.ToString() &lt;br /&gt;End If &lt;br /&gt;End Function&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll use this function later on once we&amp;rsquo;ve created the table showing the results.&lt;/p&gt;
&lt;p&gt;Table for the Results&lt;/p&gt;
&lt;p&gt;To create the table for displaying the results, I&amp;rsquo;ll walk you through the steps using the Table Wizard. First choose the MdwServerList dataset.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1738.mdw_5F00_overview-table-choose-dataset_5F00_2.png"&gt;&lt;img height="427" width="565" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1234.mdw_5F00_overview-table-choose-dataset_5F00_thumb.png" alt="mdw_overview table choose dataset" border="0" title="mdw_overview table choose dataset" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Next, specify the Row groups and Values.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0652.mdw_5F00_overview-table-arrange-fields_5F00_2.png"&gt;&lt;img height="427" width="565" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4442.mdw_5F00_overview-table-arrange-fields_5F00_thumb.png" alt="mdw_overview table arrange fields" border="0" title="mdw_overview table arrange fields" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Next, choose the layout.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6102.mdw_5F00_overview-table-choose-layout_5F00_2.png"&gt;&lt;img height="426" width="563" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/3884.mdw_5F00_overview-table-choose-layout_5F00_thumb.png" alt="mdw_overview table choose layout" border="0" title="mdw_overview table choose layout" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Finally, choose a style and finish the wizard.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1323.mdw_5F00_overview-table-choose-style_5F00_2.png"&gt;&lt;img height="428" width="566" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/2620.mdw_5F00_overview-table-choose-style_5F00_thumb.png" alt="mdw_overview table choose style" border="0" title="mdw_overview table choose style" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The end result is a table that displays the instance name and the three last upload times for server activity, query statistics, and disk usage collection sets.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4477.mdw_5F00_overview-table-wizard-complete_5F00_2.png"&gt;&lt;img height="351" width="567" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5444.mdw_5F00_overview-table-wizard-complete_5F00_thumb.png" alt="mdw_overview table wizard complete" border="0" title="mdw_overview table wizard complete" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;As I stated earlier, if you were to run the report, the date and times reported will be UTC. Let&amp;rsquo;s fix up the server_activity_last_upload field by using the UTCtoLocal function. Right click in the [server_activity_last_upload] cell in the table and choose the Expression command.&lt;/p&gt;
&lt;p&gt;In the Set expression for: Value text box, paste in the following code and click Ok:&lt;/p&gt;
&lt;p&gt;=IIf (IsNothing(Fields!server_activity_last_upload.Value), &lt;br /&gt;"No Data Available", &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; code.UTCtoLocal( Fields!server_activity_last_upload.Value ) &lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1731.mdw_5F00_overview-table-UTC-expression_5F00_2.png"&gt;&lt;img height="496" width="546" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1321.mdw_5F00_overview-table-UTC-expression_5F00_thumb.png" alt="mdw_overview table UTC expression" border="0" title="mdw_overview table UTC expression" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;You&amp;rsquo;ll want to add similar expressions for Fields!query_statistics_last_upload.Value and Fields!disk_usage_last_upload.Value.&lt;/p&gt;
&lt;p&gt;Next, you&amp;rsquo;ll want to clean up the report, add titles and explanation text similar to the shipping version of the MDW Overview report as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4863.mdw_5F00_overview-layout-of-report_5F00_2.png"&gt;&lt;img height="298" width="559" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/8015.mdw_5F00_overview-layout-of-report_5F00_thumb.png" alt="mdw_overview layout of report" border="0" title="mdw_overview layout of report" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The &amp;lt;&amp;lt;Expr&amp;gt;&amp;gt; below the title displays the run time for the report using the following expression:&lt;/p&gt;
&lt;p&gt;="at: " &amp;amp; FormatDateTime(Globals!ExecutionTime)&lt;/p&gt;
&lt;h3&gt;Add Column Sorting&lt;/h3&gt;
&lt;p&gt;The shipping version of the report includes column sort controls as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/6038.mdw_5F00_overview-sort-column-headings-example_5F00_2.png"&gt;&lt;img height="153" width="562" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/4786.mdw_5F00_overview-sort-column-headings-example_5F00_thumb.png" alt="mdw_overview sort column headings example" border="0" title="mdw_overview sort column headings example" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;To add sorting for Instance Name, right click in the Instance Name column header cell and choose the Text Box Properties command. Then complete the Interactive Sorting page as shown below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/1323.mdw_5F00_overview-column-sort-by-instance-name_5F00_2.png"&gt;&lt;img height="505" width="559" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/0576.mdw_5F00_overview-column-sort-by-instance-name_5F00_thumb.png" alt="mdw_overview column sort by instance name" border="0" title="mdw_overview column sort by instance name" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;For Server Activity, you&amp;rsquo;ll do the same thing, but choose [server_activity_last_upload] for the Sort by field. The same goes for Query Statistics and Disk usage column headings.&lt;/p&gt;
&lt;h3&gt;Adding the MDW Name to the Report Title&lt;/h3&gt;
&lt;p&gt;The last step is adding the database name to the report title. In the SSMS version of the report, the MDW database name is passed in as a parameter to the report and its simply appended to the title string. To get the database name for this report, we need to create a dataset that returns the name. Just create a dataset that looks like the one below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/5556.mdw_5F00_overview-title-database-name-dataset_5F00_2.png"&gt;&lt;img height="568" width="551" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-42-13-metablogapi/7041.mdw_5F00_overview-title-database-name-dataset_5F00_thumb.png" alt="mdw_overview title database name dataset" border="0" title="mdw_overview title database name dataset" style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then change the expression for report title text box to the following expression:&lt;/p&gt;
&lt;p&gt;= "Management Data Warehouse Overview: " &amp;amp; First(Fields!database_name.Value, "database_name")&lt;/p&gt;
&lt;h3&gt;Almost Done, But Not Quite&lt;/h3&gt;
&lt;p&gt;If you followed along, you now have an RDL file that runs on your Reporting Server that displays the MDW Overview of instances being collected using the Data Collector. I&amp;rsquo;ve attached a copy if my version of mdw_overview.rdl as a reference, but I encourage you to follow along.&lt;/p&gt;
&lt;p&gt;The next step in the process is to add hyperlinks to collection upload time cells that drill into the detail reports for Server Activity, Query Statistics, and Disk Usage. But, that&amp;rsquo;s for another blog post.&lt;/p&gt;
&lt;h3&gt;Acknowledgements&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;d like to acknowledge &lt;a target="_blank" href="http://social.msdn.microsoft.com/Profile/en-US/?user=Jin+Chen&amp;amp;referrer=http%3a%2f%2fsocial.msdn.microsoft.com%2fForums%2fen-US%2fsqlreportingservices%2fthread%2ff465b60e-5584-43c4-bb90-8811ed6806eb&amp;amp;rh=k%2fVO1zttvEsrIbk%2b2WNT4B0Un6QzsIOhwEl%2bT9HIZl8%3d&amp;amp;sp=forums"&gt;Jin Chen from MSFT&lt;/a&gt;, who posted the source for &lt;a target="_blank" href="http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/f465b60e-5584-43c4-bb90-8811ed6806eb"&gt;UTCtoLocal on the MSDN forum&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d also like to acknowledge &lt;a target="_blank" href="http://blogs.msdn.com/b/bartd/"&gt;Bart Duncan&lt;/a&gt; who is a developer on our team for pointing me to the source files for the MDW reports and the little secrets on how they work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:63091d6b-f3e0-4cb3-9d45-9241eb6cf351" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px"&gt;Technorati Tags: &lt;a rel="tag" href="http://technorati.com/tags/Data+Collector"&gt;Data Collector&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008+Express"&gt;SQL Server 2008 Express&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SQL+Server+2008+R2"&gt;SQL Server 2008 R2&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/MDW"&gt;MDW&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/Management+Data+Warehouse"&gt;Management Data Warehouse&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SSMS"&gt;SSMS&lt;/a&gt;,&lt;a rel="tag" href="http://technorati.com/tags/SSMS+Reports"&gt;SSMS Reports&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10020674" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-02-06-74/mdw_5F00_overview.zip" length="3186" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/b/billramo/archive/tags/MDW+Reports/">MDW Reports</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SQL+PASS/">SQL PASS</category></item><item><title>Viewing MDW Reports with a Low Privileged User Account</title><link>http://blogs.msdn.com/b/billramo/archive/2010/05/12/viewing-mdw-reports-with-a-low-privileged-user-account.aspx</link><pubDate>Thu, 13 May 2010 03:18:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10012223</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=10012223</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2010/05/12/viewing-mdw-reports-with-a-low-privileged-user-account.aspx#comments</comments><description>&lt;p&gt;Just last week, one of our technical sales people asked me the question, when will we release the source RDL files for the Management Data Warehouse (MDW) feature that we shipped with SQL Server 2008. The reason that he asked was that his customer wanted to host the reports on a Reporting Services server so that a low privileged user could view the reports against an MDW shared database hosted on a shared server without actually having to connect to the instance being collected. &lt;/p&gt;  &lt;p&gt;I told him, wait – we have a feature that allows you to run the MDW reports on the shared server by opening up the shared server instance in SSMS and then right clicking on the MDW database and selecting the Reports &amp;gt; Management Data Warehouse Overview report. It should be as simple as simply adding the low privileged login account to the mdw_reader role on the MDW database. If you go to the MDSN help topic on &lt;a href="http://msdn.microsoft.com/en-us/library/bb630341.aspx" target="_blank"&gt;Data Collector Security&lt;/a&gt;, you’ll see that:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;“Members of the &lt;strong&gt;mdw_reader&lt;/strong&gt; role have Read access to the management data warehouse. Because the purpose of this role is to support troubleshooting by providing access to historical data, members of this role cannot view other elements of the management data warehouse schema.”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Great, it’s natural to assume that that’s just what I need to do to run reports. Reports are technically read-only and use the MDW database as it’s source. Well, not exactly. &lt;/p&gt;  &lt;p&gt;When I setup my test ‘mdw_user’ SQL login account as a user to the MDW database that I was using – in this case – the new SQL Server 2008 R2 ‘sysutility_mdw’, the first thing I noticed is that the Management Data Warehouse Overview report command was missing! It turns out that the Object Explorer (OE) queries the database for an extended property called ‘Microsoft_DataCollector_MDW_Version’. If OE finds it, it displays the overview report command. It turns out that in order for a user to see extended properties on a database, the need to have VIEW DEFINITION rights. Needless to say, we forgot to add that right to the MDW installation script. The simple workaround is to grant those rights to the mdw_reader role as follows:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;-- Allow the mdw_reader and mdw_admin roles to see the MDW overview report in OE     &lt;br /&gt;use [sysutility_mdw]      &lt;br /&gt;GO&lt;/p&gt; GRANT VIEW DEFINITION TO [mdw_reader]    &lt;br /&gt;GO    &lt;p&gt;GRANT VIEW DEFINITION TO [mdw_admin]     &lt;br /&gt;GO&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Now, you can see the overview report command and run it as shown below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/ViewingMDWReportswithaLowPrivilegedUserA_11DA6/MDW%20Reports%20from%20MDW%20Database_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MDW Reports from MDW Database" border="0" alt="MDW Reports from MDW Database" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/ViewingMDWReportswithaLowPrivilegedUserA_11DA6/MDW%20Reports%20from%20MDW%20Database_thumb.png" width="701" height="265" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The Overview report looks like this for my setup with two instances uploading data to the shared sysutility_mdw database.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/ViewingMDWReportswithaLowPrivilegedUserA_11DA6/MDW%20Overview%20Report%20Two%20Instance_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MDW Overview Report Two Instance" border="0" alt="MDW Overview Report Two Instance" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/ViewingMDWReportswithaLowPrivilegedUserA_11DA6/MDW%20Overview%20Report%20Two%20Instance_thumb.png" width="708" height="198" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;With the overview report, you get a summary of the last upload times for the three system collection sets for each instance that has uploaded to the MDW.&amp;#160; From this point, you can click on the hyperlink for one of the collection sets to view the report. This way you don’t actually have to connect to the target server just to see the same reports that you could run from the Data Collection node.&lt;/p&gt;  &lt;p&gt;Well, if you do attempt to run any of the reports with the low privileged user, you are going to end up with one of a couple of insufficient privileges' error message.&lt;/p&gt;  &lt;p&gt;This is due to the fact that all of the MDW reports in the footer indicate the state of the data collector so that you can tell if things are running ok. Unfortunately, the queries to see if the data collector are running reply on having access to three views in the system msdb database.&lt;/p&gt;  &lt;p&gt;There are two basic workarounds for this. The first workaround is to make the low privileged use a member of either three of the existing dc_admin, dc_operator, or dc_proxy database roles in msdb. The problem is that these roles have more privileges than needed to run the reports.&amp;#160; The second workaround is to created a new role in msdb that I’ll call&amp;#160; ‘dc_report_reader’ and then add the user to that role.&amp;#160; Here is the script that I used.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;-- Add a new msdb role for the dc_report_reader. In the future, the MDW wizard would add the login to this new role     &lt;br /&gt;-- for any login associated with the mdw_reader, and mdw_admin roles so that they can run reports.      &lt;br /&gt;USE [msdb]      &lt;br /&gt;GO &lt;/p&gt;    &lt;p&gt;CREATE ROLE [dc_report_reader] AUTHORIZATION [dbo]     &lt;br /&gt;GO &lt;/p&gt;    &lt;p&gt;GRANT SELECT ON [dbo].[syscollector_collection_sets] TO [dc_report_reader]     &lt;br /&gt;GO &lt;/p&gt;    &lt;p&gt;GRANT SELECT ON [dbo].[syscollector_execution_log] TO [dc_report_reader]     &lt;br /&gt;GO &lt;/p&gt;    &lt;p&gt;GRANT SELECT ON [dbo].[syscollector_config_store] TO [dc_report_reader]     &lt;br /&gt;GO &lt;/p&gt;    &lt;p&gt;-- For each mdw_reader like user, you need to add them to the dc_report_reader role in MSDB     &lt;br /&gt;USE [msdb]      &lt;br /&gt;GO &lt;/p&gt;    &lt;p&gt;CREATE USER [mdw_user] FOR LOGIN [mdw_user]     &lt;br /&gt;GO &lt;/p&gt;    &lt;p&gt;EXEC sp_addrolemember N'dc_report_reader', N'mdw_user'     &lt;br /&gt;GO&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Once you run the script for your low privileged user, you can now use all of the canned MDW reports.&amp;#160; I should point out that you also need to do the same with the mdw_admin role. It turns out this role has the same limitations as the mdw_reader role.&lt;/p&gt;  &lt;p&gt;The workaround is fairly straight forward and I’ve added the same script to the end of the &lt;a href="http://msdn.microsoft.com/en-us/library/bb630341.aspx" target="_blank"&gt;Data Collector Security&lt;/a&gt; help topic as Community Content. If you would like to see this fixed in a future service pack of SQL Server, you can also vote for this item on the SQL Server Connect site at &lt;a title="http://connect.microsoft.com/SQLServer/feedback/details/558417/logins-with-the-mdw-reader-role-are-unable-to-view-the-mdw-reports-from-the-management-data-warehouse-report" href="http://connect.microsoft.com/SQLServer/feedback/details/558417/logins-with-the-mdw-reader-role-are-unable-to-view-the-mdw-reports-from-the-management-data-warehouse-report"&gt;http://connect.microsoft.com/SQLServer/feedback/details/558417/logins-with-the-mdw-reader-role-are-unable-to-view-the-mdw-reports-from-the-management-data-warehouse-report&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;As far as the original question about making the MDW reports available via CodePlex, we aren’t ready to do that yet. However, I’m planning to put together a series of blog posts that explore each of the reports and the way they get their data from the MDW over the next couple of months.&lt;/p&gt;  &lt;p&gt;In my next post, I’ll start simple and talk about the MDW overview report.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9bf49054-420c-452a-aaa5-5d33dc968077" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SSMS" rel="tag"&gt;SSMS&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Data+Collector" rel="tag"&gt;Data Collector&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Management+Data+Warehouse" rel="tag"&gt;Management Data Warehouse&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10012223" width="1" height="1"&gt;</description></item><item><title>New Manageability White Papers for SQL Server 2008</title><link>http://blogs.msdn.com/b/billramo/archive/2009/06/12/new-manageability-white-papers-for-sql-server-2008.aspx</link><pubDate>Fri, 12 Jun 2009 22:48:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9738194</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9738194</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/06/12/new-manageability-white-papers-for-sql-server-2008.aspx#comments</comments><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;TechNet Books Online just published three whitepapers - check them out!&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;SQL Server 2008 Management Data Warehouse: &lt;a href="http://msdn.microsoft.com/en-us/library/dd939169.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd939169.aspx&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;SQL Server 2008 Policy-Based Management: &lt;a href="http://msdn.microsoft.com/en-us/library/dd938891.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd938891.aspx&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Understanding and Using PowerShell Support in SQL Server 2008: &lt;a href="http://msdn.microsoft.com/en-us/library/dd938892.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd938892.aspx&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9738194" width="1" height="1"&gt;</description></item><item><title>DAT315 – Session Review for SSMS Tips &amp; Tricks Session</title><link>http://blogs.msdn.com/b/billramo/archive/2009/05/15/dat315-session-review-for-ssms-tips-tricks-session.aspx</link><pubDate>Fri, 15 May 2009 19:37:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9618859</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9618859</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/05/15/dat315-session-review-for-ssms-tips-tricks-session.aspx#comments</comments><description>&lt;p&gt;One of the attendees of my TechEd session “DAT315 - Manageability Series: Uncover Hidden Secrets of T-SQL Scripts with Microsoft SQL Server Management Studio” suggested that I post the list of demos that I did for the session so that they could remember the ah-ha moments. Here we go.&lt;/p&gt;  &lt;p&gt;Object Explorer Details (OED)&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The property pane below the list of objects can be expanded to show more properties.&lt;/li&gt;    &lt;li&gt;Right click on the column header in OED to add columns. Columns can be sorted. Settings stored for each object type.&lt;/li&gt;    &lt;li&gt;When you copy selected rows, the headers are included. the example was to sort tables by row count, copy the top 10 items, paste in Excel. In Excel, press Alt+F1 to chart the result.&lt;/li&gt;    &lt;li&gt;Navigate as you type works in OED based on the sorted column. The same works in Object Explorer – just need to include the schema name. Use the Filter command to focus on a set of objects you are working with.&lt;/li&gt;    &lt;li&gt;Use the Search command in the toolbar area of OED to look for object names. If you are in a database, search looks for all objects with the matching name. Use LIKE expressions. If you start the search at the server level, search works across all databases. The Stop command halts the search.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Shell Tips&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Customize the toolbar through Tools | Customize or right click on toolbar and choose Customize command. Move toolbar buttons like Debug, Stop, and Parse to the end of your toolbar so that you don’t click them by accident. &lt;/li&gt;    &lt;li&gt;While in customize, take commands like Edit.SelectAll, and Edit.Delete and drag them on to the toolbar to duplicate the old Query Analyzer Erase button.&lt;/li&gt;    &lt;li&gt;Showed off the &lt;a href="http://blogs.msdn.com/billramo/archive/2009/01/19/find-strings-fast-in-sql-server-management-studio.aspx" target="_blank"&gt;Go to Find Combo box&lt;/a&gt; for Find, Help, and Commands.&lt;/li&gt;    &lt;li&gt;Use Dynamic Help command to show help for commands based on keywords the cursor is on with the T-SQL editor window.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Solutions and Projects&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Create Projects for your scripts. You can use multiple projects per solution to organize your work.&lt;/li&gt;    &lt;li&gt;Set the Connect for your project to use as the default connection for scripts in your project.&lt;/li&gt;    &lt;li&gt;Bookmarks allow you to save positions within your scripts for marking TODO areas or places of interest. You can create folders to organize your bookmarks within your solution. Use the Edit | Bookmark command set to see the keystrokes. Bookmarks are saved with the solution.&lt;/li&gt;    &lt;li&gt;Use Templates to store your&amp;#160; standard scripts of interest. Each user has their own folder that you could push changes to using SMS. Use the Ctrl+Shirt+M command to replace template parameters that look like:     &lt;br /&gt; &amp;lt;object_name, datatype, default_value&amp;gt;&lt;/li&gt;    &lt;li&gt;Showed how you can change the default template for the New Stored Procedure command by going into the Program Files directory C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\Sql\Stored Procedure.&lt;/li&gt;    &lt;li&gt;Modify the SQLFile.sql file in C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\Sql to add text to New Query windows.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Editor Tips&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Change the color of the Editor status bar to help prevent you from executing the wrong query against a production server. Use the connection properties for Registered Servers, or the Connection properties in the Connection dialog for OE or Editor windows to change the color.&lt;/li&gt;    &lt;li&gt;Use Tools | Options for Fonts &amp;amp; Colors to change the size of your tooltip. You can also change the size of the results in grids, etc.&lt;/li&gt;    &lt;li&gt;To Block Select text, use Alt+Mouse moving. With the keyboard, use Shift+Alt+ArrowKeys&lt;/li&gt;    &lt;li&gt;Delete leading Whitespace for a line of text or selected lines of text with Ctrl+K, Ctrl+\ combo.&lt;/li&gt;    &lt;li&gt;Use the spitter control at the upper right corner of the text editor window to split your file just like MS Word. You can also use the Window | Split command to do the same. Window | Remove Split to do just as the command states.&lt;/li&gt;    &lt;li&gt;Easily add a new line below the current line – regardless of cursor position in the line using Ctrl+Shift+Enter. Add a line above the current one using Ctrl+Enter.&lt;/li&gt;    &lt;li&gt;Move a line down using Alt+Shift+T. Sorry – no command to move the line up.&lt;/li&gt;    &lt;li&gt;Using Ctrl+I to incrementally search for text in the editor. It finds as you type. When you found what you are looking for, use F3 to Find Next and Sift+F3 to find previous. Search term goes into the Go to Find combo.&lt;/li&gt;    &lt;li&gt;If you collapse regions in you text and can’t find it using the Find command, make sure you set the search option Find in Hidden text.&lt;/li&gt;    &lt;li&gt;Use Ctrl+J with intellisense to replace one column with another. Use object aliases to make finding items easier.&lt;/li&gt;    &lt;li&gt;You can set options like – turn off Intellisense when working against a stressed production server – by using the Tools | options setting for the T-SQL Editor.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Debugging&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Demonstrated the 3 part series that I blogged about. Start with “&lt;a href="http://blogs.msdn.com/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-1.aspx" target="_blank"&gt;Basic Debugging&lt;/a&gt;”&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;SSMS Start-Up Options and Activity Monitor&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Demonstrated how to change your Startup options to launch Activity Monitor each time you start SSMS.&lt;/li&gt;    &lt;li&gt;Demonstrated how to use Activity Monitor to track down queries with missing indexes. See blog entry “&lt;a href="http://blogs.msdn.com/billramo/archive/2009/01/13/not-more-excuses-of-missing-indexes-with-activity-monitor-in-sql-server-2008.aspx" target="_blank"&gt;Not more excuses of missing indexes with Activity Monitor in SQL Server 2008&lt;/a&gt;”&lt;/li&gt;    &lt;li&gt;Demonstrated how to use Activity Monitor to track down blocking queries.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Multi-Server Query Execution&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;From registered servers, run queries against any folder. Status bar is in a different color and shows how many servers will execute the query.&lt;/li&gt;    &lt;li&gt;Configure output options to include Server name and Login name in the results using Tools | Options for Multi-Server queries.&lt;/li&gt;    &lt;li&gt;Demonstrated using the template file by dragging the ChangeSAPassword template into a blank multi-server query editor. Here is the script example.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;-- Change SA password across servers   &lt;br /&gt;USE [master]    &lt;br /&gt;GO    &lt;br /&gt;ALTER LOGIN [sa] WITH PASSWORD='&amp;lt;Password_String, sysname, SAPassWord&amp;gt;';    &lt;br /&gt;GO    &lt;br /&gt;SELECT name, sid, modify_date     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; FROM sys.sql_logins     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; WHERE name = 'sa';    &lt;br /&gt;GO &lt;/p&gt;  &lt;p&gt;Use the Ctrl+Shift+M key to replace the SA password.&lt;/p&gt;  &lt;p&gt;Thank you everyone who attended the session.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;img title="TENA_blgr3_seeme" border="0" alt="TENA_blgr3_seeme" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width="120" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d6ec092d-a4c9-422b-b8ce-ebf722c0df2c" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server" rel="tag"&gt;SQL Server&lt;/a&gt;,&lt;a href="http://technorati.com/tags/TechEd" rel="tag"&gt;TechEd&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SSMS" rel="tag"&gt;SSMS&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9618859" width="1" height="1"&gt;</description></item><item><title>PowerShell Script Examples from DAT314</title><link>http://blogs.msdn.com/b/billramo/archive/2009/05/13/powershell-script-examples-from-dat314.aspx</link><pubDate>Thu, 14 May 2009 05:36:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9613282</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9613282</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/05/13/powershell-script-examples-from-dat314.aspx#comments</comments><description>&lt;p&gt;I’d like to thank everyone who attended my TechEd session today titled “Manageability Series: Microsoft SQL Server Automation on Steroids, Including PowerShell Support”. Sean McCown – SQL MVP – and all around DBA – creator of the Midnight DBA videos available at: &lt;a title="http://midnightdba.itbookworm.com/" href="http://midnightdba.itbookworm.com/"&gt;http://midnightdba.itbookworm.com/&lt;/a&gt; – was kind enough to stop by after the session to point out how the SQLPS shell doesn’t support plug-ins. Chad Miller’s SQLPSX library of useful scripts for working with SQL Server will work with the SQLPS shell – you just might not get all the functionality. Your best bet is to configure the standard PS shell as Michiel Wories describes in his blog post at: &lt;a href="http://blogs.msdn.com/mwories/archive/2008/06/14/SQL2008_5F00_Powershell.aspx" target="_blank"&gt;“SQL Server PowerShell is Here!”&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Here is a list of the PowerShell script examples that I demonstrated in my session that &lt;a href="http://blogs.msdn.com/buckwoody/default.aspx" target="_blank"&gt;Buck Woody&lt;/a&gt; provided to me.&lt;/p&gt;  &lt;p&gt;# TechEd PowerShell Overview examples for DAT314   &lt;br /&gt;# Originally from Buck Woody &lt;a href="http://blogs.msdn.com/buckwoody/default.aspx"&gt;http://blogs.msdn.com/buckwoody/default.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;# Show Databases not backed up in a day   &lt;br /&gt;DIR &amp;quot;SQLSERVER:\SQL\SQL1\SQL2K8\Databases&amp;quot; |     &lt;br /&gt;where-Object {((get-date)-($_.LastBackupDate)).days -gt 1} |     &lt;br /&gt;sort-Object -Property LastBackupDate |     &lt;br /&gt;select-Object Name, RecoveryModel, LastBackupDate &lt;/p&gt;  &lt;p&gt;# Server Discovery   &lt;br /&gt;$machine_name = &amp;quot;SQL1&amp;quot;    &lt;br /&gt;get-wmiobject -class win32_service -computer $machine_name&amp;#160; |     &lt;br /&gt;where { $_.name -like 'MSSQL*' -and $_.Description -like '*transaction*'} |     &lt;br /&gt;select name |     &lt;br /&gt;ConvertTo-HTML -title &amp;quot;Services&amp;quot; -head &amp;quot;&amp;lt;link rel='stylesheet' href='styles.css' type='text/css' /&amp;gt;&amp;quot; |     &lt;br /&gt;Out-File C:\ServiceNames.html &lt;/p&gt;  &lt;p&gt;# Show all services and their states using WMI   &lt;br /&gt;$strComputer = &amp;quot;.&amp;quot;    &lt;br /&gt;$tab = [char]9    &lt;br /&gt;$colItems = get-wmiobject -class &amp;quot;Win32_Service&amp;quot; -namespace &amp;quot;root\cimv2&amp;quot; -computername $strComputer | sort &amp;quot;State&amp;quot;    &lt;br /&gt;foreach ($objItem in $colItems) {write-host $objItem.State $tab $objItem.Name} &lt;/p&gt;  &lt;p&gt;#Write to the log:   &lt;br /&gt;$log = New-Object System.Diagnostics.EventLog     &lt;br /&gt;$log_type = &amp;quot;Application&amp;quot;    &lt;br /&gt;$source = &amp;quot;ApplicationName&amp;quot;    &lt;br /&gt;$message = &amp;quot;Message To Enter Go TechEd&amp;quot;    &lt;br /&gt;$eventid = 12347    &lt;br /&gt;$type = &amp;quot;Information&amp;quot;    &lt;br /&gt;$log.set_log($log_type)    &lt;br /&gt;$log.set_source($source)    &lt;br /&gt;$log.WriteEntry($message,$type,$eventid)    &lt;br /&gt;#Read the log:    &lt;br /&gt;get-eventlog application | Where-Object {$_.EventID -eq 12347}    &lt;br /&gt;get-eventlog application | Where-Object {$_.source -eq &amp;quot;ApplicationName&amp;quot;}    &lt;br /&gt;#Clear the event log    &lt;br /&gt;Get-EventLog -list | % {$_.Clear()} &lt;/p&gt;  &lt;p&gt;# Accout Group names using WMI   &lt;br /&gt;$groups = Get-WmiObject –computerName SQL1 Win32_Group     &lt;br /&gt;$groups | %{$_.Name} &lt;/p&gt;  &lt;p&gt;# Simple Yes and No    &lt;br /&gt;$s = 'Welcome to Powershell - You Like?'    &lt;br /&gt;[System.Reflection.Assembly]::LoadWithPartialName(&amp;quot;System.Windows.Forms&amp;quot;)    &lt;br /&gt;$d = [Windows.Forms.MessageBox]::Show($s, &amp;quot;Windows Form&amp;quot;, [Windows.Forms.MessageBoxButtons]::YesNo, [Windows.Forms.MessageBoxIcon]::Question)    &lt;br /&gt;$d -eq [Windows.Forms.DialogResult]::Yes &lt;/p&gt;  &lt;p&gt;#--------------------------------------------   &lt;br /&gt;# SQLPSX - SQL Server PowerShell Extensions    &lt;br /&gt;# By Chad Miller    &lt;br /&gt;# &lt;a href="http://sqlpsx.codeplex.com/"&gt;http://sqlpsx.codeplex.com/&lt;/a&gt;    &lt;br /&gt;# Set of useful CMDLETs that use SMO objects    &lt;br /&gt;#--------------------------------------------    &lt;br /&gt;# View some of the commands    &lt;br /&gt;Get-Command *et-Sql* | Select Name &lt;/p&gt;  &lt;p&gt;# With SQLPSX   &lt;br /&gt;$server = Get-SqlServer 'SQL1\DEMO1' &lt;/p&gt;  &lt;p&gt;# With SMO   &lt;br /&gt;#Connect and run a command using SMO    &lt;br /&gt;[reflection.assembly]::LoadWithPartialName(&amp;quot;Microsoft.SqlServer.Smo&amp;quot;)    &lt;br /&gt;$sqlServer = new-object (&amp;quot;Microsoft.SqlServer.Management.Smo.Server&amp;quot;) &amp;quot;SQL1\DEMO1&amp;quot; &lt;/p&gt;  &lt;p&gt;# Get server processes   &lt;br /&gt;$server.EnumProcesses() | Format-Table &lt;/p&gt;  &lt;p&gt;$db = Get-SqlDatabase 'SQL1\SQL2K8' AdventureWorks   &lt;br /&gt;Get-SqlUser $db | Format-Table &lt;/p&gt;  &lt;p&gt;Get-SqlLogin $server | select members &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;img title="TENA_blgr3_seeme" border="0" alt="TENA_blgr3_seeme" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width="120" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:21eec5a3-7a0a-4ed0-8191-1ce2d241ccde" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server" rel="tag"&gt;SQL Server&lt;/a&gt;,&lt;a href="http://technorati.com/tags/TechEd" rel="tag"&gt;TechEd&lt;/a&gt;,&lt;a href="http://technorati.com/tags/PowerShell" rel="tag"&gt;PowerShell&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9613282" width="1" height="1"&gt;</description></item><item><title>Welcome to TechEd 2009</title><link>http://blogs.msdn.com/b/billramo/archive/2009/05/10/welcome-to-teched-2009.aspx</link><pubDate>Mon, 11 May 2009 06:37:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9601345</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9601345</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/05/10/welcome-to-teched-2009.aspx#comments</comments><description>&lt;p&gt;This is my first TechEd in a long time. The last time I spoke at a TechEd was back in 1997 in Japan! I have three sessions this Tuesday, Wednesday, and Thursday that talk about how to get the most out of our manageability suite of tools in SSMS.&amp;#160; &lt;/p&gt;  &lt;p&gt;If you happen to be at TechEd this year, stop by the Technical Learning Center at the DAT area and say hello. I’ll be on Twitter as well @billramo talking about #teched.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:cb5f39e0-7fb8-4086-8e9f-67efba71c359" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/TechEd" rel="tag"&gt;TechEd&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;img title="TENA_blgr3_seeme" border="0" alt="TENA_blgr3_seeme" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width="120" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9601345" width="1" height="1"&gt;</description></item><item><title>SQLPSX from Chad Miller</title><link>http://blogs.msdn.com/b/billramo/archive/2009/05/06/sqlpsx-from-chad-miller.aspx</link><pubDate>Thu, 07 May 2009 06:19:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9592649</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9592649</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/05/06/sqlpsx-from-chad-miller.aspx#comments</comments><description>&lt;p&gt;I’ve been playing around &lt;a href="http://chadwickmiller.spaces.live.com/default.aspx" target="_blank"&gt;Chad Miller’s&lt;/a&gt; SQL Server PowerShell Extensions – &lt;a href="http://sqlpsx.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=25394" target="_blank"&gt;SQLPSX 1.5&lt;/a&gt; on &lt;a href="http://www.codeplex.com/" target="_blank"&gt;CodePlex&lt;/a&gt; getting ready for my &lt;a href="http://www.msteched.com/teched/agenda.aspx" target="_blank"&gt;TechEd&lt;/a&gt; session Manageability Series: Microsoft SQL Server Automation on Steroids, Including Powershell on Wed 5/13. &lt;/p&gt;  &lt;p&gt;Chad has developed huge library of Powershell cmdlets, functions, and scripts that hit the key scenarios for SQL Server DBAs. All of the functions that Chad developed can be accomplished using the SMO object model calls, but Chad’s functions exposes them like you would expect to see them in PowerShell.&lt;/p&gt;  &lt;p&gt;For example, once you install his library along with using either the SQL PowerShell shell or a PowerShell 1.0 shell referencing the SQL snapins – see &lt;a href="http://msdn.microsoft.com/en-us/library/cc281962.aspx" target="_blank"&gt;Running SQL Server PowerShell&lt;/a&gt; – you can mix and match functionality.&lt;/p&gt;  &lt;p&gt;For example, &lt;a href="http://chadwickmiller.spaces.live.com/blog/cns!EA42395138308430!315.entry" target="_blank"&gt;take his example of running DBCC&lt;/a&gt; CheckDB for a database. &lt;/p&gt;  &lt;p&gt;#Get a database object and set to a variable   &lt;br /&gt;$db = get-sqldatabase 'SQL1\DEMO1' pubs&lt;/p&gt;  &lt;p&gt;#Run a checkdatabse   &lt;br /&gt;invoke-sqldatabasecheck $db&lt;/p&gt;  &lt;p&gt;That’s all it takes – no need to use the SMO object model.&amp;#160; You can use a command like this to run DBCC CheckDB against all databases:&lt;/p&gt;  &lt;p&gt;cd SQLSERVER:\SQL\SQL1\DEMO1\Databases   &lt;br /&gt;dir | invoke-sqldatabasecheck&lt;/p&gt;  &lt;p&gt;This is all very cool and something that I’ll be presenting in my TechEd session. Be sure to check out &lt;a href="http://sqlpsx.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=25394"&gt;SQLPSX&lt;/a&gt; and &lt;a href="http://chadwickmiller.spaces.live.com/default.aspx"&gt;Chad’s excellent blog&lt;/a&gt;.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5efd7f19-072e-4fe7-998f-08dd1e2851d4" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server" rel="tag"&gt;SQL Server&lt;/a&gt;,&lt;a href="http://technorati.com/tags/PowerShell" rel="tag"&gt;PowerShell&lt;/a&gt;,&lt;a href="http://technorati.com/tags/TechEd" rel="tag"&gt;TechEd&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;img title="TENA_blgr3_seeme" border="0" alt="TENA_blgr3_seeme" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width="120" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9592649" width="1" height="1"&gt;</description></item><item><title>Transact-SQL Debugger for SQL Server 2008 – Part 3</title><link>http://blogs.msdn.com/b/billramo/archive/2009/04/12/transact-sql-debugger-for-sql-server-2008-part-3.aspx</link><pubDate>Sun, 12 Apr 2009 22:39:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9546477</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9546477</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/04/12/transact-sql-debugger-for-sql-server-2008-part-3.aspx#comments</comments><description>&lt;p&gt;In part 3 of working with the debugger, I’ll talk about how to set breakpoints and the trick to setting them in stored procedures and triggers.&lt;/p&gt;  &lt;p&gt;This 3 part series covers:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-1.aspx"&gt;Basic debugging&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-2.aspx"&gt;Configure remote debugging &amp;amp; best practices&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Debugging triggers and stored procedures with breakpoints &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;The trick with setting breakpoints in called stored procedures and triggers is that they need to be set within the temporary file that the debugger creates for the object.&lt;/p&gt;  &lt;p&gt;In this scenario, I’m going to call the HumanResources.uspUpdateEmployeeHireInfo stored procedure in the 2005 version of AdventureWorks. This stored procedure updates two tables: Employee and EmployPayHistory both in the HumanResources schema.&amp;#160; The goal of the example is to set a breakpoint in the trigger for the Employee table and then show how the debugger catches it the next time through.&lt;/p&gt;  &lt;p&gt;The obvious thing that you would try is to Modify the trigger and then toggling the breakpoint [F9] on the line you want to stop at. The problem is that the debugger has no context. so the approach shown below won’t work.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging30%20-%20No%20good%20with%20Modify_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging30 - No good with Modify" border="0" alt="Debugging30 - No good with Modify" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging30%20-%20No%20good%20with%20Modify_thumb.jpg" width="418" height="297" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;What you need to do is step into the stored procedure or trigger you want to break on and set the breakpoint in the temp file the debugger creates.&lt;/p&gt;  &lt;p&gt;Let’s step through the example starting with the script to call the stored procedure.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging31%20-%20Start%20script_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging31 - Start script" border="0" alt="Debugging31 - Start script" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging31%20-%20Start%20script_thumb.jpg" width="448" height="420" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;I’ve toggled the breakpoint to demonstrate how breakpoints can be set in a script of batch statements. When U press [ALT]+[F5] twice to start and continue debugging, you’ll see the debug stops at the break point in the script.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging32%20-%20Break%20in%20script_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging32 - Break in script" border="0" alt="Debugging32 - Break in script" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging32%20-%20Break%20in%20script_thumb.jpg" width="452" height="426" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You will now want to Step Into the stored procedure with [F11]. The debugger loads up the stored procedure into a new editor window and stops at the first executable line.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging33%20-%20Now%20in%20SP_4.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging33 - Now in SP" border="0" alt="Debugging33 - Now in SP" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging33%20-%20Now%20in%20SP_thumb_1.jpg" width="450" height="428" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Notice in the Call Stack window that procedure name is followed by (SQL1\SQL2K8.AdventureWorks) indicating the server instance and database name context for the debugging session. If you hover over the statement, you will see a tool top showing the parameters with values called and the current line.&lt;/p&gt;  &lt;p&gt;Step into [F11] again moves to the BEGIN TRY statement. [F11] again to the BEGIN TRANSACTION statement. One more [F11] positions you on the UPDATE statement for the Employee table.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging34%20-%20ready%20to%20go%20into%20update_4.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging34 - ready to go into update" border="0" alt="Debugging34 - ready to go into update" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging34%20-%20ready%20to%20go%20into%20update_thumb_1.jpg" width="447" height="416" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step into [F11] the UPDATE statement causes the debugger to load the update trigger for the Employee table.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging34%20-%20In%20Update%20trigger_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging34 - In Update trigger" border="0" alt="Debugging34 - In Update trigger" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging34%20-%20In%20Update%20trigger_thumb.jpg" width="452" height="284" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;At this point, we can now set a breakpoint [F9] on the UPDATE statement for the trigger.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging36%20-%20Set%20bp%20in%20update%20trigger_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging36 - Set bp in update trigger" border="0" alt="Debugging36 - Set bp in update trigger" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging36%20-%20Set%20bp%20in%20update%20trigger_thumb.jpg" width="458" height="329" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;In the breakpoint window for this example, you’ll notice something interesting.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging37%20-%20object%20id%20set_4.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging37 - object id set" border="0" alt="Debugging37 - object id set" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging37%20-%20object%20id%20set_thumb_1.jpg" width="457" height="223" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You’ll see that the debugger is actually showing the object_id for the trigger name. This way the the debugger can keep track of the breakpoint for future sessions. &lt;/p&gt;  &lt;p&gt;For now, lets press [ALT]+[F5] to let the debugger continue. Lets test out the breakpoint for the trigger.&lt;/p&gt;  &lt;p&gt;First toggle off the breakpoint [F9] in line 11 of the calling script. Then press [ALT]+[F5] to start the debugger. You’ll see that the breakpoint is still present in the Breakpoint Window.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging38%20-%20Start%20again%20to%20demo%20break_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging38 - Start again to demo break" border="0" alt="Debugging38 - Start again to demo break" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging38%20-%20Start%20again%20to%20demo%20break_thumb.jpg" width="454" height="418" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;One more continue [ALT]+[F5] stops right where you want!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging39%20-%20Stopped%20where%20we%20needed_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging39 - Stopped where we needed" border="0" alt="Debugging39 - Stopped where we needed" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part3_B1BE/Debugging39%20-%20Stopped%20where%20we%20needed_thumb.jpg" width="455" height="320" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Let’s finish the debug session with the Continue command [ALT]+[F5]. &lt;/p&gt;  &lt;p&gt;At this point, I should point out that breakpoints are persisted with the database solution/project. If you didn’t have solution, any breakpoints you defined will go away when you close SSMS. To learn more about solutions, you can refer to the help topic – &lt;a href="http://msdn.microsoft.com/en-us/library/ms173570.aspx"&gt;Using Solution Explorer&lt;/a&gt;.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1bdfb2d4-f61a-4f72-9d20-bec757957a4c" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server+Mangement+Studio" rel="tag"&gt;SQL Server Mangement Studio&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SQL+Server+2000" rel="tag"&gt;SQL Server 2000&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Transact-SQL+Debugger" rel="tag"&gt;Transact-SQL Debugger&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;img title="TENA_blgr3_seeme" border="0" alt="TENA_blgr3_seeme" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width="120" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9546477" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SSMS/">SSMS</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/Debugger/">Debugger</category></item><item><title>Transact-SQL Debugger for SQL Server 2008 – Part 2</title><link>http://blogs.msdn.com/b/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-2.aspx</link><pubDate>Sun, 12 Apr 2009 07:02:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9546134</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9546134</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-2.aspx#comments</comments><description>&lt;p&gt;This blog will go over what you need to know for setting up your environment for remote debugging along with best practices and other things to consider when using the debugger in SSMS.&lt;/p&gt;  &lt;p&gt;This 3 part series covers:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-1.aspx" target="_blank"&gt;Basic debugging&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Configure remote debugging &amp;amp; best practices &lt;/li&gt;    &lt;li&gt;Debugging triggers and stored procedures with breakpoints &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;The debugger consists of 2 components. The server component is installed with the sqlservr.exe. The client component is installed as part of SSMS. When SSMS and the instance you want to debug are on the same system, there is nothing configure. You do however need to login to the instance as a member of the &lt;strong&gt;sysadmin&lt;/strong&gt; role.&lt;/p&gt;  &lt;p&gt;If you need to debug a remote instance, you need to enable the program and port exceptions using the Windows Firewall Control Panel application on both computers.&lt;/p&gt;  &lt;p&gt;On the computer that is running the instance of the Database Engine, in &lt;strong&gt;Windows Firewall&lt;/strong&gt;, specify the following information:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Add TCP port 135 to the exceptions list.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging21%20-%20Firewall_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging21 - Firewall" border="0" alt="Debugging21 - Firewall" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging21%20-%20Firewall_thumb.jpg" width="389" height="464" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging22%20-%20Add%20Port_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging22 - Add Port" border="0" alt="Debugging22 - Add Port" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging22%20-%20Add%20Port_thumb.jpg" width="357" height="267" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Add the program sqlservr.exe to the exceptions list. By default, sqlservr.exe is installed in C:\Program Files\Microsoft SQL Server\MSSQL10.&lt;em&gt;InstanceName&lt;/em&gt;\MSSQL\Binn, where &lt;em&gt;InstanceName&lt;/em&gt; is MSSQLSERVER for the default instance, and the instance name for any named instance.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging23%20-%20Add%20Program_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging23 - Add Program" border="0" alt="Debugging23 - Add Program" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging23%20-%20Add%20Program_thumb.jpg" width="339" height="348" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging24%20-%20Add%20Server_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging24 - Add Server" border="0" alt="Debugging24 - Add Server" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging24%20-%20Add%20Server_thumb.jpg" width="412" height="310" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;If the domain policy requires network communications to be done through IPsec, you must also add UDP port 4500 and UDP port 500 to the exception list.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging25%20-%20Done%20with%20server_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Debugging25 - Done with server" border="0" alt="Debugging25 - Done with server" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part2_127B3/Debugging25%20-%20Done%20with%20server_thumb.jpg" width="355" height="423" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;With the server instance taken care of, you now need to take care of SSMS on the client.&lt;/p&gt;  &lt;p&gt;On the computer that is running SQL Server Management Studio, in &lt;strong&gt;Windows Firewall&lt;/strong&gt;, specify the following information:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Add TCP port 135 to the exceptions list.&lt;/li&gt;    &lt;li&gt;Add program ssms.exe (SQL Server Management Studio) to the exceptions list. By default, ssms.exe is installed in C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You are now ready to launch SSMS for remote debugging.&lt;/p&gt;  &lt;p&gt;It is highly recommended that Transact-SQL code be debugged on a test server, not a production server, for the following reasons:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Debugging is a highly privileged operation. Therefore, only members of the &lt;strong&gt;sysadmin&lt;/strong&gt; fixed server role are allowed to debug in SQL Server.&lt;/li&gt;    &lt;li&gt;Debugging sessions often run for long periods of time while you investigate the operations of several Transact-SQL statements. Locks, such as update locks, that are acquired by the session might be held for extended periods, until the session is ended or the transaction committed or rolled back.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;That’s it for part 2.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:97906483-6067-405d-b230-3ef0bf212f6f" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server+management+Studio" rel="tag"&gt;SQL Server management Studio&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SQL+Server+2008" rel="tag"&gt;SQL Server 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Transact-SQL+Debugger" rel="tag"&gt;Transact-SQL Debugger&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;img title="TENA_blgr3_seeme" border="0" alt="TENA_blgr3_seeme" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width="120" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9546134" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SSMS/">SSMS</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/Debugger/">Debugger</category></item><item><title>Transact-SQL Debugger for SQL Server 2008 – Part 1</title><link>http://blogs.msdn.com/b/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-1.aspx</link><pubDate>Sun, 12 Apr 2009 02:22:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9545938</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9545938</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-1.aspx#comments</comments><description>&lt;p&gt;In my next series of blog posts, I’ll explore the Transact-SQL Debugger for SQL Server 2008. This feature only works against database instances of SQL Server 2008. If you need to use a debugger for SQL Server 2005, you’ll have to use the Visual Studio Professional SKU or better. Please refer to the MSDN topic on &lt;a href="http://msdn.microsoft.com/en-us/library/s0fk6z6e(VS.80).aspx" target="_blank"&gt;How to: Enable SQL Server 2005 Debugging&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;This series will cover:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Basic debugging &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-2.aspx" target="_blank"&gt;Configure remote debugging &amp;amp; best practices&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/billramo/archive/2009/04/11/transact-sql-debugger-for-sql-server-2008-part-3.aspx"&gt;Debugging triggers and stored procedures with breakpoints&lt;/a&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;The Transact-SQL debugger in SQL Server Management Studio enables you to find errors in Transact-SQL scripts, stored procedures, triggers, and functions by observing their run-time behavior. You can start the debugger when you are using the Database Engine Query Editor window. By using the Transact-SQL debugger, you can do the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Step through the Transact-SQL statements in the editor line by line, or set breakpoints to stop at specific lines. &lt;/li&gt;    &lt;li&gt;Step into or over Transact-SQL stored procedures, functions, or triggers that are run by the code in the editor window. &lt;/li&gt;    &lt;li&gt;Watch the values that are assigned to variables, and observe system objects such as the call stack and threads. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The examples that I’m going to show are based on the SQL Server 2005 version of AdventureWorks that can be downloaded &lt;a href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004" target="_blank"&gt;here&lt;/a&gt;. My demo for this post assumes that SSMS in debugging and instance on the same machine. I’ll cover remote debugging in Part 2. If you need to deal with remote debugging and can’t wait – check out the help topic on &lt;a href="http://msdn.microsoft.com/en-us/library/cc646024.aspx" target="_blank"&gt;Configuring and Starting the Transact-SQL Debugger&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;To kick things off, open the script file that you want to debug and then click on the green debug toolbar button or press [ALT]-[F5].&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging01%20-%20Start%20debugging_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Debugging01 - Start debugging" border="0" alt="Debugging01 - Start debugging" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging01%20-%20Start%20debugging_thumb.jpg" width="451" height="280" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;SSMS launches into a Debugging session by clearing aside may of your tool windows, opens the debugger specific tool windows and debugger toolbar, and displays a Yellow arrow indicating the next statement to execute.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging02%20-%20Debugger%20Launched_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Debugging02 - Debugger Launched" border="0" alt="Debugging02 - Debugger Launched" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging02%20-%20Debugger%20Launched_thumb.jpg" width="455" height="344" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;To step through statements like two set statements in this example, press the F11 key twice. You’ll notice that the Locals is now populated with the two variables.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging03%20-%20Variables%20in%20Locals%20window_4.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Debugging03 - Variables in Locals window" border="0" alt="Debugging03 - Variables in Locals window" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging03%20-%20Variables%20in%20Locals%20window_thumb_1.jpg" width="454" height="342" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The next F11 action then steps into the stored procedure. If you press the Step-Over [F10], you would go right over the stored procedure and in this case – end the debugging session.&lt;/p&gt;  &lt;p&gt;The debugger opens a special editor window for the stored procedure that you just stepped into along with hints that you don’t really want to make edits to this file.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging04%20-%20Stepping%20into%20an%20SP_6.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Debugging04 - Stepping into an SP" border="0" alt="Debugging04 - Stepping into an SP" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging04%20-%20Stepping%20into%20an%20SP_thumb_2.jpg" width="453" height="281" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The other thing you’ll notice is the Locals window now shows the value for the SP parameters and the Call Stack window is updated to show that you are now in the SP.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging05%20-%20Locals%20and%20Call%20Stack_6.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Debugging05 - Locals and Call Stack" border="0" alt="Debugging05 - Locals and Call Stack" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging05%20-%20Locals%20and%20Call%20Stack_thumb_2.jpg" width="455" height="278" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The Locals window allows you to edit values so that you can change scenarios inside of the debug session. You can use the mouse or the [CTRL]+[ALT]+[V], [L] command to navigate to the Locals window. This is a little different pattern of calling up debugger windows like [CTRL]+[ALT]+[C] for the Call Stack window because [CTRL]+[ALT]+[L] was already taken for displaying the Solution Explorer.&amp;#160; Back to the task – now double click on the value 819 for @StartProductId and then type in 820 and press [ENTER].&amp;#160; You’ll see that the value changes color to Red meaning it’s been modified.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging06%20-%20Changing%20a%20local%20value_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Debugging06 - Changing a local value" border="0" alt="Debugging06 - Changing a local value" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging06%20-%20Changing%20a%20local%20value_thumb.jpg" width="456" height="238" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;We could continue to step thru the procedure, but since this procedure only has one more command, we can press the Step Out [SHIFT]+[F11] command to complete execution in the stored procedure. &lt;/p&gt;  &lt;p&gt;If you had additional statements in the original script DebugSPExample.sql script like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging07%20-%20More%20statements_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Debugging07 - More statements" border="0" alt="Debugging07 - More statements" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging07%20-%20More%20statements_thumb.jpg" width="329" height="287" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The debugger would set focus to the editor window and indicate in the status bar “Debugging query” to remind you that you are still debugging.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging07%20-%20Still%20debugging_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Debugging07 - Still debugging" border="0" alt="Debugging07 - Still debugging" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/TransactSQLDebuggerforSQLServer2008Part1_E615/Debugging07%20-%20Still%20debugging_thumb.jpg" width="451" height="339" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If you press [ALT]+[F5], you would complete the debugging session for this demo.&lt;/p&gt;  &lt;p&gt;Here are the keystrokes for the debugger with the Standard keyboard setting.&lt;/p&gt;  &lt;table border="1" cellpadding="0"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="bottom"&gt;         &lt;p&gt;&lt;b&gt;Action &lt;/b&gt;&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="bottom"&gt;         &lt;p&gt;&lt;b&gt;Standard &lt;/b&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Start or continue debugging&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;ALT+F5&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Stop debugging&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;SHIFT+F5&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Step into&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;F11&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Step over&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;F10&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Step out&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;SHIFT+F11&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Implement the &lt;b&gt;Run To Cursor&lt;/b&gt; command&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+F10&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;QuickWatch&lt;/b&gt; dialog box&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+Q&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Toggle breakpoint&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;F9&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Delete all breakpoints&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+SHIFT+F9&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Breakpoints&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+B&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Break all&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+BREAK&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Watch 1&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+W, 1&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Watch 2&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+W, 2&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Watch 3&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+W, 3&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Watch 4&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+W, 4&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Autos&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+V, A&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Locals&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+V, L&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Immediate&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+I&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Call Stack&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+C&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top"&gt;         &lt;p&gt;Display the &lt;b&gt;Threads&lt;/b&gt; window&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top"&gt;         &lt;p&gt;CTRL+ALT+H&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;That’s it for debugging basics for part 1.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:6be00d86-742a-45ed-8f0b-6da1ad3d1625" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server+Management+Studio" rel="tag"&gt;SQL Server Management Studio&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Transact-SQL+Debugger" rel="tag"&gt;Transact-SQL Debugger&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SQL+Server+2008" rel="tag"&gt;SQL Server 2008&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;img title="TENA_blgr3_seeme" border="0" alt="TENA_blgr3_seeme" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width="120" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9545938" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SSMS/">SSMS</category><category domain="http://blogs.msdn.com/b/billramo/archive/tags/Debugger/">Debugger</category></item><item><title>SQL Server Management Studio Tips – Part 4</title><link>http://blogs.msdn.com/b/billramo/archive/2009/04/10/sql-server-management-studio-tips-part-4.aspx</link><pubDate>Sat, 11 Apr 2009 05:58:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9544530</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9544530</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/04/10/sql-server-management-studio-tips-part-4.aspx#comments</comments><description>&lt;p&gt;This is the fourth in a series of posts highlighting &lt;a href="http://twitter.com/scottcate"&gt;Scott Cate&lt;/a&gt;’s video series of &lt;a href="http://scottcate.com/tricks/"&gt;Visual Studio tricks&lt;/a&gt; over the last few months from &lt;a href="http://blogs.msdn.com/saraford/default.aspx"&gt;Sara Ford’s blog&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;As I mentioned in &lt;a href="http://blogs.msdn.com/billramo/archive/2009/04/08/sql-server-management-studio-tips-part-1.aspx"&gt;Part 1&lt;/a&gt;, many of the commands are documented in the&amp;#160; SQL Server 2008 help topic – &lt;a href="http://msdn.microsoft.com/en-us/library/ms174205.aspx"&gt;SQL Server Management Studio Keyboard Shortcuts&lt;/a&gt;.&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="448"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="262"&gt;Blog Post&lt;/td&gt;        &lt;td valign="top" width="184"&gt;Comments&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="262"&gt;&lt;a href="http://scottcate.com/Tricks/057/" target="_blank"&gt;#57 [Ctrl]+[J] invokes statement completion&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;This works best when using aliases.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="262"&gt;&lt;a href="http://scottcate.com/Tricks/059/" target="_blank"&gt;#59 Resize the Statement Completion Window&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;A handy way to see more items where vertical size is persisted.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="262"&gt;&lt;a href="http://scottcate.com/Tricks/061/" target="_blank"&gt;#61 Presenters Must Read .. Increase the Editor Tooltip Font Size&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;This is something that I already have in my demo environment. It’s useful for people with old eyes as well.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="262"&gt;&lt;a href="http://scottcate.com/Tricks/062/" target="_blank"&gt;#62 Display parameter info for a function&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;Using [CTRL]+[SHIFT]+[SPACE] is very handy if you missed the parameter info the first time.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="262"&gt;&lt;a href="http://scottcate.com/Tricks/064/" target="_blank"&gt;#64 Keyboard Shortcut to Display Quick Info Tooltip&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;In SSMS, the command is a little different. You need to use &lt;em&gt;&lt;strong&gt;&lt;font face="Times New Roman"&gt;[CTRL]+[K], [CTRL]+[I]&lt;/font&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="262"&gt;&lt;a href="http://scottcate.com/Tricks/065/" target="_blank"&gt;#65 Edit.WordComplete via Intellisense&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;This is handy typing in column names without having to display the drop down list.         &lt;br /&gt;          &lt;p&gt;&lt;strong&gt;&lt;em&gt;[CTRL]+[Space] or [ALT]+[RIGHT]&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="262"&gt;&lt;a href="http://scottcate.com/Tricks/066/" target="_blank"&gt;#66 Using Quick find in the Current Document&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;Calls out how you can also dock the Find tool window.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="262"&gt;&lt;a href="http://scottcate.com/Tricks/067/" target="_blank"&gt;#67 Search in hidden text in the editor&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;Something to remember if you get in the habit of collapsing statements.&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;That’s all of Scott’s great tips that also apply to SSMS. &lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d8b5a47b-121a-4183-b181-36cb91eadfd4" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server+Management+Studio" rel="tag"&gt;SQL Server Management Studio&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SQL+Server+2008" rel="tag"&gt;SQL Server 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SQL+Server+2005" rel="tag"&gt;SQL Server 2005&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;img title="TENA_blgr3_seeme" border="0" alt="TENA_blgr3_seeme" src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width="120" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9544530" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SSMS/">SSMS</category></item><item><title>SQL Server Management Studio Tips – Part 3</title><link>http://blogs.msdn.com/b/billramo/archive/2009/04/09/sql-server-management-studio-tips-part-3.aspx</link><pubDate>Fri, 10 Apr 2009 06:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9542220</guid><dc:creator>Bill Ramos</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/billramo/rsscomments.aspx?WeblogPostID=9542220</wfw:commentRss><comments>http://blogs.msdn.com/b/billramo/archive/2009/04/09/sql-server-management-studio-tips-part-3.aspx#comments</comments><description>&lt;P&gt;This is the third in a series of posts highlighting &lt;A href="http://twitter.com/scottcate" mce_href="http://twitter.com/scottcate"&gt;Scott Cate&lt;/A&gt;’s video series of &lt;A href="http://scottcate.com/tricks/" mce_href="http://scottcate.com/tricks/"&gt;Visual Studio tricks&lt;/A&gt; over the last few months from &lt;A href="http://blogs.msdn.com/saraford/default.aspx" mce_href="http://blogs.msdn.com/saraford/default.aspx"&gt;Sara Ford’s blog&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;As I mentioned in &lt;A href="http://blogs.msdn.com/billramo/archive/2009/04/08/sql-server-management-studio-tips-part-1.aspx" mce_href="http://blogs.msdn.com/billramo/archive/2009/04/08/sql-server-management-studio-tips-part-1.aspx"&gt;Part 1&lt;/A&gt;, many of the commands are documented in the&amp;nbsp; SQL Server 2008 help topic – &lt;A href="http://msdn.microsoft.com/en-us/library/ms174205.aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms174205.aspx"&gt;SQL Server Management Studio Keyboard Shortcuts&lt;/A&gt;.&lt;/P&gt;
&lt;TABLE border=1 cellSpacing=0 cellPadding=2 width=449&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;Blog Post&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;Comments&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/033/" target=_blank mce_href="http://scottcate.com/Tricks/033/"&gt;#33 Drag and Drop techniques inside the Visual Studio Editor&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;This post shows how you can use the Ctrl key to make a copy of text you are dragging in the editor and how to drag text into a tabbed editor window.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/034/" target=_blank mce_href="http://scottcate.com/Tricks/034/"&gt;#34 Cut and Paste Collapsed code in Visual Studio&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;With SQL Server 2008 Intellisense, it’s important to know how hidden text is impacted by cut/copy/paste.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/039/" target=_blank mce_href="http://scottcate.com/Tricks/039/"&gt;#39 Middle button support in the Visual Studio Editor&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;I keep forgetting you can click on the wheel of the mouse to scroll.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/041/" target=_blank mce_href="http://scottcate.com/Tricks/041/"&gt;#41 Forward and Backward navigation in Visual Studio Editor&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;Only [CTRL] + [-] works for moving back, but it’s still a handy time saver. If you want to add the tool bar button to your query editor toolbar, you’ll find Navigate Backwards in the View section.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/043/" target=_blank mce_href="http://scottcate.com/Tricks/043/"&gt;#43 Select from Cursor to last “Go Back” marker in Visual Studio&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;This is real handy when you are moving the cursor and realize you want to select the text. &lt;BR&gt;&lt;STRONG&gt;&lt;EM&gt;[CTRL]+[=]&lt;/EM&gt;&lt;/STRONG&gt; = Select from current cursor position to last Go Back marker.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/044/" mce_href="http://scottcate.com/Tricks/044/"&gt;#44 Delete whole word (or whitespace) at a time forward and backwards&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;This is real handy for deleting columns in the project list. [CTRL]+[BACKSPACE] to delete the word to the left and [CTRL]+[DELETE] to delete words to the right.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/045/" mce_href="http://scottcate.com/Tricks/045/"&gt;#45 Move cursor to top or bottom of screen (without scrolling)&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;The use of [CTRL]+{UP ARROW] or [DOWN ARROW] keys to scroll without changing the cursor location is very handy.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/047/" mce_href="http://scottcate.com/Tricks/047/"&gt;#47 Swapping Anchor points (THIS IS COOL!) in Visual Studio&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;When not getting the initial selection right – this is very handy. In SSMS, the keystroke is actually &lt;BR&gt;[CTRL]+[K], [A]&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=277&gt;&lt;A href="http://scottcate.com/Tricks/056/" mce_href="http://scottcate.com/Tricks/056/"&gt;#56 Show Shortcut Keys in Visual Studio Toolbar Tooltips&lt;/A&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=170&gt;Great aid to learn keyboard shortcuts for toolbar buttons.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;On to Part 4 for tomorrow.&lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id=scid:0767317B-992E-4b12-91E0-4F059A8CECA8:63731791-b35c-43dd-ab8b-8fa2f413623a class=wlWriterEditableSmartContent&gt;Technorati Tags: &lt;A href="http://technorati.com/tags/SQL+Server+Management+Studio" rel=tag mce_href="http://technorati.com/tags/SQL+Server+Management+Studio"&gt;SQL Server Management Studio&lt;/A&gt;,&lt;A href="http://technorati.com/tags/SQL+Server+2008" rel=tag mce_href="http://technorati.com/tags/SQL+Server+2008"&gt;SQL Server 2008&lt;/A&gt;,&lt;A href="http://technorati.com/tags/SQL+Server+2005" rel=tag mce_href="http://technorati.com/tags/SQL+Server+2005"&gt;SQL Server 2005&lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/events/TechEd2009/" mce_href="http://www.microsoft.com/events/TechEd2009/"&gt;&lt;IMG title=TENA_blgr3_seeme border=0 alt=TENA_blgr3_seeme src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif" width=120 height=90 mce_src="http://blogs.msdn.com/blogfiles/billramo/WindowsLiveWriter/SQLServerAgentandDatabaseMailBetterToget_11B9D/TENA_blgr3_seeme_3.gif"&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9542220" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/billramo/archive/tags/SSMS/">SSMS</category></item></channel></rss>
