<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Solid Quality Mentor's Blogs</title>
    <link>http://www.solidq.com</link>
    <description> RSSAgregator WebPart by Solid Quality Mentors</description>
    <ttl>5</ttl>
    <item>
      <title>Problemi nella modifica dei Job con SSMS di SQL Server 2008 R2</title>
      <ItemID>None</ItemID>
      <link>http://feedproxy.google.com/~r/ImpedanceMismatch/~3/gr0MoWEWmG8/problemi-nella-modifica-dei-job-con-ssms-di-sql-server-2008-r2.aspx</link>
      <pubDate>2010-09-06T19:02:40+02:00</pubDate>
      <author>dmauri</author>
      <authorID>None</authorID>
      <comments>http://community.ugiss.org/blogs/dmauri/archive/2010/09/06/problemi-nella-modifica-dei-job-con-ssms-di-sql-server-2008-r2.aspx#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;p&gt;Se alla modifica di uno step di un job, dopo aver installato SQL Server 2008 R2, ed in particolare il Management Studio, vi capita di ricevere questo fastidioso errore, in modo assolutamente saltuario:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Creating an instance of the COM component with CLSID {AA40D1D6-CAEF-4A56-B9BB-D0D3DC976BA2} from the IClassFactory failed due to the following error: c001f011. (Microsoft.SqlServer.ManagedDTS)&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://community.ugiss.org/blogs/dmauri/Untitledpicture_76833ED9.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:block;float:none;margin-left:auto;border-top:0px;margin-right:auto;border-right:0px;" title="Untitled picture" border="0" alt="Untitled picture" src="http://community.ugiss.org/blogs/dmauri/Untitledpicture_thumb_61258971.png" width="616" height="193" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;significa che è ora di installare la Cumulative Update 3&lt;/p&gt;  &lt;p&gt;&lt;a title="http://support.microsoft.com/kb/2261464/en-us" href="http://support.microsoft.com/kb/2261464/en-us"&gt;http://support.microsoft.com/kb/2261464/en-us&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;che, tra le altre cose, lo risolve, come documentato in questa KB:&lt;/p&gt;  &lt;p&gt;&lt;a title="http://support.microsoft.com/kb/2315727/" href="http://support.microsoft.com/kb/2315727/"&gt;http://support.microsoft.com/kb/2315727/&lt;/a&gt;&lt;/p&gt;&lt;img src="http://community.ugiss.org/aggbug.aspx?PostID=7703" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ImpedanceMismatch/~4/gr0MoWEWmG8" height="1" width="1"/&gt;</description>
      <category>SQL Server 2008 R2</category>
      <category>Management Studio</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>SQL Server Data Mining Architecture</title>
      <ItemID>None</ItemID>
      <link>http://www.marktab.net/datamining/index.php/2010/09/04/sql-server-data-mining-architecture/</link>
      <pubDate>2010-09-04T13:00:26+02:00</pubDate>
      <author>MarkTab</author>
      <authorID>None</authorID>
      <comments>http://www.marktab.net/datamining/index.php/2010/09/04/sql-server-data-mining-architecture/#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>Data Mining with Microsoft SQL Server 2008 Review Chapter 15 As the authors state, if you are only interested in data mining analysis you could skip this chapter. I believe this book leans toward the Microsoft technology, and therefore the goal of the book is not necessarily to make someone a better data mining analyst [...]</description>
      <category>Analysis Services</category>
      <category>SQL Server Data Mining</category>
      <category>dmx</category>
      <category>security</category>
      <category>xmla</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Presenting Online Wednesday September 8</title>
      <ItemID>None</ItemID>
      <link>http://www.marktab.net/datamining/index.php/2010/09/03/presenting-online-wednesday-september-8/</link>
      <pubDate>2010-09-03T20:14:06+02:00</pubDate>
      <author>MarkTab</author>
      <authorID>None</authorID>
      <comments>http://www.marktab.net/datamining/index.php/2010/09/03/presenting-online-wednesday-september-8/#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>I will be presenting online on Wednesday September 8.  The name of the presentation is Data Mining with PowerPivot 2010. More dtails are at http://bi.sqlpass.org</description>
      <category>SQL Server Data Mining</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>SQL Trace Collection Set for the Management Data Warehouse</title>
      <ItemID>None</ItemID>
      <link>http://bitracks.com/2010/09/02/sql-trace-collection-set-for-the-management-data-warehouse.aspx?ref=rss</link>
      <pubDate>2010-09-02T21:26:00+02:00</pubDate>
      <author>James Miller</author>
      <authorID>None</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">-1</slash:comments>
      <comments>http://bitracks.com/2010/09/02/sql-trace-collection-set-for-the-management-data-warehouse.aspx#Comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;span&gt;
&lt;div&gt;&lt;span style="font-size: 11px;"&gt;&lt;span style="font-size: 12px;"&gt;There are a number of helpful links on the net to get you started using the Management Data Warehouse (MDW) which was released in SQL 2008, and continued in SQL 2008 R2. However I have not seen a lot written to date on the 'SQL Trace Collection Set' which has prompted this blog entry. The 'SQL Trace Collection Set' can provide unique and insightful analytics, which can be used for highly targeted performance tuning, and for examining performance trends over time.&lt;br /&gt;
&lt;br /&gt;
I'll start by pointing you into the right direction for creating the SQL Server &lt;span style="font-size: 13px;"&gt;Management Data Warehouse&lt;/span&gt;, and then turn the focus to configuration of the SQL Trace Collection Set.&lt;/span&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Setting-up the Management Data Warehouse (MDW) and Data Collection Components&lt;/strong&gt;&lt;br /&gt;
The MDW is designed to collect performance related statistics that is stored in a SQL Server 2008 database. SQL Server 2008 has a ‘Configure Management Data Warehouse’ wizard that helps you to get started with this SQL Server performance monitoring extension:&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-right: 0px;" dir="ltr"&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Note&lt;/strong&gt;: You will want to initiate this set-up process on the SQL Server instance that you would like to use as the official ‘Management Data Warehouse’ repository. This instance can be separate from the SQL Server instance(s) that are being monitored for this performance data.&lt;/span&gt;&lt;span style="font-size: 12px;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure13.jpg?a=19" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;This wizard will step you through creating the MDW database, and configuring the standard System Data Collections Sets (Disk Usage, Query Activity, and Server Activity). For ‘step-by-step’ assistance on using this wizard refer to these articles on &lt;a href="http://msdn.microsoft.com/en-us/library/dd939169(SQL.100).aspx"&gt;&lt;span style="font-size: 12px;"&gt;msdn&lt;/span&gt;&lt;/a&gt; and/or &lt;a href="http://www.databasejournal.com/features/mssql/article.php/3771871/SQL-Server-2008-Data-Collections-and-the-Management-Data-Warehouse.htm"&gt;&lt;span style="font-size: 12px;"&gt;Database Journal&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-right: 0px;" dir="ltr"&gt;&lt;span style="font-size: 11px;"&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Note&lt;/strong&gt;: Any name can be provided for the resulting ‘Management Data Warehouse’ database. As a matter of practice, ‘MDW’ is often used, and is assumed in the following examples. Also, be aware that once you configure and enable the MDW there is no method to remove the corresponding SQL Agent jobs which are created. You can disable data collection, which will also disable the SQL job, but they will continue to reside in SQL Agent’s list of jobs.&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;Once you have the configured the Management Data Warehouse for your environment, you will want to manually add the ‘SQL Trace Collection Set’ since it is not automatically set-up by the MDW wizard. As mentioned earlier, the ‘SQL Trace’ collection set will provide key metrics such as ‘Query Duration’, ‘Database Reads’, and ‘CPU Time’ that will be populated within the MDW database.&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;&lt;span style="font-size: 13px;"&gt;Configuring the 'SQL Trace' Data Collection Component&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
Albeit a slight detour, the best way to set-up the ‘SQL Trace Collection Set’ for the Management Data Warehouse is to use ‘SQL Server Profiler’ and create an active trace. This trace definition will then be saved as a script which can be used to configure the SQL Trace data collector. To get started, start SQL Server Profiler:&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/div&gt;
&lt;/span&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure14.jpg?a=77" /&gt;&lt;/p&gt;
&lt;br /&gt;
Once in ‘Profiler’, click on ‘File’, ‘New Trace…’, and after connecting to SQL Server you will be able to set the desired columns and events to capture. The standard (default) template automatically sets most of the events and columns of interest for query monitoring. To minimize server overhead for data collection, you will most likely want to remove all events with the exception of ‘RPC:Completed’ and  ‘SQL:BatchCompleted’. You can click on the ‘Events Selection’ tab to specifically choose the items to collect:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure15.jpg?a=7" /&gt;&lt;br /&gt;
&lt;br /&gt;
After clicking on the Run button, you can then immediately stop the trace, since you only need the extract the definition. You can then export the trace definition script for a trace collection set as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure16.jpg?a=49" /&gt;&lt;br /&gt;
&lt;br /&gt;
The resulting script can then be loaded into SQL Server Management Studio, and executed. However before executing, you will want to provide a friendlier name for the collection set, such as ‘SQL Trace’ which is highlighted in the code snippet below:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="position: relative; color: #000000; font-size: 8pt; top: -6pt;"&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #008000; font-size: 8pt;"&gt;-- *** with the name you want to use for the collection set.&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #008000; font-size: 8pt;"&gt;-- ***&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 8pt;"&gt; @collection_set_id &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt;&lt;span style="color: #808080;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;EXEC&lt;/span&gt;&lt;span style="font-size: 8pt;"&gt; [dbo]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[sp_syscollector_create_collection_set]&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;    &lt;/span&gt;&lt;span style="background: yellow; font-size: 8pt;"&gt;@name &lt;span style="color: #808080;"&gt;=&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;N'SQL Trace'&lt;/span&gt;&lt;span style="color: #808080;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @schedule_name &lt;span style="color: #808080;"&gt;=&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;N'CollectorSchedule_Every_15min'&lt;/span&gt;&lt;span style="color: #808080;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @collection_mode &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 0&lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #008000;"&gt;-- cached mode needed for Trace collections&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @logging_level &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 0&lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #008000;"&gt;-- minimum logging&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-size: 8pt;"&gt;    @days_until_expiration &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 5&lt;span style="color: #808080;"&gt;, &lt;br /&gt;
    &lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;strong&gt;Note&lt;/strong&gt;: the parameter option above:  &lt;a href="mailto:‘@days_until_expiration"&gt;‘@days_until_expiration&lt;/a&gt; = 5’ determines how many days the trace data will be stored in the MDW database before it is automatically deleted. This value can be increased for greater data retention, but keep in mind that this also increases the monitoring overhead of the MDW database.&lt;br /&gt;
&lt;br /&gt;
After running this script you will be see a new Data Collection set called ‘SQL Trace’ (right-click and refresh the ‘Data Collection’ container if necessary). To start the collection set, right click the ‘SQL Trace’ collection, and then click ‘Start Data Collection Set’&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure17.jpg?a=83" /&gt;&lt;/p&gt;
&lt;br /&gt;
You can also double-click on the SQL Trace ‘Data Collection’ to view its’ configured properties:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure18.jpg?a=33" /&gt;&lt;br /&gt;
&lt;br /&gt;
You will want to be aware of the configurable collection frequency, which in this case is every 900 seconds (15 min), and how long the data is retained in the MDW (the default script is set to 5 days). Because the resulting Trace table ‘[snapshots].[trace_data]’ can be very large, especially in high volume environments, you may prefer to reduce the number of days for data retention. This however lessens the ability to trend reoccurring query patterns. To retain the ability to trend, another practice to consider is to create a simple ETL routine to export (and perhaps summarize) only the trace rows of interest. This is especially beneficial when trending stored procedures, or query patterns over a long period of time.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Note&lt;/strong&gt;: You can also reduce the size of the resulting trace table by adding filters to the original trace, created in Profiler, and used to create the collection set. &lt;br /&gt;
&lt;br /&gt;
When you start data collection sets, corresponding SQL Agents jobs are created to schedule and manage the data collection in the MDW. The following query will return details of collection sets, including the ‘collection_set_id’ which can be used to correlate with the actual SQL Agent jobs:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure19.jpg?a=71" /&gt;&lt;br /&gt;
&lt;br /&gt;
Following is a comprehensive list of the SQL Agent jobs that are created to collect, upload, aggregate, and purge data stored in the Management Data Warehouse (MDW) database:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure20.jpg?a=0" /&gt;&lt;/p&gt;
This completes the set-up of the MDW and standard data collectors. In approximately 15 minutes, or based on the collector's schedule, you should notice rows in the table called: &lt;span style="line-height: 115%; font-size: 10pt;"&gt;[snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt; in the MDW database. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Querying the [trace_data] Table&lt;/strong&gt;&lt;br /&gt;
Based on the earlier ‘SQL Trace’ configuration, the key measures we are collecting in this MDW table consist of&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;CPU Time &lt;/li&gt;
    &lt;li&gt;Disk I/O &lt;/li&gt;
    &lt;li&gt;Query Duration&lt;/li&gt;
&lt;/ul&gt;
These were also set to be recorded based on the completion of the following events:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;RPC:Completed &lt;/li&gt;
    &lt;li&gt;SQL:BatchCompleted&lt;/li&gt;
&lt;/ul&gt;
This table you can be queried based on any of the key metrics listed above. For example, the top 10 queries based on ‘duration’ could be retrieved by using the following code:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;TOP&lt;/span&gt; 10 &lt;span style="color: #808080;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [Duration] &lt;span style="color: #0000ff;"&gt;DESC&lt;/span&gt;  &lt;span style="color: #008000;"&gt;-- or BY [Reads], or [CPU]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
The result set should list the 10 longest running queries that completed based on data collected from all the SQL server instances monitored by this Management Data Warehouse (scroll to the right to see the ‘Server Name’ column). You may chose to filter this query based on a single 'Server Name'.&lt;br /&gt;
&lt;br /&gt;
You may find it helpful to group by a substring of the [TextData] column. This may better illustrate reoccurring queries that perhaps vary within the WHERE clause, but are based on the same table joins and columns. An example of this, using just the first 80 characters of the [Text Data] column, and based on ‘disk reads’ is displayed below:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;TOP&lt;/span&gt; 10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #ff00ff;"&gt;COUNT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(*)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [RunCount]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;     &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;[Reads]&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;     &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TextShort]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;GROUP&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [SumReads] &lt;span style="color: #0000ff;"&gt;DESC&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;strong&gt;Note&lt;/strong&gt;: the technique of grouping by the first &lt;span style="text-decoration: underline;"&gt;80 characters&lt;/span&gt; is used here in an attempt to find re-occurring code. You may need to alter this method to better suit the SQL code patterns in your database environment. The objective is to find re-occurring code which carries a high disk I/O (read) cost, and also be able to then identify the origin/source of the query for subsequent tuning efforts.&lt;br /&gt;
&lt;br /&gt;
Another option is to trend SUM and AVG query metrics over time. The following query again groups by the first 80 characters of the [TextData] column to spot a reoccurring query pattern, and then uses a secondary ‘group by’ on date to show a performance trend. A ‘like’ predicate is also placed on the [TextData] column to narrow the query to those referencing the [Sales] table:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #ff00ff;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;10&lt;span style="color: #808080;"&gt;),&lt;/span&gt; [EndTime]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; 120&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [DisplayDate]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TextShort]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;COUNT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(*)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TimesRun]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Duration&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumDuration]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Reads&lt;span style="color: #808080;"&gt;)&lt;/span&gt;    &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;CPU&lt;span style="color: #808080;"&gt;)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumCPU]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Duration&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgDuration]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Reads&lt;span style="color: #808080;"&gt;)&lt;/span&gt;    &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;CPU&lt;span style="color: #808080;"&gt;)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgCPU]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;WHERE&lt;/span&gt; [TextData] &lt;span style="color: #808080;"&gt;LIKE&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;'%Sales%'&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;GROUP&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;),&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;10&lt;span style="color: #808080;"&gt;),&lt;/span&gt; [EndTime]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; 120&lt;span style="color: #808080;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [TextShort]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; [DisplayDate]&lt;/span&gt;&lt;/p&gt;
This I hope gives you an idea of the possibilities for analytics using the [trace_data] table, which is enabled via the 'SQL Trace Collection Set' of the MDW. In a follow-up article (under construction), we will examine additional performance based reporting options that are available when collecting this 'SQL Trace' data.</description>
      <category>Performance Tuning</category>
      <category>SQL Server 2008</category>
      <category>SQL Trace</category>
      <category>Data Collection</category>
      <category>Management Data Warehouse</category>
      <category>SQL Trace Collection Set</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>SQL Trace Collection Set for the Management Data Warehouse</title>
      <ItemID>None</ItemID>
      <link>http://bitracks.com/2010/09/02/sql-trace-collection-set-for-the-management-data-warehouse.aspx?ref=rss</link>
      <pubDate>2010-09-02T21:26:00+02:00</pubDate>
      <author>James Miller</author>
      <authorID>None</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">-1</slash:comments>
      <comments>http://bitracks.com/2010/09/02/sql-trace-collection-set-for-the-management-data-warehouse.aspx#Comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;span&gt;
&lt;div&gt;&lt;span style="font-size: 11px;"&gt;&lt;span style="font-size: 12px;"&gt;There are a number of helpful links on the net to get you started using the Management Data Warehouse (MDW) which was released in SQL 2008, and continued in SQL 2008 R2. However I have not seen a lot written to date on the 'SQL Trace Collection Set' which has prompted this blog entry. The 'SQL Trace Collection Set' can provide unique and insightful analytics, which can be used for highly targeted performance tuning, and for examining performance trends over time.&lt;br /&gt;
&lt;br /&gt;
I'll start by pointing you into the right direction for creating the SQL Server &lt;span style="font-size: 13px;"&gt;Management Data Warehouse&lt;/span&gt;, and then turn the focus to configuration of the SQL Trace Collection Set.&lt;/span&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Setting-up the Management Data Warehouse (MDW) and Data Collection Components&lt;/strong&gt;&lt;br /&gt;
The MDW is designed to collect performance related statistics that is stored in a SQL Server 2008 database. SQL Server 2008 has a ‘Configure Management Data Warehouse’ wizard that helps you to get started with this SQL Server performance monitoring extension:&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-right: 0px;" dir="ltr"&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Note&lt;/strong&gt;: You will want to initiate this set-up process on the SQL Server instance that you would like to use as the official ‘Management Data Warehouse’ repository. This instance can be separate from the SQL Server instance(s) that are being monitored for this performance data.&lt;/span&gt;&lt;span style="font-size: 12px;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure13.jpg?a=19" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;This wizard will step you through creating the MDW database, and configuring the standard System Data Collections Sets (Disk Usage, Query Activity, and Server Activity). For ‘step-by-step’ assistance on using this wizard refer to these articles on &lt;a href="http://msdn.microsoft.com/en-us/library/dd939169(SQL.100).aspx"&gt;&lt;span style="font-size: 12px;"&gt;msdn&lt;/span&gt;&lt;/a&gt; and/or &lt;a href="http://www.databasejournal.com/features/mssql/article.php/3771871/SQL-Server-2008-Data-Collections-and-the-Management-Data-Warehouse.htm"&gt;&lt;span style="font-size: 12px;"&gt;Database Journal&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-right: 0px;" dir="ltr"&gt;&lt;span style="font-size: 11px;"&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Note&lt;/strong&gt;: Any name can be provided for the resulting ‘Management Data Warehouse’ database. As a matter of practice, ‘MDW’ is often used, and is assumed in the following examples. Also, be aware that once you configure and enable the MDW there is no method to remove the corresponding SQL Agent jobs which are created. You can disable data collection, which will also disable the SQL job, but they will continue to reside in SQL Agent’s list of jobs.&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;Once you have the configured the Management Data Warehouse for your environment, you will want to manually add the ‘SQL Trace Collection Set’ since it is not automatically set-up by the MDW wizard. As mentioned earlier, the ‘SQL Trace’ collection set will provide key metrics such as ‘Query Duration’, ‘Database Reads’, and ‘CPU Time’ that will be populated within the MDW database.&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;&lt;span style="font-size: 13px;"&gt;Configuring the 'SQL Trace' Data Collection Component&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
Albeit a slight detour, the best way to set-up the ‘SQL Trace Collection Set’ for the Management Data Warehouse is to use ‘SQL Server Profiler’ and create an active trace. This trace definition will then be saved as a script which can be used to configure the SQL Trace data collector. To get started, start SQL Server Profiler:&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/div&gt;
&lt;/span&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure14.jpg?a=77" /&gt;&lt;/p&gt;
&lt;br /&gt;
Once in ‘Profiler’, click on ‘File’, ‘New Trace…’, and after connecting to SQL Server you will be able to set the desired columns and events to capture. The standard (default) template automatically sets most of the events and columns of interest for query monitoring. To minimize server overhead for data collection, you will most likely want to remove all events with the exception of ‘RPC:Completed’ and  ‘SQL:BatchCompleted’. You can click on the ‘Events Selection’ tab to specifically choose the items to collect:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure15.jpg?a=7" /&gt;&lt;br /&gt;
&lt;br /&gt;
After clicking on the Run button, you can then immediately stop the trace, since you only need the extract the definition. You can then export the trace definition script for a trace collection set as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure16.jpg?a=49" /&gt;&lt;br /&gt;
&lt;br /&gt;
The resulting script can then be loaded into SQL Server Management Studio, and executed. However before executing, you will want to provide a friendlier name for the collection set, such as ‘SQL Trace’ which is highlighted in the code snippet below:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="position: relative; color: #000000; font-size: 8pt; top: -6pt;"&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #008000; font-size: 8pt;"&gt;-- *** with the name you want to use for the collection set.&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #008000; font-size: 8pt;"&gt;-- ***&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 8pt;"&gt; @collection_set_id &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt;&lt;span style="color: #808080;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;EXEC&lt;/span&gt;&lt;span style="font-size: 8pt;"&gt; [dbo]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[sp_syscollector_create_collection_set]&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;    &lt;/span&gt;&lt;span style="background: yellow; font-size: 8pt;"&gt;@name &lt;span style="color: #808080;"&gt;=&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;N'SQL Trace'&lt;/span&gt;&lt;span style="color: #808080;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @schedule_name &lt;span style="color: #808080;"&gt;=&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;N'CollectorSchedule_Every_15min'&lt;/span&gt;&lt;span style="color: #808080;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @collection_mode &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 0&lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #008000;"&gt;-- cached mode needed for Trace collections&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @logging_level &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 0&lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #008000;"&gt;-- minimum logging&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-size: 8pt;"&gt;    @days_until_expiration &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 5&lt;span style="color: #808080;"&gt;, &lt;br /&gt;
    &lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;strong&gt;Note&lt;/strong&gt;: the parameter option above:  &lt;a href="mailto:‘@days_until_expiration"&gt;‘@days_until_expiration&lt;/a&gt; = 5’ determines how many days the trace data will be stored in the MDW database before it is automatically deleted. This value can be increased for greater data retention, but keep in mind that this also increases the monitoring overhead of the MDW database.&lt;br /&gt;
&lt;br /&gt;
After running this script you will be see a new Data Collection set called ‘SQL Trace’ (right-click and refresh the ‘Data Collection’ container if necessary). To start the collection set, right click the ‘SQL Trace’ collection, and then click ‘Start Data Collection Set’&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure17.jpg?a=83" /&gt;&lt;/p&gt;
&lt;br /&gt;
You can also double-click on the SQL Trace ‘Data Collection’ to view its’ configured properties:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure18.jpg?a=33" /&gt;&lt;br /&gt;
&lt;br /&gt;
You will want to be aware of the configurable collection frequency, which in this case is every 900 seconds (15 min), and how long the data is retained in the MDW (the default script is set to 5 days). Because the resulting Trace table ‘[snapshots].[trace_data]’ can be very large, especially in high volume environments, you may prefer to reduce the number of days for data retention. This however lessens the ability to trend reoccurring query patterns. To retain the ability to trend, another practice to consider is to create a simple ETL routine to export (and perhaps summarize) only the trace rows of interest. This is especially beneficial when trending stored procedures, or query patterns over a long period of time.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Note&lt;/strong&gt;: You can also reduce the size of the resulting trace table by adding filters to the original trace, created in Profiler, and used to create the collection set. &lt;br /&gt;
&lt;br /&gt;
When you start data collection sets, corresponding SQL Agents jobs are created to schedule and manage the data collection in the MDW. The following query will return details of collection sets, including the ‘collection_set_id’ which can be used to correlate with the actual SQL Agent jobs:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure19.jpg?a=71" /&gt;&lt;br /&gt;
&lt;br /&gt;
Following is a comprehensive list of the SQL Agent jobs that are created to collect, upload, aggregate, and purge data stored in the Management Data Warehouse (MDW) database:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure20.jpg?a=0" /&gt;&lt;/p&gt;
This completes the set-up of the MDW and standard data collectors. In approximately 15 minutes, or based on the collector's schedule, you should notice rows in the table called: &lt;span style="line-height: 115%; font-size: 10pt;"&gt;[snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt; in the MDW database. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Querying the [trace_data] Table&lt;/strong&gt;&lt;br /&gt;
Based on the earlier ‘SQL Trace’ configuration, the key measures we are collecting in this MDW table consist of&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;CPU Time &lt;/li&gt;
    &lt;li&gt;Disk I/O &lt;/li&gt;
    &lt;li&gt;Query Duration&lt;/li&gt;
&lt;/ul&gt;
These were also set to be recorded based on the completion of the following events:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;RPC:Completed &lt;/li&gt;
    &lt;li&gt;SQL:BatchCompleted&lt;/li&gt;
&lt;/ul&gt;
This table you can be queried based on any of the key metrics listed above. For example, the top 10 queries based on ‘duration’ could be retrieved by using the following code:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;TOP&lt;/span&gt; 10 &lt;span style="color: #808080;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [Duration] &lt;span style="color: #0000ff;"&gt;DESC&lt;/span&gt;  &lt;span style="color: #008000;"&gt;-- or BY [Reads], or [CPU]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
The result set should list the 10 longest running queries that completed based on data collected from all the SQL server instances monitored by this Management Data Warehouse (scroll to the right to see the ‘Server Name’ column). You may chose to filter this query based on a single 'Server Name'.&lt;br /&gt;
&lt;br /&gt;
You may find it helpful to group by a substring of the [TextData] column. This may better illustrate reoccurring queries that perhaps vary within the WHERE clause, but are based on the same table joins and columns. An example of this, using just the first 80 characters of the [Text Data] column, and based on ‘disk reads’ is displayed below:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;TOP&lt;/span&gt; 10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #ff00ff;"&gt;COUNT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(*)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [RunCount]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;     &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;[Reads]&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;     &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TextShort]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;GROUP&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [SumReads] &lt;span style="color: #0000ff;"&gt;DESC&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;strong&gt;Note&lt;/strong&gt;: the technique of grouping by the first &lt;span style="text-decoration: underline;"&gt;80 characters&lt;/span&gt; is used here in an attempt to find re-occurring code. You may need to alter this method to better suit the SQL code patterns in your database environment. The objective is to find re-occurring code which carries a high disk I/O (read) cost, and also be able to then identify the origin/source of the query for subsequent tuning efforts.&lt;br /&gt;
&lt;br /&gt;
Another option is to trend SUM and AVG query metrics over time. The following query again groups by the first 80 characters of the [TextData] column to spot a reoccurring query pattern, and then uses a secondary ‘group by’ on date to show a performance trend. A ‘like’ predicate is also placed on the [TextData] column to narrow the query to those referencing the [Sales] table:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #ff00ff;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;10&lt;span style="color: #808080;"&gt;),&lt;/span&gt; [EndTime]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; 120&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [DisplayDate]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TextShort]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;COUNT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(*)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TimesRun]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Duration&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumDuration]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Reads&lt;span style="color: #808080;"&gt;)&lt;/span&gt;    &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;CPU&lt;span style="color: #808080;"&gt;)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumCPU]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Duration&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgDuration]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Reads&lt;span style="color: #808080;"&gt;)&lt;/span&gt;    &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;CPU&lt;span style="color: #808080;"&gt;)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgCPU]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;WHERE&lt;/span&gt; [TextData] &lt;span style="color: #808080;"&gt;LIKE&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;'%Sales%'&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;GROUP&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;),&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;10&lt;span style="color: #808080;"&gt;),&lt;/span&gt; [EndTime]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; 120&lt;span style="color: #808080;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [TextShort]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; [DisplayDate]&lt;/span&gt;&lt;/p&gt;
This I hope gives you an idea of the possibilities for analytics using the [trace_data] table, which is enabled via the 'SQL Trace Collection Set' of the MDW. In a follow-up article (under construction), we will examine additional performance based reporting options that are available when collecting this 'SQL Trace' data.</description>
      <category>Performance Tuning</category>
      <category>SQL Server 2008</category>
      <category>SQL Trace</category>
      <category>Data Collection</category>
      <category>Management Data Warehouse</category>
      <category>SQL Trace Collection Set</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>SQL Trace Collection Set for the Management Data Warehouse</title>
      <ItemID>None</ItemID>
      <link>http://bitracks.com/2010/09/02/sql-trace-collection-set-for-the-management-data-warehouse.aspx?ref=rss</link>
      <pubDate>2010-09-02T21:26:00+02:00</pubDate>
      <author>James Miller</author>
      <authorID>None</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">-1</slash:comments>
      <comments>http://bitracks.com/2010/09/02/sql-trace-collection-set-for-the-management-data-warehouse.aspx#Comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;span&gt;
&lt;div&gt;&lt;span style="font-size: 11px;"&gt;&lt;span style="font-size: 12px;"&gt;There are a number of helpful links on the net to get you started using the Management Data Warehouse (MDW) which was released in SQL 2008, and continued in SQL 2008 R2. However I have not seen a lot written to date on the 'SQL Trace Collection Set' which has prompted this blog entry. The 'SQL Trace Collection Set' can provide unique and insightful analytics, which can be used for highly targeted performance tuning, and for examining performance trends over time.&lt;br /&gt;
&lt;br /&gt;
I'll start by pointing you into the right direction for creating the SQL Server &lt;span style="font-size: 13px;"&gt;Management Data Warehouse&lt;/span&gt;, and then turn the focus to configuration of the SQL Trace Collection Set.&lt;/span&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Setting-up the Management Data Warehouse (MDW) and Data Collection Components&lt;/strong&gt;&lt;br /&gt;
The MDW is designed to collect performance related statistics that is stored in a SQL Server 2008 database. SQL Server 2008 has a ‘Configure Management Data Warehouse’ wizard that helps you to get started with this SQL Server performance monitoring extension:&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-right: 0px;" dir="ltr"&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Note&lt;/strong&gt;: You will want to initiate this set-up process on the SQL Server instance that you would like to use as the official ‘Management Data Warehouse’ repository. This instance can be separate from the SQL Server instance(s) that are being monitored for this performance data.&lt;/span&gt;&lt;span style="font-size: 12px;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure13.jpg?a=19" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;This wizard will step you through creating the MDW database, and configuring the standard System Data Collections Sets (Disk Usage, Query Activity, and Server Activity). For ‘step-by-step’ assistance on using this wizard refer to these articles on &lt;a href="http://msdn.microsoft.com/en-us/library/dd939169(SQL.100).aspx"&gt;&lt;span style="font-size: 12px;"&gt;msdn&lt;/span&gt;&lt;/a&gt; and/or &lt;a href="http://www.databasejournal.com/features/mssql/article.php/3771871/SQL-Server-2008-Data-Collections-and-the-Management-Data-Warehouse.htm"&gt;&lt;span style="font-size: 12px;"&gt;Database Journal&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-right: 0px;" dir="ltr"&gt;&lt;span style="font-size: 11px;"&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;Note&lt;/strong&gt;: Any name can be provided for the resulting ‘Management Data Warehouse’ database. As a matter of practice, ‘MDW’ is often used, and is assumed in the following examples. Also, be aware that once you configure and enable the MDW there is no method to remove the corresponding SQL Agent jobs which are created. You can disable data collection, which will also disable the SQL job, but they will continue to reside in SQL Agent’s list of jobs.&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;Once you have the configured the Management Data Warehouse for your environment, you will want to manually add the ‘SQL Trace Collection Set’ since it is not automatically set-up by the MDW wizard. As mentioned earlier, the ‘SQL Trace’ collection set will provide key metrics such as ‘Query Duration’, ‘Database Reads’, and ‘CPU Time’ that will be populated within the MDW database.&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;&lt;strong&gt;&lt;span style="font-size: 13px;"&gt;Configuring the 'SQL Trace' Data Collection Component&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
Albeit a slight detour, the best way to set-up the ‘SQL Trace Collection Set’ for the Management Data Warehouse is to use ‘SQL Server Profiler’ and create an active trace. This trace definition will then be saved as a script which can be used to configure the SQL Trace data collector. To get started, start SQL Server Profiler:&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/div&gt;
&lt;/span&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure14.jpg?a=77" /&gt;&lt;/p&gt;
&lt;br /&gt;
Once in ‘Profiler’, click on ‘File’, ‘New Trace…’, and after connecting to SQL Server you will be able to set the desired columns and events to capture. The standard (default) template automatically sets most of the events and columns of interest for query monitoring. To minimize server overhead for data collection, you will most likely want to remove all events with the exception of ‘RPC:Completed’ and  ‘SQL:BatchCompleted’. You can click on the ‘Events Selection’ tab to specifically choose the items to collect:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure15.jpg?a=7" /&gt;&lt;br /&gt;
&lt;br /&gt;
After clicking on the Run button, you can then immediately stop the trace, since you only need the extract the definition. You can then export the trace definition script for a trace collection set as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure16.jpg?a=49" /&gt;&lt;br /&gt;
&lt;br /&gt;
The resulting script can then be loaded into SQL Server Management Studio, and executed. However before executing, you will want to provide a friendlier name for the collection set, such as ‘SQL Trace’ which is highlighted in the code snippet below:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="position: relative; color: #000000; font-size: 8pt; top: -6pt;"&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #008000; font-size: 8pt;"&gt;-- *** with the name you want to use for the collection set.&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #008000; font-size: 8pt;"&gt;-- ***&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;DECLARE&lt;/span&gt;&lt;span style="font-size: 8pt;"&gt; @collection_set_id &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt;&lt;span style="color: #808080;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;EXEC&lt;/span&gt;&lt;span style="font-size: 8pt;"&gt; [dbo]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[sp_syscollector_create_collection_set]&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="color: #0000ff; font-size: 8pt;"&gt;    &lt;/span&gt;&lt;span style="background: yellow; font-size: 8pt;"&gt;@name &lt;span style="color: #808080;"&gt;=&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;N'SQL Trace'&lt;/span&gt;&lt;span style="color: #808080;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @schedule_name &lt;span style="color: #808080;"&gt;=&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;N'CollectorSchedule_Every_15min'&lt;/span&gt;&lt;span style="color: #808080;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @collection_mode &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 0&lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #008000;"&gt;-- cached mode needed for Trace collections&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-size: 8pt;"&gt;    @logging_level &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 0&lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #008000;"&gt;-- minimum logging&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-size: 8pt;"&gt;    @days_until_expiration &lt;span style="color: #808080;"&gt;=&lt;/span&gt; 5&lt;span style="color: #808080;"&gt;, &lt;br /&gt;
    &lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;strong&gt;Note&lt;/strong&gt;: the parameter option above:  &lt;a href="mailto:‘@days_until_expiration"&gt;‘@days_until_expiration&lt;/a&gt; = 5’ determines how many days the trace data will be stored in the MDW database before it is automatically deleted. This value can be increased for greater data retention, but keep in mind that this also increases the monitoring overhead of the MDW database.&lt;br /&gt;
&lt;br /&gt;
After running this script you will be see a new Data Collection set called ‘SQL Trace’ (right-click and refresh the ‘Data Collection’ container if necessary). To start the collection set, right click the ‘SQL Trace’ collection, and then click ‘Start Data Collection Set’&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure17.jpg?a=83" /&gt;&lt;/p&gt;
&lt;br /&gt;
You can also double-click on the SQL Trace ‘Data Collection’ to view its’ configured properties:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure18.jpg?a=33" /&gt;&lt;br /&gt;
&lt;br /&gt;
You will want to be aware of the configurable collection frequency, which in this case is every 900 seconds (15 min), and how long the data is retained in the MDW (the default script is set to 5 days). Because the resulting Trace table ‘[snapshots].[trace_data]’ can be very large, especially in high volume environments, you may prefer to reduce the number of days for data retention. This however lessens the ability to trend reoccurring query patterns. To retain the ability to trend, another practice to consider is to create a simple ETL routine to export (and perhaps summarize) only the trace rows of interest. This is especially beneficial when trending stored procedures, or query patterns over a long period of time.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Note&lt;/strong&gt;: You can also reduce the size of the resulting trace table by adding filters to the original trace, created in Profiler, and used to create the collection set. &lt;br /&gt;
&lt;br /&gt;
When you start data collection sets, corresponding SQL Agents jobs are created to schedule and manage the data collection in the MDW. The following query will return details of collection sets, including the ‘collection_set_id’ which can be used to correlate with the actual SQL Agent jobs:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure19.jpg?a=71" /&gt;&lt;br /&gt;
&lt;br /&gt;
Following is a comprehensive list of the SQL Agent jobs that are created to collect, upload, aggregate, and purge data stored in the Management Data Warehouse (MDW) database:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="text-align: center;"&gt;&lt;img alt="" style="border: 0px solid;" src="http://images.quickblogcast.com/6/3/7/1/1/221953-211736/Figure20.jpg?a=0" /&gt;&lt;/p&gt;
This completes the set-up of the MDW and standard data collectors. In approximately 15 minutes, or based on the collector's schedule, you should notice rows in the table called: &lt;span style="line-height: 115%; font-size: 10pt;"&gt;[snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt; in the MDW database. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Querying the [trace_data] Table&lt;/strong&gt;&lt;br /&gt;
Based on the earlier ‘SQL Trace’ configuration, the key measures we are collecting in this MDW table consist of&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;CPU Time &lt;/li&gt;
    &lt;li&gt;Disk I/O &lt;/li&gt;
    &lt;li&gt;Query Duration&lt;/li&gt;
&lt;/ul&gt;
These were also set to be recorded based on the completion of the following events:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;RPC:Completed &lt;/li&gt;
    &lt;li&gt;SQL:BatchCompleted&lt;/li&gt;
&lt;/ul&gt;
This table you can be queried based on any of the key metrics listed above. For example, the top 10 queries based on ‘duration’ could be retrieved by using the following code:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;TOP&lt;/span&gt; 10 &lt;span style="color: #808080;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [Duration] &lt;span style="color: #0000ff;"&gt;DESC&lt;/span&gt;  &lt;span style="color: #008000;"&gt;-- or BY [Reads], or [CPU]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
The result set should list the 10 longest running queries that completed based on data collected from all the SQL server instances monitored by this Management Data Warehouse (scroll to the right to see the ‘Server Name’ column). You may chose to filter this query based on a single 'Server Name'.&lt;br /&gt;
&lt;br /&gt;
You may find it helpful to group by a substring of the [TextData] column. This may better illustrate reoccurring queries that perhaps vary within the WHERE clause, but are based on the same table joins and columns. An example of this, using just the first 80 characters of the [Text Data] column, and based on ‘disk reads’ is displayed below:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;TOP&lt;/span&gt; 10&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #ff00ff;"&gt;COUNT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(*)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [RunCount]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;     &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;[Reads]&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;     &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TextShort]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;GROUP&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [SumReads] &lt;span style="color: #0000ff;"&gt;DESC&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;strong&gt;Note&lt;/strong&gt;: the technique of grouping by the first &lt;span style="text-decoration: underline;"&gt;80 characters&lt;/span&gt; is used here in an attempt to find re-occurring code. You may need to alter this method to better suit the SQL code patterns in your database environment. The objective is to find re-occurring code which carries a high disk I/O (read) cost, and also be able to then identify the origin/source of the query for subsequent tuning efforts.&lt;br /&gt;
&lt;br /&gt;
Another option is to trend SUM and AVG query metrics over time. The following query again groups by the first 80 characters of the [TextData] column to spot a reoccurring query pattern, and then uses a secondary ‘group by’ on date to show a performance trend. A ‘like’ predicate is also placed on the [TextData] column to narrow the query to those referencing the [Sales] table:&lt;br /&gt;
&lt;br /&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new;"&gt;&lt;span style="color: #0000ff; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; &lt;span style="color: #ff00ff;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;10&lt;span style="color: #808080;"&gt;),&lt;/span&gt; [EndTime]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; 120&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [DisplayDate]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TextShort]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;COUNT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(*)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [TimesRun]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Duration&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumDuration]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Reads&lt;span style="color: #808080;"&gt;)&lt;/span&gt;    &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;SUM&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;CPU&lt;span style="color: #808080;"&gt;)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [SumCPU]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Duration&lt;span style="color: #808080;"&gt;)&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgDuration]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;Reads&lt;span style="color: #808080;"&gt;)&lt;/span&gt;    &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgReads]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;       &lt;span style="color: #808080;"&gt;,&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;AVG&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;CPU&lt;span style="color: #808080;"&gt;)&lt;/span&gt;      &lt;span style="color: #0000ff;"&gt;AS&lt;/span&gt; [AvgCPU]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt;  &lt;span style="color: #0000ff;"&gt;FROM&lt;/span&gt; [snapshots]&lt;span style="color: #808080;"&gt;.&lt;/span&gt;[trace_data]&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;WHERE&lt;/span&gt; [TextData] &lt;span style="color: #808080;"&gt;LIKE&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;'%Sales%'&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; line-height: normal; margin: 0in 0in 0pt 0.5in;"&gt;&lt;span style="font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;GROUP&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; &lt;span style="color: #808080;"&gt;LEFT(&lt;/span&gt;[TextData]&lt;span style="color: #808080;"&gt;,&lt;/span&gt;80&lt;span style="color: #808080;"&gt;),&lt;/span&gt; &lt;span style="color: #ff00ff;"&gt;CONVERT&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;VARCHAR&lt;/span&gt;&lt;span style="color: #808080;"&gt;(&lt;/span&gt;10&lt;span style="color: #808080;"&gt;),&lt;/span&gt; [EndTime]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; 120&lt;span style="color: #808080;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="page-break-after: avoid; margin: 0in 0in 10pt 0.5in;"&gt;&lt;span style="line-height: 115%; font-family: courier new; font-size: 10pt;"&gt; &lt;span style="color: #0000ff;"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;BY&lt;/span&gt; [TextShort]&lt;span style="color: #808080;"&gt;,&lt;/span&gt; [DisplayDate]&lt;/span&gt;&lt;/p&gt;
This I hope gives you an idea of the possibilities for analytics using the [trace_data] table, which is enabled via the 'SQL Trace Collection Set' of the MDW. In a follow-up article (under construction), we will examine additional performance based reporting options that are available when collecting this 'SQL Trace' data.</description>
      <category>Performance Tuning</category>
      <category>SQL Server 2008</category>
      <category>SQL Trace</category>
      <category>Data Collection</category>
      <category>Management Data Warehouse</category>
      <category>SQL Trace Collection Set</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Bleeding Edge Conference – Gorizia</title>
      <ItemID>None</ItemID>
      <link>http://feedproxy.google.com/~r/ImpedanceMismatch/~3/8RjqEXr1_2g/bleeding-edge-conference-gorizia.aspx</link>
      <pubDate>2010-09-02T19:12:31+02:00</pubDate>
      <author>dmauri</author>
      <authorID>None</authorID>
      <comments>http://community.ugiss.org/blogs/dmauri/archive/2010/09/02/bleeding-edge-conference-gorizia.aspx#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;p&gt;Il 30 settembre ci sarà la “Bleeding Confenrence” a Nuova Gorica / Gorizia. Visto che nell’est dell’Italia non ci sono molte possibilità di assistere a conferenze con comodità, per tutti coloro che sono di quelle parti, direi che questa è un’occasione piuttosto interessante. &lt;/p&gt;  &lt;p&gt;La track in inglese (le altre sono in sloveno) è succosa:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Up to the Next Level of Customizability with ASP.NET MVC Dynamic Filters&lt;/strong&gt; – Dino Esposito&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Hardcore .NET Production Debugging - &lt;/strong&gt;Ingo Rammer&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Evolution of data Access: Long Journey from SP to EF4 &lt;/strong&gt;-&lt;strong&gt; &lt;/strong&gt;Dean Vitner, Bernard Katić&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Blazing Fast Queries: When Indexes Are Not Enough – &lt;/strong&gt;Davide Mauri&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a title="http://www.bleedingedge.si/237/Urnik.aspx" href="http://www.bleedingedge.si/237/Urnik.aspx"&gt;http://www.bleedingedge.si/237/Urnik.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Se ci siete, ci vediamo li!&lt;/p&gt;&lt;img src="http://community.ugiss.org/aggbug.aspx?PostID=7694" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ImpedanceMismatch/~4/8RjqEXr1_2g" height="1" width="1"/&gt;</description>
      <category>Conferenze</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Solid Quality Journal - Agosto</title>
      <ItemID>None</ItemID>
      <link>http://feedproxy.google.com/~r/ImpedanceMismatch/~3/gx_ud6FfZYs/solid-quality-journal-agosto.aspx</link>
      <pubDate>2010-09-01T23:08:52+02:00</pubDate>
      <author>dmauri</author>
      <authorID>None</authorID>
      <comments>http://community.ugiss.org/blogs/dmauri/archive/2010/09/01/solid-quality-journal-agosto.aspx#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;p&gt;E’ disponibile, ancora in modo gratuito per chiunque, l’edizione di Agosto del Solid Quality Journal.&lt;/p&gt;  &lt;p&gt;Questo mese c’è anche un mio articolo sul tema NoSQL dato che ormai è un argomento molto caldo. Ci sono anche articoli di Gianluca Hotz su PowerShell e SQL Server, di Francesco De Chirico su MDX e Reporting Services ed un lungo articolo di Gilberto Zampatti (che ormai dovreste conoscere visto che firma l’editoriale della newsletter di &lt;a title="UGISS" href="http://www.ugiss.org" target="_blank"&gt;UGISS&lt;/a&gt;) dedicato a SQL Server in salsa Sharepoint 2010.&lt;/p&gt;  &lt;p&gt;Ovviamente tutto in inglese :)&lt;/p&gt;  &lt;p&gt;Non perdetevelo, e non dimenticate di farci avere i vostri feedback!&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.solidq.com/sqj/Pages/Home.aspx" href="http://www.solidq.com/sqj/Pages/Home.aspx"&gt;http://www.solidq.com/sqj/Pages/Home.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://community.ugiss.org/aggbug.aspx?PostID=7691" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ImpedanceMismatch/~4/gx_ud6FfZYs" height="1" width="1"/&gt;</description>
      <category>PowerShell</category>
      <category>Reporting Services</category>
      <category>Solid Quality</category>
      <category>MDX</category>
      <category>NoSql</category>
      <category>Journal</category>
      <category>Sharepoint</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>SolidQ Journal Agosto 2010.</title>
      <ItemID>618</ItemID>
      <link>http://blogs.solidq.com/dseara/Post.aspx?ID=618&amp;title=SolidQ+Journal+Agosto+2010.</link>
      <pubDate>2010-09-01T21:50:43+02:00</pubDate>
      <author>Daniel A. Seara</author>
      <authorID>17</authorID>
      <comments>None</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClass23FD51EE777E4B5CAB5FE2CB9413B8D0"&gt;&lt;p&gt;La puedes leer aquí: &lt;a href="http://www.solidq.com/sqj/Documents/2010%20August%20Issue/SQJ%20002.pdf"&gt;http://www.solidq.com/sqj/Documents/2010%20August%20Issue/SQJ%20002.pdf&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.solidq.com/sqj/Documents/2010%20August%20Issue/SQJ%20002.pdf"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title="clip_image001" border="0" alt="clip_image001" src="/dseara/Lists/Posts/Attachments/618/clip_image001_b1406b6e1d5a41eb98e835e986271899_1DA52CB5.jpg" width="184" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Y a propósito, estamos en proceso de la versión en español y en portugués.&lt;/p&gt;  &lt;p&gt;Pronto habra novedades!!!!&lt;/p&gt;&lt;/div&gt;</description>
      <category>Solid Quality Mentors</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">Spanish</dc:language>
    </item>
    <item>
      <title>Pergunta Geek</title>
      <ItemID>17</ItemID>
      <link>http://blogs.solidq.com/fabianosqlserver/Post.aspx?ID=17&amp;title=Pergunta+Geek</link>
      <pubDate>2010-09-01T20:38:22+02:00</pubDate>
      <author>Fabiano Amorim</author>
      <authorID>64</authorID>
      <comments>None</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClassCA2F8D47123F42D8A47F958EF54D4F5E"&gt;&lt;p&gt;O que você acha que a consulta abaixo irá retornar?&lt;/p&gt;  &lt;pre class="brush: sql; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;"&gt;use tempdb
go

if object_id('t1') is not null

drop table t1
create table t1 (Col1 Int)
insert into t1 values(1)
GO

select * from tempdb . . t1
where tempdb . dbo . t1 . col1 = 1&lt;/pre&gt;&lt;/div&gt;</description>
      <category>None</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">Portuguese</dc:language>
    </item>
    <item>
      <title>SQL Azure farà si che la Normalizzazione sia una pratica richiesta da tutti?</title>
      <ItemID>None</ItemID>
      <link>http://feedproxy.google.com/~r/ImpedanceMismatch/~3/vAhmftKMicw/sql-azure-far-224-si-che-la-normalizzazione-sia-una-pratica-richiesta-da-tutti.aspx</link>
      <pubDate>2010-09-01T10:54:04+02:00</pubDate>
      <author>dmauri</author>
      <authorID>None</authorID>
      <comments>http://community.ugiss.org/blogs/dmauri/archive/2010/09/01/sql-azure-far-224-si-che-la-normalizzazione-sia-una-pratica-richiesta-da-tutti.aspx#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;p&gt;Ho scritto un articolo a proposito sul mio blog in inglese, &lt;a href="http://blogs.msdn.com/b/sqlazure/archive/2010/08/30/10055826.aspx"&gt;dopo aver letto un’analisi&lt;/a&gt; di quanto costa memorizzare una riga in SQL Azure.&lt;/p&gt;  &lt;p&gt;Il punto fondamentale di tutto è, come avrete capito, la normalizzazione dello schema di un database. Semplicemente sconosciuta o ritenuta inutile da molti sviluppatori, con SQL Azure potrebbe ritornare importate anche ai loro occhi (o – meglio – agli occhi dei loro manager), come strumento per risparmiare spazio e quindi soldi (Posto che tale risparmi è solo un effetto secondario, e non il principale, della normalizzazione).&lt;/p&gt;  &lt;p&gt;Risparmio che può andare da un 30 ad un 80%, e tenendo conto che il costo di storage per un database di 150GB è di 18000$ l’anno, non si sta parlando di bruscolini.&lt;/p&gt;  &lt;p&gt;In aggiunta al post, i feedback lasciati sono molto interessanti, e ve ne consiglio vivamente la lettura:&lt;/p&gt;  &lt;p&gt;&lt;a title="http://sqlblog.com/blogs/davide_mauri/archive/2010/08/30/will-sql-azure-make-normalization-popular-again.aspx" href="http://sqlblog.com/blogs/davide_mauri/archive/2010/08/30/will-sql-azure-make-normalization-popular-again.aspx"&gt;http://sqlblog.com/blogs/davide_mauri/archive/2010/08/30/will-sql-azure-make-normalization-popular-again.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://community.ugiss.org/aggbug.aspx?PostID=7690" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ImpedanceMismatch/~4/vAhmftKMicw" height="1" width="1"/&gt;</description>
      <category>Normalizzazione</category>
      <category>Modellazione</category>
      <category>Cloud</category>
      <category>Database Design</category>
      <category>Azure</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>SolidQ Journal for August is now available</title>
      <ItemID>None</ItemID>
      <link>http://sqlblog.com/blogs/greg_low/archive/2010/09/01/solidq-journal-for-august-is-now-available.aspx</link>
      <pubDate>2010-08-31T14:26:00+02:00</pubDate>
      <author>Greg Low</author>
      <authorID>None</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">6</slash:comments>
      <comments>http://sqlblog.com/blogs/greg_low/comments/28458.aspx</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>Well, we only just managed to squeek it into August but the articles for the August edition of SolidQ Journal are now on our global website. You'll find them here: http://www.solidq.com/sqj/Pages/Home.aspx I'm really looking forward to reading some of...(&lt;a href="http://sqlblog.com/blogs/greg_low/archive/2010/09/01/solidq-journal-for-august-is-now-available.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=28458" width="1" height="1"&gt;</description>
      <category>None</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Fabiano VS Política no Brasil</title>
      <ItemID>16</ItemID>
      <link>http://blogs.solidq.com/fabianosqlserver/Post.aspx?ID=16&amp;title=Fabiano+VS+Pol%c3%adtica+no+Brasil</link>
      <pubDate>2010-08-30T20:44:00+02:00</pubDate>
      <author>Fabiano Amorim</author>
      <authorID>64</authorID>
      <comments>None</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClass3CAE09AD187F4FBF836A7314B8CE10DF"&gt;&lt;p&gt;Pois é esse vídeo não tem nada a ver com SQL Server, mas como estamos em tempo de eleições no nosso País achei MUITO bom o vídeo abaixo e quero compartilhar com vocês… &lt;/p&gt;
&lt;p&gt;Eu acredito no Brasil e tenho orgulho de ser brasileiro, estes dias eu até brinquei com isso no twitter @mcflyamorim mas estou cansado ver e ouvir tanta MERDA e um bando de idiotas egoístas e egocêntricos falando na televisão em horário político com campanhas absurdas, e candidatos tão bizarros que chegam a ser tristes.&lt;/p&gt;
&lt;p&gt;Precisamos de educação, e de um Milagre para mudar nosso país, só posso orar para que Deus tenha misericórdia de nós e que Ele mude nosso país, e acabe com esta miséria cerebral que se instalou em nós…&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=dAQkMjebkeA"&gt;http://www.youtube.com/watch?v=dAQkMjebkeA&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;/div&gt;</description>
      <category>None</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">Portuguese</dc:language>
    </item>
    <item>
      <title>Will SQL Azure make Normalization popular again?</title>
      <ItemID>None</ItemID>
      <link>http://sqlblog.com/blogs/davide_mauri/archive/2010/08/30/will-sql-azure-make-normalization-popular-again.aspx</link>
      <pubDate>2010-08-30T19:46:41+02:00</pubDate>
      <author>Davide Mauri</author>
      <authorID>None</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">10</slash:comments>
      <comments>http://sqlblog.com/blogs/davide_mauri/comments/28433.aspx</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;p&gt;Normalization &lt;em&gt;should&lt;/em&gt; be very popular and widespread. Unfortunately I can say that the 99% of developers that work with database (and thus design the database schema) don’t know it. Even worse they don’t even realize that normalization &lt;em&gt;is a key point in application development&lt;/em&gt;. &lt;/p&gt;  &lt;p&gt;AFAIK developers and project managers don’t care too much of normalization because they think that it only helps in lowering the storage required by the database and nothing more. Since today space is cheap, why bother of normalizing database?&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/davide_mauri/archive/2010/08/02/denormalize-with-consciousness-aka-constraint-are-not-an-option.aspx"&gt;As already told&lt;/a&gt;, normalization is not a way to spare space, but is the key to &lt;i&gt;preserve data integrity and to have overall good performance&lt;/i&gt;. Of course, since a part of the process is related to remove redundancy, the result is that space is also saved.&lt;/p&gt;  &lt;p&gt;Now, with SQL Azure, space won’t be that cheap anymore. An &lt;a href="http://blogs.msdn.com/b/sqlazure/archive/2010/08/30/10055826.aspx"&gt;interesting post&lt;/a&gt; by the SQL Azure team, show how much cost storing a row in SQL Azure database, given that the prices for 1GB is set to 9.99$.&lt;/p&gt;  &lt;p&gt;And that’s the interesting part, where normalization returns to be an interesting practice to put in place. By designing table using correct data types and normalizing the schema correctly you easily gain from 30% to 80% (as a very general rule of thumb, depending on the data model and the data you have to store).&lt;/p&gt;  &lt;p&gt;Now, let’s make some simple calculations. Imagine that we have a three database of 50GB each. Every month the cost is 3 * 499.5$. That sum up to 17,998.2$ per year. Let’s say 18,000$ to make it easier. Sparing 30% means that you can save 5,400$ per year. &lt;/p&gt;  &lt;p&gt;Given that I’ve seen database smaller than 100GB only in small companies, I can tell you that sparing 5,000$ for them is very important!&lt;/p&gt;  &lt;p&gt;This turns also to be true also for bigger database, where, of course, the money spared is proportional. I’ve seen tables with more than 100 columns, many of them completely redundant or “put here just in case”, like the ColInt1, ColInt2 and so on.&lt;/p&gt;  &lt;p&gt;So, now that space means money, maybe normalization will become popular again.&lt;/p&gt;  &lt;p&gt;I really hope so, because this will also lead to better data and higher quality solutions.&lt;/p&gt;  &lt;p&gt;PS &lt;/p&gt;  &lt;p&gt;I didn’t mention this, but keep in mind also that you’ll pay space used by indexes. So the worse your table is design the more you’ll pay for any index you’ll add, since they will be bigger that what they could have been if the database was normalized.&lt;/p&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=28433" width="1" height="1"&gt;</description>
      <category>Normalization</category>
      <category>Azure</category>
      <category>Cloud</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Engineering BI (Or “On my PASS seminar”, prelude)</title>
      <ItemID>None</ItemID>
      <link>http://sqlblog.com/blogs/davide_mauri/archive/2010/08/28/engineering-bi-or-on-my-pass-seminar-prelude.aspx</link>
      <pubDate>2010-08-28T15:27:33+02:00</pubDate>
      <author>Davide Mauri</author>
      <authorID>None</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">11</slash:comments>
      <comments>http://sqlblog.com/blogs/davide_mauri/comments/28380.aspx</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;p&gt;I’ve always stated that creating a software solution is half and art and half an engineering process. Just like building an house, or a car, or any mechanical or electrical device, the art is that part of the work where someone has to &lt;em&gt;create something new&lt;/em&gt; to satisfy the customer need. &lt;/p&gt;  &lt;p&gt;Architects are the figures that plays the artistic role. Sure, they don’t re-invent everything from scratch every time: &lt;a href="http://en.wikipedia.org/wiki/Pattern_(architecture)"&gt;Architectural Design Pattern&lt;/a&gt; are here to demonstrate that ideas can be reused successfully. But, still, architects put patterns and new ideas together in order create something new. &lt;/p&gt;  &lt;p&gt;Engineers are the more practical side of this role-playing game and they are more concerned with processes and implementation of the solution so that it can feasible in first place, but also be maintainable, predictable, replicable and cost-effective.&lt;/p&gt;  &lt;p&gt;In the software industry we have Architects but my feeling is that we’re missing the Engineers. This means that a lot of what is being produced from the software industry is more an art than a science and this drives to the fact that the quality, and the maintainability of the final product is completely dependent on the people working on it.&amp;#160; In addition to that, since there are no standards to follow, each one will do as it wish. If you put several people working together you’ll obtain a cauldron of different styles that leads inevitably to higher maintenance cost and low stability and predictability. (I don’t know if you have the same feeling, but I would like to have a feedback on this, if you care to share.)&lt;/p&gt;  &lt;p&gt;Of course I’m generalizing a lot here – I complete discussion on this matter would easily fill a book – and there are several exception to this, but I think I can say without any doubt that if I had to make a picture of my perception of the software industry I’d draw a conglomerate of craftsman workshops and not a factory district.&lt;/p&gt;  &lt;p&gt;In the last years I struggled a bit with this lack of the “engineering” discipline: particularly I found an evidence of this situation in BI projects. While there’s at least two well-know architectural approach (Kimball and Inmon), with other options rising (like the Data-Vault), but still there are no rules and tools that can make the creation of a BI solution more standard.&lt;/p&gt;  &lt;p&gt;In order to be able to add people to an existing project quickly, being sure that they would create something that anyone of the existing team can easily understand, that the infrastructure of all of our BI solution would be similar in order to make its development faster and easier to maintain, I’ve defined a sets of &lt;em&gt;rules&lt;/em&gt; and &lt;em&gt;tools&lt;/em&gt; that helps to make the work easier and higher in quality.&lt;/p&gt;  &lt;p&gt;The idea is that the rules will define the standards, and once we have the rules, we can also create the tools to apply them quickly. This will shorten a lot the time need to &lt;em&gt;build&lt;/em&gt; the solution (which is the part with the lowest added-value) and leave much more time to &lt;em&gt;design &lt;/em&gt;it (where there is the “core” value of it).&lt;/p&gt;  &lt;p&gt;I’ve got this idea watching “How it’s made” on Science Discovery channel, watching people building the awesome Airbus 380. If such complex machine can be assembled by several people everyone doing a small part of the work, we should be able to do it also with BI solution! We “only” need rules that will drive organization of work and tools to make work easier and faster for anyone. Of course this also leads to a solution that is flexible enough to accomodote quickly new customers requests or changes of direction.&lt;/p&gt;  &lt;p&gt;Apply the idea to Business Intelligence and you’ll have and “Engineered BI Solution” which will be both sound and agile. I like to call it “Adaptive”. That’s what I’ve already &lt;a href="http://www.sqlpass.org/summit/eu2010/Agenda/ProgramSessions/AdaptiveBIBestPratices.aspx"&gt;presented&lt;/a&gt; on PASS European Summit 2010 in an specific session that had very good feedbacks and that’s what I’m going to show in my “&lt;a href="http://sqlpass.eventpoint.com/topic/details/BIA281P"&gt;Creating a BI Solution from A to Z&lt;/a&gt;” post-conference seminar (&lt;em&gt;8 hours of deep dive, blending theory and practice, architecture and engineering, making it a unique session of its kind&lt;/em&gt;), in my next BI Virtual Chapter meeting (more on this in another post) and also in the next posts of this series. &lt;/p&gt;  &lt;p&gt;If you’re new to BI or you’ll starting a new BI project in the next months, or you simply want to learn more on this approach, don’t miss the opportunity, and share your feedback!&lt;/p&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=28380" width="1" height="1"&gt;</description>
      <category>Agile</category>
      <category>Business Intelligence</category>
      <category>Engineering</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Data Mining with SQL Server Integration Services (SSIS)</title>
      <ItemID>None</ItemID>
      <link>http://www.marktab.net/datamining/index.php/2010/08/28/data-mining-with-sql-server-integration-services-ssis/</link>
      <pubDate>2010-08-28T13:00:25+02:00</pubDate>
      <author>MarkTab</author>
      <authorID>None</authorID>
      <comments>http://www.marktab.net/datamining/index.php/2010/08/28/data-mining-with-sql-server-integration-services-ssis/#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>Data Mining with Microsoft SQL Server 2008 Review Chapter 14 So last week was about Analysis Services, and the most relevant cousin technology to data mining within the Microsoft BI stack. This week is about Integration Services, what I conisder the GUI-driven service facility for moving and manipulating data. Manipulation is not a evil action [...]</description>
      <category>Integration Services</category>
      <category>SQL Server Data Mining</category>
      <category>text mining</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Speaking in Raleigh NC for SQL Saturday #46</title>
      <ItemID>None</ItemID>
      <link>http://sqlblog.com/blogs/andrew_kelly/archive/2010/08/28/speaking-in-raleigh-nc-for-sql-saturday-46.aspx</link>
      <pubDate>2010-08-28T05:16:30+02:00</pubDate>
      <author>Andrew Kelly</author>
      <authorID>None</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments>
      <comments>http://sqlblog.com/blogs/andrew_kelly/comments/28377.aspx</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&amp;#160; I hope to see a bunch of you in Raleigh on the 18th of September for SQL Saturday #46. I will be giving a presentation on Query Plan Reuse but there will be tons of good sessions from lots of great speakers. Check it out here: http://www.sqlsaturday.com/46/eventhome.aspx...(&lt;a href="http://sqlblog.com/blogs/andrew_kelly/archive/2010/08/28/speaking-in-raleigh-nc-for-sql-saturday-46.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=28377" width="1" height="1"&gt;</description>
      <category>Speaking</category>
      <category>Conferences</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Presenting at Atlanta MS BI September 27</title>
      <ItemID>None</ItemID>
      <link>http://www.marktab.net/datamining/index.php/2010/08/27/presenting-at-atlanta-ms-bi-september-27/</link>
      <pubDate>2010-08-28T00:00:39+02:00</pubDate>
      <author>MarkTab</author>
      <authorID>None</authorID>
      <comments>http://www.marktab.net/datamining/index.php/2010/08/27/presenting-at-atlanta-ms-bi-september-27/#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>Hi Everyone This post is a combination of facts: Atlanta now has a Microsoft Business Intelligence Users&amp;#8217; Group I will be the speaker for the second meeting on September 27 I was prompted to blog about this topic by another announcement, that my friend Andrew Brust from NYC is soon launching a similar group (I recently [...]</description>
      <category>SQL Server Data Mining</category>
      <category>atlanta</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>BackUp Compression no SQL Standard Edition ?</title>
      <ItemID>15</ItemID>
      <link>http://blogs.solidq.com/fabianosqlserver/Post.aspx?ID=15&amp;title=BackUp+Compression+no+SQL+Standard+Edition+%3f</link>
      <pubDate>2010-08-27T22:00:22+02:00</pubDate>
      <author>Fabiano Amorim</author>
      <authorID>64</authorID>
      <comments>None</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClass33F0548F2FD044EBB08DB2AF22D8C3BC"&gt;&lt;p&gt;Dica interessante...&lt;/p&gt;  &lt;p&gt;Para tristeza de muitos a Microsoft limitou o Backup Compression para apenas versão Enterprise... Acho que depois de muito reclamarem, no SQL Server 2008 R2 a versão Standard já suporta esta feature. :-) ... Show...&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/bb964719.aspx"&gt;http://technet.microsoft.com/en-us/library/bb964719.aspx&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description>
      <category>None</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">Portuguese</dc:language>
    </item>
    <item>
      <title>SQLU Summit 2010 Sesiones grabadas y contenidos</title>
      <ItemID>617</ItemID>
      <link>http://blogs.solidq.com/dseara/Post.aspx?ID=617&amp;title=SQLU+Summit+2010+Sesiones+grabadas+y+contenidos</link>
      <pubDate>2010-08-27T11:56:26+02:00</pubDate>
      <author>Daniel A. Seara</author>
      <authorID>17</authorID>
      <comments>None</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClass33CD5E728D1149FBA717627456D617BD"&gt;&lt;p&gt;Hola!&lt;/p&gt;  &lt;p&gt;Si quieres ver algo de lo que se hizo en el SQLU Summit 2010, aquí hay algunas sesiones grabadas &lt;a href="http://summit.solidq.com/madrid/2010/Paginas/Sesiones grabadas.aspx"&gt;http://summit.solidq.com/madrid/2010/Paginas/Sesiones%20grabadas.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Y también las presentaciones efectuadas en &lt;a title="http://summit.solidq.com/madrid/2010/Paginas/Materiales-Summit-2010-Madrid.aspx" href="http://summit.solidq.com/madrid/2010/Paginas/Materiales-Summit-2010-Madrid.aspx"&gt;http://summit.solidq.com/madrid/2010/Paginas/Materiales-Summit-2010-Madrid.aspx&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description>
      <category>SharePoint 2010</category>
      <category>SQL Server</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">Spanish</dc:language>
    </item>
    <item>
      <title>Publicadas varias de las sesiones de nuestro Summit 2010</title>
      <ItemID>None</ItemID>
      <link>http://portalsql.com/index.php/2010/08/publicadas-varias-de-las-sesiones-de-nuestro-summit-2010/</link>
      <pubDate>2010-08-27T11:00:10+02:00</pubDate>
      <author>Miguel Egea</author>
      <authorID>None</authorID>
      <comments>http://portalsql.com/index.php/2010/08/publicadas-varias-de-las-sesiones-de-nuestro-summit-2010/#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>Este año, en el evento de formación que todos los años organizamos en Solid Q todos los años, como experiencia piloto hemos grabado las sesiones, no están todas, y no tienen calidad video, sino live meeting. Aún así creo que son muy interesantes.
Os dejo el enlace 
</description>
      <category>Noticias</category>
      <category>Relacional</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Custom top navigation in SharePoint 2010</title>
      <ItemID>45</ItemID>
      <link>http://blogs.solidq.com/sharepoint/Post.aspx?ID=45&amp;title=Custom+top+navigation+in+SharePoint+2010</link>
      <pubDate>2010-08-26T20:14:00+02:00</pubDate>
      <author>Guillermo Bas</author>
      <authorID>16</authorID>
      <comments>None</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClass8927D347CF81499E9BB44E15EF87318A"&gt;&lt;p&gt;Last month I was trying to override the SharePoint 2010 top navigation, but I couldn't. I thought that it would be resolved for the 2010 version but It wasn't. I was asking for a couple of days in technet forums and mailing lists but nobody told me about any workaround to this particular issue. &lt;/p&gt;
&lt;p&gt;However, It wasn't all lost… Reading exhaustively the msdn documentation about the AspMenu Control (top navigation control that inherits from System.Web.WebControls.Menu) here (insert link) I found an answer to have my own native and dynamic top navigation in SharePoint 2010. &lt;/p&gt;
&lt;p&gt;The Answer: Instantiation &lt;/p&gt;
&lt;p&gt;Yes, we can instantiate an AspMenu Control and also modify any property of this instance, even the site navigation Data Source.&lt;/p&gt;
&lt;p&gt;How can we implement our own Top Navigation? This is my approach. We create a new class that inherits from Menu class (the control what AspMenu inherits from). I named the new custom control CustomTopNavBar.&lt;/p&gt;
&lt;pre class="brush: vb; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;"&gt;Imports Microsoft.SharePoint
Imports Microsoft.SharePoint.Publishing
Imports Microsoft.SharePoint.Publishing.Navigation
Imports Microsoft.SharePoint.WebControls

&amp;lt;DefaultProperty(&amp;quot;Text&amp;quot;), ToolboxData(&amp;quot;&amp;lt;{0}:CustomizeTopNavBar runat=server&amp;gt;&amp;lt;/{0}:CustomizeTopNavBar&amp;gt;&amp;quot;)&amp;gt; _
Public Class CustomizeTopNavBar
    Inherits System.Web.UI.WebControls.Menu&lt;/pre&gt;
&lt;p&gt;Inside this class we declare and instantiate an AspMenu and a custom PortalSiteMapDataSource that will be provide the SiteMap navigation to our Top Navigation bar.&lt;/p&gt;
&lt;pre class="brush: vb; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;"&gt;    Dim solidQCookieName As String = &amp;quot;SolidQRegionCookie&amp;quot;
    Dim tempSolidQCookieName As String = &amp;quot;TempSolidQRegionCookie&amp;quot;
    Dim customMenu As AspMenu = New AspMenu()
    Dim siteDataSource As PortalSiteMapDataSource = New PortalSiteMapDataSource()&lt;/pre&gt;
&lt;p&gt;Overriding the CreateChildControls method we can configure any property of our Top Navigation bar. If we want to make It more flexible, we can “expose” Its properties at the markup page (this case I used it at the SharePoint Master Page) like I did with the AccessKey assigning the parent class property value to the customMenu property. Most of properties are common with Menu class and can be configured by this way.&lt;/p&gt;
&lt;pre class="brush: vb; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;"&gt;    Protected Overrides Sub CreateChildControls()
        customMenu.EnableViewState = False
        customMenu.AccessKey = Me.AccessKey
        customMenu.UseSimpleRendering = True
        customMenu.UseSeparateCSS = False
        customMenu.Orientation = Orientation.Horizontal
        customMenu.StaticDisplayLevels = 1
        customMenu.MaximumDynamicDisplayLevels = 1
        customMenu.SkipLinkText = &amp;quot;&amp;quot;
        customMenu.CssClass = &amp;quot;SolidMenu&amp;quot;&lt;/pre&gt;
&lt;p&gt;About the navigation DataSource of our custom menu we have two options here. &lt;/p&gt;
&lt;p&gt;First option is use the native DataSource through its ID “SiteMapGN”.&lt;/p&gt;
&lt;pre class="brush: vb; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;"&gt;        'customMenu.DataSourceID = &amp;quot;SiteMapGN&amp;quot;&lt;/pre&gt;
&lt;p&gt;Second option is to customize our PortalSiteMapDataSource making our menu source navigation dynamic.&lt;/p&gt;
&lt;pre class="brush: vb; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;"&gt;        siteDataSource.EnableViewState = False
        siteDataSource.SiteMapProvider = &amp;quot;GlobalNavigation&amp;quot;
        siteDataSource.StartFromCurrentNode = False
        siteDataSource.StartingNodeOffset = 0
        siteDataSource.ShowStartingNode = False
        siteDataSource.TrimNonCurrentTypes = NodeTypes.Heading

        If Page.Request.Cookies(tempSolidQCookieName) IsNot Nothing _
            AndAlso Not String.IsNullOrEmpty(Page.Request.Cookies(tempSolidQCookieName).Values(&amp;quot;RegionCode&amp;quot;)) _
        Then
            siteDataSource.StartingNodeUrl = &amp;quot;/&amp;quot; &amp;amp; Page.Request.Cookies(tempSolidQCookieName).Values(&amp;quot;RegionCode&amp;quot;)
        ElseIf Page.Request.Cookies(solidQCookieName) IsNot Nothing _
            AndAlso Not String.IsNullOrEmpty(Page.Request.Cookies(solidQCookieName).Values(&amp;quot;RegionCode&amp;quot;)) _
        Then
            siteDataSource.StartingNodeUrl = &amp;quot;/&amp;quot; &amp;amp; Page.Request.Cookies(solidQCookieName).Values(&amp;quot;RegionCode&amp;quot;)
        Else
            siteDataSource.StartingNodeUrl = &amp;quot;/&amp;quot;
        End If

        customMenu.DataSource = siteDataSource

        Me.Controls.Add(customMenu)

    End Sub&lt;/pre&gt;
&lt;p&gt;At the second line of this piece of code we assign the SiteMapProvider to the PortalSiteDataSource, with this we are providing our navigation with the items that we entered at the Navigation section in each Site Settings section, avoiding to create complicate xml for our own SiteMapProvider. But we maintain dynamic this menu changing this the StartingNodeUrl property of our data source forcing the Top nav to change depending on context cookies that contains our RelativeURL context.&lt;/p&gt;
&lt;p&gt;Here is the key: Replace completely the Menu control for our own AspMenu Control, override the base render and render only our custom AspMenu control.&lt;/p&gt;
&lt;pre class="brush: vb; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;"&gt;    Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)
        customMenu.RenderControl(writer)
    End Sub

End Class&lt;/pre&gt;&lt;/div&gt;</description>
      <category>.NET Framework 3.5</category>
      <category>SharePoint 2010</category>
      <category>SharePoint Designer</category>
      <category>Server Object Model</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">English</dc:language>
    </item>
    <item>
      <title>SQL Saturday Raleigh NC — September 18</title>
      <ItemID>None</ItemID>
      <link>http://www.marktab.net/datamining/index.php/2010/08/25/sql-saturday-raleigh-nc-september-18/</link>
      <pubDate>2010-08-25T13:00:34+02:00</pubDate>
      <author>MarkTab</author>
      <authorID>None</authorID>
      <comments>http://www.marktab.net/datamining/index.php/2010/08/25/sql-saturday-raleigh-nc-september-18/#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>I have been added to the schedule for SQL Saturday 46 in Raleigh NC on September 18.  I found out early on September 24, and tweeted the news.  Already, the mention of &amp;#8220;Raleigh&amp;#8221; earned me a new Tweet follower:  Destination Raleigh. I also was retweeted by some SAS bloggers too because I mentioned #SAS (even more [...]</description>
      <category>SQL Server Data Mining</category>
      <category>SAS</category>
      <category>SQL Saturday</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>SQL Server 2008 R2: MDS setup HTTP Error 500.19 - Internal Server Error - Error Code 0x80070021</title>
      <ItemID>None</ItemID>
      <link>http://sqlblog.com/blogs/greg_low/archive/2010/08/23/sql-server-2008-r2-mds-setup-http-error-500-19-internal-server-error-error-code-0x80070021.aspx</link>
      <pubDate>2010-08-23T04:41:00+02:00</pubDate>
      <author>Greg Low</author>
      <authorID>None</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">4</slash:comments>
      <comments>http://sqlblog.com/blogs/greg_low/comments/28170.aspx</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>I've (fortunately) ended up with a new notebook recently and had to reinstall everything. One problem I ran into was with Master Data Services. The config program seemed happy but it shouldn't have been. What threw me was that it seemed to have a dependency...(&lt;a href="http://sqlblog.com/blogs/greg_low/archive/2010/08/23/sql-server-2008-r2-mds-setup-http-error-500-19-internal-server-error-error-code-0x80070021.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=28170" width="1" height="1"&gt;</description>
      <category>None</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Mining OLAP Cubes</title>
      <ItemID>None</ItemID>
      <link>http://www.marktab.net/datamining/index.php/2010/08/21/mining-olap-cubes/</link>
      <pubDate>2010-08-21T13:00:33+02:00</pubDate>
      <author>MarkTab</author>
      <authorID>None</authorID>
      <comments>http://www.marktab.net/datamining/index.php/2010/08/21/mining-olap-cubes/#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>Data Mining with Microsoft SQL Server 2008 Review Chapter 13 Outline for this blog post: Where is OLAP among BI acronyms? Is the Unified Dimensional Model (UDM) a cube? Creating a data mining model from OLAP sources Where is OLAP among BI acronyms? As the authors state on page 399, OLAP stands for Online Analytic [...]</description>
      <category>Analysis Services</category>
      <category>SQL Server Data Mining</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>Solutions to the Travel Puzzle</title>
      <ItemID>None</ItemID>
      <link>http://feedproxy.google.com/~r/tsql/~3/Dk0WMpdNnA8/Solutions-to-the-Travel-Puzzle.aspx</link>
      <pubDate>2010-08-20T16:50:00+02:00</pubDate>
      <author>Itzik Ben-Gan</author>
      <authorID>None</authorID>
      <comments>http://www.sqlmag.com/blogs/puzzled-by-t-sql/tabid/1023/entryid/13032/Solutions-to-the-Travel-Puzzle.aspx#Comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>Itzik covers solutions to the T-SQL challenge provided in his previous post.&lt;img src="http://feeds.feedburner.com/~r/tsql/~4/Dk0WMpdNnA8" height="1" width="1"/&gt;</description>
      <category>Uncategorized</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>QO Generating a Bad Plan</title>
      <ItemID>14</ItemID>
      <link>http://blogs.solidq.com/fabianosqlserver/Post.aspx?ID=14&amp;title=QO+Generating+a+Bad+Plan</link>
      <pubDate>2010-08-20T14:36:20+02:00</pubDate>
      <author>Fabiano Amorim</author>
      <authorID>64</authorID>
      <slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments>
      <comments>http://blogs.solidq.com/fabianosqlserver/Post.aspx?ID=14&amp;title=QO+Generating+a+Bad+Plan#1</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClass457374FE474143129B6F1BDD73E33939"&gt;&lt;p&gt;Hi, I just created a connect Item about a query that IMHO is a problem with Query Optimizer.&lt;/p&gt;  &lt;p&gt;I appreciate if you take a look and vote.&lt;/p&gt;  &lt;p&gt;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/587729/query-optimizer-create-a-bad-plan-when-is-not-null-predicate-is-used"&gt;https://connect.microsoft.com/SQLServer/feedback/details/587729/query-optimizer-create-a-bad-plan-when-is-not-null-predicate-is-used&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</description>
      <category>None</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">Portuguese</dc:language>
    </item>
    <item>
      <title>New SolidQ Managed Metadata Exporter in CodePlex</title>
      <ItemID>44</ItemID>
      <link>http://blogs.solidq.com/sharepoint/Post.aspx?ID=44&amp;title=New+SolidQ+Managed+Metadata+Exporter+in+CodePlex</link>
      <pubDate>2010-08-19T19:32:00+02:00</pubDate>
      <author>José Quinto Zamora</author>
      <authorID>2</authorID>
      <comments>None</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClass94E855E0FBE84472A417C9D99E08238C"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have plublished in CodePlex a tool that helps you to manage managed metadata in SharePoint 2010. It can create and delete terms and term sets, import term sets, EXPORT term sets in a .csv file, ... This solution also shows how to access Managed Metadata by the web service TaxonomyClientService.&lt;/p&gt;
&lt;p&gt;Download here: &lt;a title="http://metadataexportsps.codeplex.com/" href="http://metadataexportsps.codeplex.com/"&gt;http://metadataexportsps.codeplex.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;&lt;/div&gt;</description>
      <category>SharePoint 2010</category>
      <category>Managed Metadata</category>
      <category>CodePlex</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">English</dc:language>
    </item>
    <item>
      <title>Virtualizzare SQL Server</title>
      <ItemID>None</ItemID>
      <link>http://feedproxy.google.com/~r/ImpedanceMismatch/~3/WdzrOSpNfok/virtualizzare-sql-server.aspx</link>
      <pubDate>2010-08-18T18:57:53+02:00</pubDate>
      <author>dmauri</author>
      <authorID>None</authorID>
      <comments>http://community.ugiss.org/blogs/dmauri/archive/2010/08/18/virtualizzare-sql-server.aspx#comments</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;p&gt;La virtualizzazione è ormai una richiesta costante. Non sempre è bene virtualizzare SQL Server e quando si decide di procedere in tal senso è bene farlo facendo molta attenzione a fare tutto correttamente, pena un pesante impatto in negativo sulle performance (non tanto relativo alla virtualizzazione in se, quanto al fatto che spesso e volentieri si consolida un pò troppo e senza fare i dovuti test di performance, il che porta inevitabilmente verso dei problemi).&lt;/p&gt;  &lt;p&gt;Se avete deciso che volete virtualizzare SQL Server, questo eClinic free (un corso online, in sostanza) è sicuramente un buon punto di partenza, sopratutto se non avete molta familiarità con HyperV:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Clinic 10528: Introduction to Virtualization of Microsoft SQL Server     &lt;br /&gt;&lt;a title="https://www.microsoftelearning.com/eLearning/courseDetail.aspx?courseId=195173&amp;amp;tab=overview" href="https://www.microsoftelearning.com/eLearning/courseDetail.aspx?courseId=195173&amp;amp;tab=overview"&gt;https://www.microsoftelearning.com/eLearning/courseDetail.aspx?courseId=195173&amp;amp;tab=overview&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://community.ugiss.org/aggbug.aspx?PostID=7684" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/ImpedanceMismatch/~4/WdzrOSpNfok" height="1" width="1"/&gt;</description>
      <category>SQL Server 2008</category>
      <category>Virtualizzazione</category>
      <category>Hyper-V</category>
      <category>SQL Server 2008 R2</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">None</dc:language>
    </item>
    <item>
      <title>MicroStrategy Symposium – Eu vou!</title>
      <ItemID>13</ItemID>
      <link>http://blogs.solidq.com/fabianosqlserver/Post.aspx?ID=13&amp;title=MicroStrategy+Symposium+%e2%80%93+Eu+vou!</link>
      <pubDate>2010-08-18T15:18:29+02:00</pubDate>
      <author>Fabiano Amorim</author>
      <authorID>64</authorID>
      <comments>None</comments>
      <wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">None</wfw:commentRss>
      <description>&lt;div class="ExternalClass57045743B7DA462786CB74AC625EACF5"&gt;&lt;p&gt;Galera, no final deste mês estarei em São Paulo para participar do MicroStrategy Business Intelligence Symposium que será no dia 31 de agosto.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.microstrategy.com/events/symposium/detail.asp?eventid=7153" href="http://www.microstrategy.com/events/symposium/detail.asp?eventid=7153"&gt;http://www.microstrategy.com/events/symposium/detail.asp?eventid=7153&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="/fabianosqlserver/Lists/Posts/Attachments/13/image_4_53698C87.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px" title="image" border="0" alt="image" src="/fabianosqlserver/Lists/Posts/Attachments/13/image_thumb_1_53698C87.png" width="553" height="89" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Vai ser show… espero conheçer mais de BI, na &lt;strong&gt;minha opinião&lt;/strong&gt; a anos a Microstrategy tem batido na MS no quesito FrontEnd… a Microsoft tem trabalhado para melhor isso, mas ainda esta longe de ter um frontEnd como o da MicroStrategy… &lt;/p&gt;  &lt;p&gt;E você o que acha?&lt;/p&gt;  &lt;p&gt;Abraços&lt;/p&gt;&lt;/div&gt;</description>
      <category>None</category>
      <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">Portuguese</dc:language>
    </item>
  </channel>
</rss>