<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Rob's SQL Server Blog : SQL Server</title><link>http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx</link><description>Tags: SQL Server</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Scottish SQL Server User Group Meeting - Oct 8th</title><link>http://blogs.technet.com/rob/archive/2009/09/24/scottish-sql-server-user-group-meeting-oct-8th.aspx</link><pubDate>Thu, 24 Sep 2009 18:38:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3282954</guid><dc:creator>robcarrol</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.technet.com/rob/comments/3282954.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3282954</wfw:commentRss><description>&lt;P&gt;I have the great pleasure of speaking at the next Scottish SQL Server User Group meeting being held in Mocrosoft's Edinburgh ofice on Thursday the 8th of October. Full details can be found on the &lt;A href="http://www.sqlserverfaq.com/events/202/SQL-Server-Performance-Analysis-Tools-and-Powershell.aspx" target=_blank mce_href="http://www.sqlserverfaq.com/events/202/SQL-Server-Performance-Analysis-Tools-and-Powershell.aspx"&gt;UK User Group site&lt;/A&gt;. My talk will focus on some of the great tools we have for collecting and analysing SQL Server performance data. Martin Bell MVP will also be talking about using Powershell with SQL Server, which should be excellent as always.&lt;/P&gt;
&lt;P&gt;Hope to see you there !&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3282954" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/rob/attachment/3282954.ashx" length="1974164" type="application/vnd.openxmlformats-officedocument.pres" /><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.technet.com/rob/archive/tags/Performance/default.aspx">Performance</category><category domain="http://blogs.technet.com/rob/archive/tags/User+Group/default.aspx">User Group</category></item><item><title>Troubleshooting SQL Server 2008 Performance Problems</title><link>http://blogs.technet.com/rob/archive/2009/04/12/troubleshooting-sql-2008-performance-problems.aspx</link><pubDate>Sun, 12 Apr 2009 23:26:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3225605</guid><dc:creator>robcarrol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/rob/comments/3225605.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3225605</wfw:commentRss><description>&lt;P&gt;A new whitepaper covering the topic of performance troubleshooting in SQL Server 2008 has now been released. You can&amp;nbsp;download the paper&amp;nbsp;from the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/dd672789.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/dd672789.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd672789.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3225605" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category><category domain="http://blogs.technet.com/rob/archive/tags/Performance/default.aspx">Performance</category></item><item><title>SQL Server 2005 Multi-Site Clustering with Windows Server 2008</title><link>http://blogs.technet.com/rob/archive/2009/03/15/sql-server-2005-multi-site-clustering-with-windows-server-2008.aspx</link><pubDate>Mon, 16 Mar 2009 01:12:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3213295</guid><dc:creator>robcarrol</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/rob/comments/3213295.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3213295</wfw:commentRss><description>&lt;P&gt;I was working recently with a customer who was looking to deploy a SQL Server 2005 cluster across 2 geographically dispersed sites using Windows Server 2008. They were looking to utilise the new clustering improvements in Windows Server 2008 to build a highly available SQL Server solution. The customer required automatic failover between the sites in the event of a disaster, but their current solution required manual intervention by an administrator in order to failover to the disaster recovery site. Automatic failover would increase application availability, and reduce the complexity of the solution. Each site has it's own SAN storage and the customer planned to replicate data between each site using SRDF replication.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;This led me to do further research into clustering SQL Server in this type of environment. Windows Server 2008 introduces greater flexibility in the choice of Quorum configuration. The concept of quorum moves away from the requirement of a shared storage resource, but now refers to the number of votes needed to establish a majority. All nodes and a witness resource&amp;nbsp; can get a vote, which removes the disk as the single point of failure as in previous clustering models. The 4 Quorum Models available are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Node and Disk Majority &lt;/LI&gt;
&lt;LI&gt;Disk Only &lt;/LI&gt;
&lt;LI&gt;Node Majority &lt;/LI&gt;
&lt;LI&gt;Node and File Share Majority &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;As there is no shared storage between the nodes in a multi-site cluster, 2 of these Quorum models are suitable for multi-site clustering: Node Majority and Node and File Share Majority. Node and Disk Majority and Disk Only should only be used in a multi-site cluster if specifically directed by your storage vendor as your disk replication software needs to support these configurations.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Node and File Share Majority:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This allows the creation of up to 16 nodes with no shared disks. A file share acts as a witness, meaning that a 2 node cluster will have have 3 votes, so connectivity can be lost by either one of the nodes or the witness and the cluster can still continue to function. &lt;/P&gt;
&lt;P&gt;A cluster quorum configured to use a node-and-file-share majority is a great solution for multi-site clusters. The file share witness can reside at a third site independent of either site hosting a cluster node for high disaster resilience. A single file server can serve as a witness to multiple clusters (with each cluster using a separate file share witness on the file server).&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_4.png" mce_href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_thumb_1.png" width=240 height=170 mce_src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This configuration gives the highest resilience as the cluster can automatically recover from the loss of any one site without manual intervention.&lt;/P&gt;
&lt;P&gt;The File Share Witness (FSW) needs to be in the sane forest as the nodes and be running Windows Server 2003 or Windows Server 2008. For maximum resilience, it is best to locate the FSW at a 3rd site separate from the cluster nodes. The FSW does not need to be attached to shared storage and should NOT be a node in the same cluster.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR&gt;Node Majority:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;A node-majority cluster consists of 3 or more nodes without shared storage. Each of the nodes has a vote and there is no shared disk vote. A majority of votes are necessary to operate the cluster if 2 nodes fail in a 3 node cluster, then the remaining node drops out of the cluster. An administrator can manually over-ride this and force the remaining node to start. When the other nodes come back, majority quorum is achieved again and the cluster comes back online seamlessly.&lt;/P&gt;
&lt;P&gt;This configuration works best with an odd number of cluster nodes as it is not enough to have half the cluster nodes functioning in this model. If four nodes were set up in a node-majority configuration, the cluster would continue to operate with the loss of one node but not with the loss of two nodes. You should use an odd number of nodes with Node Majority as 4 nodes can only survive 1 failure, which is the same as 3 nodes.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_2.png" mce_href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_thumb.png" width=240 height=133 mce_src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The node-majority quorum configuration can work when there is more than one cluster node at each site. Consider a multi-site cluster consisting of five nodes, three of which reside at Site A and the remaining two at Site B. With a break in connectivity between the two sites, Site A can still communicate with three nodes (which is greater than 50 percent of the total), so all of the nodes at Site A stay up. The nodes in Site B are able to communicate with each other, but no one else. Since the two nodes at Site B cannot communicate with the majority, they drop out of cluster membership. (Were Site A is to go down in this case, in order to bring up the cluster at Site B, it would require manual intervention to override the non-majority.)&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_6.png" mce_href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_thumb_2.png" width=240 height=143 mce_src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2005GeoClusteringwithWindowsSer_14C48/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;As a result, the Node Majority configuration does not give automatic failover between sites as nodes 4 and 5 cannot achieve quorum. In this situation, you would need to manually force a failover. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SQL Server Networking Considerations:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Windows Server 2008 now allows nodes in the same cluster to reside in different network subnets and communicate across network routers. &lt;STRONG&gt;However, be aware that SQL Server 2005 and 2008 still require all cluster nodes to reside in the same network subnet, so you will still need to set up virtual local area networks (VLANs) to connect geographically separated cluster nodes. &lt;/STRONG&gt;This can have some benefits with regard to client response times though, as DNS replication may impact client re-connection times in the event of a failover from one site to another. VLAN's allow DNS names to stay the same, so can increase availability.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Storage Considerations:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;As there is no shared storage between the nodes in a multi-site cluster, the main consideration is how to keep the data replicated between the sites. The choice of 3rd-party replication solution is important and can have a major effect on how you deploy your cluster. As such, you should work closely with your storage vendor from an early stage in the design process.&lt;/P&gt;
&lt;P&gt;Synchronous replication results in no data loss, but requires shorter distances between nodes and higher bandwidth to avoid write latency from impacting performance. Asynchronous allows you to stretch cluster nodes across longer distances, however there is a potential for data loss in the event of a failure. Asynchronous data replication also assumes a large enough network bandwidth to keep up with data changes and does not significantly impact application performance.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Conclusion:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;As data replication is key in a multi-site SQL Server cluster, work with your storage vendor from an early stage to ensure they support your cluster configuration. Multi-site clustering allows you to achieve high availability and disaster recovery, however it can be a costly and complex solution. You should evaluate your business requirements first and then decide on the best technology to meet these. It could be the case that Database Mirroring, for example, could be used to give you the required level of resilience across geographical sites.&lt;/P&gt;
&lt;P&gt;In this case, the customer chose to implement a 2-node, 3-site solution using the Node and File Share Majority quorum model, with a File Share Witness located in the 3rd site. This gives site-level resilience in the event of a disaster and also allows automatic failover between the cluster nodes without having to re-write client applications, meeting the business requirements.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Additional Resources:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=75566F16-627D-4DD3-97CB-83909D3C722B&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=75566F16-627D-4DD3-97CB-83909D3C722B&amp;amp;displaylang=en"&gt;Windows Server 2008 Multi-Site Clustering Whitepaper&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032364834&amp;amp;CountryCode=US" target=_blank mce_href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032364834&amp;amp;CountryCode=US"&gt;TechNet Webcast: Geographically Dispersed Failover Clustering in Windows Server 2008&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032364842&amp;amp;CountryCode=US" target=_blank mce_href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032364842&amp;amp;CountryCode=US"&gt;TechNet Webcast: Failover Clustering and Quorum in Windows Server 2008 Enterprise&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;953170&amp;amp;sd=rss&amp;amp;spid=2855" target=_blank mce_href="http://support.microsoft.com/default.aspx?scid=kb;en-us;953170&amp;amp;sd=rss&amp;amp;spid=2855"&gt;Support Webcast: Microsoft SQL Server 2005 Failover Clustering on Windows Server 2008&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms179530(SQL.90).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ms179530(SQL.90).aspx"&gt;How to: Create a New SQL Server 2005 Failover Cluster (Setup)&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3213295" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.technet.com/rob/archive/tags/High+Availability/default.aspx">High Availability</category><category domain="http://blogs.technet.com/rob/archive/tags/Clustering/default.aspx">Clustering</category><category domain="http://blogs.technet.com/rob/archive/tags/2005/default.aspx">2005</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category></item><item><title>Performance Dashboard Reports for SQL Server 2008</title><link>http://blogs.technet.com/rob/archive/2009/02/18/performance-dashboard-reports-for-sql-server-2008.aspx</link><pubDate>Wed, 18 Feb 2009 17:20:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3204082</guid><dc:creator>robcarrol</dc:creator><slash:comments>10</slash:comments><comments>http://blogs.technet.com/rob/comments/3204082.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3204082</wfw:commentRss><description>&lt;P&gt;During a recent visit to Seattle for a Microsoft conference, I&amp;nbsp;learned from my colleague Michael Thomassy&amp;nbsp;that it's possible to run the SQL Server 2005 Performance Dashboard reports on SQL Server 2008, with a&amp;nbsp;couple of slight modifications. There is a great&amp;nbsp;new feature in SQL Server 2008 called&amp;nbsp;Performance Data Collection, which I have &lt;A href="http://blogs.technet.com/rob/archive/2008/06/20/sql-server-2008-performance-studio.aspx" target=_blank mce_href="http://blogs.technet.com/rob/archive/2008/06/20/sql-server-2008-performance-studio.aspx"&gt;blogged about in the past&lt;/A&gt;, and this is excellent for tracking&amp;nbsp;SQL Server performance over time across your 2008&amp;nbsp;estate. There is also the excellent revamped&amp;nbsp;&lt;A href="http://msdn.microsoft.com/en-us/library/cc879320.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/cc879320.aspx"&gt;Activity Monitor&lt;/A&gt; in SQL 2008. However, if you want to continue to use the Performance Dashboard reports, which many DBA's have found invaluable, they are not supported in SQL Server 2008. If you try to install the Performance Dashboard reports, you&amp;nbsp;get the following error:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT color=#ff3300&gt;Msg 207, Level 16, State 1, Procedure usp_Main_GetCPUHistory, Line 6&lt;BR&gt;Invalid column name 'cpu_ticks_in_ms'.&lt;BR&gt;Msg 15151, Level 16, State 1, Line 1&lt;BR&gt;Cannot find the object 'usp_Main_GetCPUHistory', because it does not exist or you do not have permission.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The reason for this is due to a change in the sys.dm_os_sys_info DMV from SQL Server 2005 to 2008 (the cpu_ticks_in_ms column has been removed&amp;nbsp;in 2008 &lt;A href="http://msdn.microsoft.com/en-us/library/ms175048.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ms175048.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms175048.aspx&lt;/A&gt;).&amp;nbsp;I have attached PerfDashboardReports.zip, which contains&amp;nbsp;modifications to the setup.sql and performance_dashboard_main.rdl files. Download and install the &lt;A href="http://blogs.technet.com/rob/archive/2008/06/12/sql-server-2005-performance-dashboard.aspx" target=_blank mce_href="http://blogs.technet.com/rob/archive/2008/06/12/sql-server-2005-performance-dashboard.aspx"&gt;performance dashboard reports&lt;/A&gt; as normal (but save the files in the Program Files\Microsoft SQL Server\&lt;STRONG&gt;100&lt;/STRONG&gt;\Tools\PerformanceDashboard directory) and then over-write the original files with the modified ones attached, then run the setup.sql file against your SQL Server 2008 instance.&lt;/P&gt;
&lt;P&gt;Please note that SQL Server 2008&amp;nbsp;has introduced new wait types that the Performance Dashboard reports currently&amp;nbsp;don't handle. I would strongly recommend using the new Management Data Warehouse reports in SQL Server 2008 in order to get the best user&amp;nbsp;experience. However, this workaround will help you get the Performance Dashboard Reports up and&amp;nbsp;running on your SQL Server 2008 instances (see the screenshot below).&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/photos/rob/images/3204100/original.aspx" target=_blank mce_href="http://blogs.technet.com/photos/rob/images/3204100/original.aspx"&gt;&lt;IMG style="WIDTH: 160px; HEIGHT: 116px" title="Click to see larger version" alt="Click to see larger version" src="http://blogs.technet.com/photos/rob/images/3204100/secondarythumb.aspx" width=160 height=116 mce_src="http://blogs.technet.com/photos/rob/images/3204100/secondarythumb.aspx"&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3204082" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/rob/attachment/3204082.ashx" length="19330" type="application/x-zip-compressed" /><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category><category domain="http://blogs.technet.com/rob/archive/tags/Performance+Dashboard/default.aspx">Performance Dashboard</category></item><item><title>CU #3 for SQL Server 2008 Released</title><link>http://blogs.technet.com/rob/archive/2009/01/20/cu-3-for-sql-server-2008-released.aspx</link><pubDate>Tue, 20 Jan 2009 09:39:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3186301</guid><dc:creator>robcarrol</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/rob/comments/3186301.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3186301</wfw:commentRss><description>&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;On January 19, 2009&amp;nbsp;Microsoft shipped the &lt;B&gt;Third&lt;/B&gt; Cumulative Update for SQL Server 2008 RTM.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;&lt;v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"&gt;&lt;/v:path&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:lock aspectratio="t" v:ext="edit"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;v:shape style="Z-INDEX: -1; POSITION: absolute; MARGIN-TOP: 2.65pt; WIDTH: 182.25pt; HEIGHT: 155.95pt; VISIBILITY: visible; MARGIN-LEFT: 404.35pt; mso-wrap-distance-left: 2.88pt; mso-wrap-distance-top: 2.88pt; mso-wrap-distance-right: 2.88pt; mso-wrap-distance-bottom: 2.88pt; mso-position-horizontal: right" id=Picture_x0020_7 insetpen="t" alt="New Picture" type="#_x0000_t75" o:spid="_x0000_s1026"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;v:imagedata o:title="New Picture" src="file:///C:\Users\rocarrol\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"&gt;&lt;/v:imagedata&gt;&lt;?xml:namespace prefix = w ns = "urn:schemas-microsoft-com:office:word" /&gt;&lt;w:wrap type="square"&gt;&lt;/w:wrap&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/v:shape&gt;&lt;FONT size=3 face=Calibri&gt;This CU represents &lt;/FONT&gt;&lt;FONT size=3 face=Calibri&gt;36 Resolved Issues and &lt;/FONT&gt;&lt;FONT size=3 face=Calibri&gt;30 Unique Customer Requests. More details and download details can be found here:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal&gt;&lt;A href="http://support.microsoft.com/kb/960484/en-us"&gt;http://support.microsoft.com/kb/960484/en-us&lt;/A&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3186301" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category><category domain="http://blogs.technet.com/rob/archive/tags/Support/default.aspx">Support</category><category domain="http://blogs.technet.com/rob/archive/tags/Cumulative+Update/default.aspx">Cumulative Update</category></item><item><title>SQL Server 2008 Upgrade Technical Reference Guide Released</title><link>http://blogs.technet.com/rob/archive/2008/11/26/sql-server-2008-upgrade-technical-refernece-guide-released.aspx</link><pubDate>Wed, 26 Nov 2008 13:11:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3159771</guid><dc:creator>robcarrol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/rob/comments/3159771.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3159771</wfw:commentRss><description>&lt;P&gt;The &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=66d3e6f5-6902-4fdd-af75-9975aea5bea7&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=66d3e6f5-6902-4fdd-af75-9975aea5bea7&amp;amp;displaylang=en"&gt;SQL Server 2008 Technical Reference Guide&lt;/A&gt; has just been released,&amp;nbsp;covering the essential steps and best practices&amp;nbsp;to upgrade existing 2000 and 2005 instances to 2008. There is also a list of other upgrade resources available at &lt;A href="http://msdn.microsoft.com/en-us/library/cc936623.aspx" minmax_bound="true"&gt;http://msdn.microsoft.com/en-us/library/cc936623.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;These guides are intended to suppliment the information already available in SQL Server 2008 Books Online.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3159771" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category><category domain="http://blogs.technet.com/rob/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.technet.com/rob/archive/tags/Upgrade/default.aspx">Upgrade</category></item><item><title>SQL Server 2008 Cumulative Update #2 Released</title><link>http://blogs.technet.com/rob/archive/2008/11/18/cumulative-update-2-for-sql-server-2008-released.aspx</link><pubDate>Tue, 18 Nov 2008 14:09:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3155750</guid><dc:creator>robcarrol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/rob/comments/3155750.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3155750</wfw:commentRss><description>&lt;P&gt;Cumulative Update package 2 has now been released for SQL Server 2008. See the following KB article for full details:&lt;/P&gt;
&lt;P&gt;&lt;A class="" href="http://support.microsoft.com/kb/958186/en-us" target=_blank mce_href="http://support.microsoft.com/kb/958186/en-us"&gt;http://support.microsoft.com/kb/958186/en-us&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3155750" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category><category domain="http://blogs.technet.com/rob/archive/tags/Support/default.aspx">Support</category><category domain="http://blogs.technet.com/rob/archive/tags/Cumulative+Update/default.aspx">Cumulative Update</category></item><item><title>Scottish Area SQL Server User Group</title><link>http://blogs.technet.com/rob/archive/2008/11/06/scottish-area-sql-server-user-group.aspx</link><pubDate>Fri, 07 Nov 2008 02:53:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3148841</guid><dc:creator>robcarrol</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/rob/comments/3148841.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3148841</wfw:commentRss><description>&lt;P&gt;I'm happy to announce that the next Scottish SQL Server User Group will be hosted at Microsoft Edinburgh on the evening of the 13th November. Full details of the agenda and how to register can be found on the UK SQL Server User Group site here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://sqlserverfaq.com/events/144/Scottish-Area-SQL-Server-User-Group-Jammin-SQL-Server-2008.aspx" mce_href="http://sqlserverfaq.com/events/144/Scottish-Area-SQL-Server-User-Group-Jammin-SQL-Server-2008.aspx"&gt;http://sqlserverfaq.com/events/144/Scottish-Area-SQL-Server-User-Group-Jammin-SQL-Server-2008.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The theme of the meeting is "Jammin' with SQL Server 2008", so I'm looking forward to some freestyle SQL Server 2008 demos and discussions !&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3148841" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category><category domain="http://blogs.technet.com/rob/archive/tags/User+Group/default.aspx">User Group</category></item><item><title>Updated: Support Policy for SQL Server on Virtualised Platforms</title><link>http://blogs.technet.com/rob/archive/2008/10/08/updated-support-policy-for-sql-server-on-virtualised-platforms.aspx</link><pubDate>Wed, 08 Oct 2008 18:48:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3134142</guid><dc:creator>robcarrol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/rob/comments/3134142.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3134142</wfw:commentRss><description>&lt;P&gt;The support policy for SQL Server running on virtualised platforms has now been updated to include support for SQL Server 2005 running on Hyper-V&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/?id=956893"&gt;http://support.microsoft.com/?id=956893&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Microsoft provides technical support for SQL Server 2005 and for SQL Server 2008 that are running in the following hardware virtualization environments:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Windows Server 2008 with Hyper-V&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Microsoft Hyper-V Server 2008&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Configurations that are certified through the Server Virtualization Validation Program (SVVP) &lt;A href="http://windowsservercatalog.com/svvp.aspx?svvppage=svvp.htm"&gt;http://windowsservercatalog.com/svvp.aspx?svvppage=svvp.htm&lt;/A&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;Any non-Microsoft virtualization software that is not a validated configuration through the SVVP program will be handled under the policy in the following KB article:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;A href="http://support.microsoft.com/kb/897615/"&gt;http://support.microsoft.com/kb/897615/&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;The following restrictions apply to support for SQL Server products in any hardware virtualization environment: &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Guest Failover Clustering is not supported in a virtual machine.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;The virtual machine must be running an operating system that is supported for the specific SQL Server version and edition and that is supported for virtualization&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;The SQL Server product must be a supported version under its current Microsoft Support Lifecycle policy &lt;A href="http://support.microsoft.com/?pr=lifecycle"&gt;http://support.microsoft.com/?pr=lifecycle&lt;/A&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3134142" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.technet.com/rob/archive/tags/2005/default.aspx">2005</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category><category domain="http://blogs.technet.com/rob/archive/tags/Hyper-V/default.aspx">Hyper-V</category><category domain="http://blogs.technet.com/rob/archive/tags/Support/default.aspx">Support</category></item><item><title>Support Policy for SQL Server on Hyper-V</title><link>http://blogs.technet.com/rob/archive/2008/08/19/support-policy-for-sql-server-on-hyper-v.aspx</link><pubDate>Tue, 19 Aug 2008 21:10:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3108627</guid><dc:creator>robcarrol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/rob/comments/3108627.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3108627</wfw:commentRss><description>&lt;P&gt;Microsoft have now published the support policy for running SQL Server on Hyper-V. There is support for SQL Server 2008 initially, with plans to include SQL Server 2005 at a later date.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/?id=956893" mce_href="http://support.microsoft.com/?id=956893"&gt;http://support.microsoft.com/?id=956893&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3108627" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.technet.com/rob/archive/tags/Hyper-V/default.aspx">Hyper-V</category><category domain="http://blogs.technet.com/rob/archive/tags/Support/default.aspx">Support</category></item><item><title>SQL Server 2008 - Performance Studio</title><link>http://blogs.technet.com/rob/archive/2008/06/20/sql-server-2008-performance-studio.aspx</link><pubDate>Fri, 20 Jun 2008 19:50:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3075089</guid><dc:creator>robcarrol</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.technet.com/rob/comments/3075089.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3075089</wfw:commentRss><description>&lt;P&gt;I've been looking at this new feature of SQL Server 2008 in order to demo it to customers, and I have to say it's pretty cool ! Along with Resource Governor and compression, it's one of my favourite new features and a good reason to consider an upgrade. Performance Studio builds on the concept of the Database Reports in SQL Server 2005 and the Performance Dashboard introduced in SQL Server 2005 SP2. Like it's predecessors, it's built on top of standard DMV's but with one crucial advantage... data is historical and is persisted across service restarts. Previously, you had to roll your own code in order to persist DMV data, now SQL Server 2008 gives you it straight out the box.&lt;/P&gt;
&lt;P&gt;Setting it up is easy... expand the 'Management' folder and then right-click 'Data Collection' then 'Configure Management Data Warehouse'. This opens a wizard which guides you through the configuration of the Management Data Warehouse (MDW). Select the 'Create or Upgrade a Management Data Warehouse' option and enter your server details. You can either configure a new database or use an existing one in order to collect the performance data.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/mdw_config_2.jpg" mce_href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/mdw_config_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=132 alt=mdw_config src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/mdw_config_thumb.jpg" width=244 border=0 mce_src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/mdw_config_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Once the MDW has been configured, run through the wizard again and select the 'Set up Data Collection' option. At this point you need to also ensure that SQL Server Agent is running or else the performance counters will not be uploaded to the database. Also, SQL Server Integration Services is required to manage collections. There are 3 new database roles in the MDW database: MDW Admin, MDW Writer, MDW Reader. It's a good idea to restrict access to this database, especially if you are collecting sensitive data. Performance Studio will only collect data against SQL Server 2008 databases, so unfortunately you can't use it to monitor older versions of SQL Server. MSDB is used to store the log entries, Agent jobs and SSIS packages.&lt;/P&gt;
&lt;P&gt;When creating the MDW, plan for data growth of up to 250 - 500 MB a day, depending on your query plans and consider running an archive job to aggregate summary data before SQL Server runs it's purge job after 14 days. Regarding performance overhead, Microsoft detected approximately 3 - 4% increase in CPU performance on it's TPC-C tests, which is fairly low overhead.&lt;/P&gt;
&lt;P&gt;Performance Studio comes with 3 built-in Collection Sets: Disk Usage Collection Set, Query Activity Collection Set and Server Activity Collection Set. The Disk Usage Collection Set collects data every 6 hours and retains it for a default of 730 days. It gathers data and log disk usage and plots them over time. This gives a nice visual view of data file growth over time.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/disk_usage_2.jpg" mce_href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/disk_usage_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=160 alt=disk_usage src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/disk_usage_thumb.jpg" width=244 border=0 mce_src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/disk_usage_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The Query Activity Collection Set uploads query activity every 15 minutes and retains it for 14 days. It caches active sessions and requests from DMV's every 10 seconds. It uses dm_exec_query_stats and uploads the 3 most "interesting" queries and any queries where the query plan has changed. What constitutes an interesting query, I have no idea :-) These can then be viewed graphically based on CPU, Duration, Total I/O, Physical Reads or Logical Writes. You can drill-down into the reports to show the query text, query plan, showplan and any missing indexes identified that could improve the query execution.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/queries_2.jpg" mce_href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/queries_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=186 alt=queries src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/queries_thumb.jpg" width=244 border=0 mce_src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/queries_thumb.jpg"&gt;&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The Server Activity Collection Set may turn out to be the most useful performance tuning weapon. Data is uploaded every 15 minutes to the MDW and is collected every 10/60 seconds depending on the particular counter. This data is retained for 14 days before being purged. It collects data on Server CPU usage, Memory, Waitstats, Disk I/O and Network Usage, amongst others. Again, you can click through these reports for detailed information.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/server_2.jpg" mce_href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/server_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=221 alt=server src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/server_thumb.jpg" width=244 border=0 mce_src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/server_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In addition to the built-in functionality, you can also create your own collection sets, however be careful doing this or you may end up collecting huge amounts of data, particularly if you run a SQL Trace collection. If you do want to&amp;nbsp;create a custom Profiler collection, set up a trace in Profiler then select the "Save as Trace Collection" option. This will then script out the XML trace definition for you which can then be executed against your SQL Server system...&amp;nbsp;simple as that&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/profiler_2.jpg" mce_href="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/profiler_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=118 alt=profiler src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/profiler_thumb.jpg" width=244 border=0 mce_src="http://blogs.technet.com/blogfiles/rob/WindowsLiveWriter/SQLServer2008PerformanceStudio_EFC0/profiler_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;For more information, see the following Webcast. It's well worth taking a look !&lt;/P&gt;
&lt;P&gt;&lt;A title=https://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032349947&amp;amp;CountryCode=US href="https://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032349947&amp;amp;CountryCode=US" mce_href="https://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032349947&amp;amp;CountryCode=US"&gt;https://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&amp;amp;EventID=1032349947&amp;amp;CountryCode=US&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3075089" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category><category domain="http://blogs.technet.com/rob/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.technet.com/rob/archive/tags/Performance/default.aspx">Performance</category></item><item><title>Indexing Strategies</title><link>http://blogs.technet.com/rob/archive/2008/06/17/indexing-strategies.aspx</link><pubDate>Tue, 17 Jun 2008 10:02:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3072266</guid><dc:creator>robcarrol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/rob/comments/3072266.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3072266</wfw:commentRss><description>&lt;P&gt;I attended&amp;nbsp;a SQL Server User Group meeting earlier this year and heard a presentation about favourite DMV's.&amp;nbsp;Mentioned in the discussion was sys.dm_db_index_usage_stats and that got me thinking about indexing strategies. I have been involved in performance troubleshooting databases that have used a variety of indexing stategies, ranging from none to lots of narrow indexes on practically every column ! However, there is no right and wrong indexing strategy, it depends entirely on your application and the type and frequency of queries being executed against the database.&lt;/P&gt;
&lt;P&gt;So how do you know if you have a problem? For me, it's usually when users tell me that the application is "running slow" or they get timeouts. However, poor perfomance&amp;nbsp;can be open to interpretation. There could be a whole host of factors&amp;nbsp;to take into account when you are dealing with web applications, such as network connections&amp;nbsp;and&amp;nbsp;web servers problems.&amp;nbsp;However,&amp;nbsp;this shows that you need to have good benchmarks in place in order to compare performance over a period of time. Another sign could be high CPU, high memory usage or increased disk IO activity. The SQLCAT team has a post detailing the top &lt;A class="" href="http://sqlcat.com/top10lists/archive/2007/11/21/top-sql-server-2005-performance-issues-for-oltp-applications.aspx" target=_blank mce_href="http://sqlcat.com/top10lists/archive/2007/11/21/top-sql-server-2005-performance-issues-for-oltp-applications.aspx"&gt;OLTP performance issues on 2005&lt;/A&gt; and some basic performance counters to monitor can be &lt;A class="" href="http://www.sqlservercentral.com/articles/Administering/performancemonitoringbasiccounters/1348/" target=_blank mce_href="http://www.sqlservercentral.com/articles/Administering/performancemonitoringbasiccounters/1348/"&gt;found here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;So once you've determined that there is a problem, what do you do? If you know the specific query that is causing the issue, then you can&amp;nbsp;verify the query execution plan. You do this by chosing the 'Display Estimated Execution Plan' option under the 'Query' menu in Management Studio. This does not execute the query, but returns the estimated execution plan based on the statistics the server has. As a result, you need to ensure that the statistics are up to date, or you may get the wrong results. It's also a good idea to turn on statistics IO. Things to look out for in the execution plan are table or index scans and hash aggregates. Scans imply that there are no indexes for SQL Server to use or the indexes are not selective enough and SQL Server has decided it's less expensive to run a scan. Bear in mind that a clustered index scan is exactly the same as a table scan. Hash aggregates have to create a worktable i.e. a temp table in TempDB. Watch out for Hash aggregates as Statistics IO does not show the cost of the worktables, which can often be very expensive. As a rule of thumb, anytime you see "Hash" in your plan it means temp tables and this can be done better ! Another cool thing about showplan is that you can force the queries to use different indexes and run them side by side. This will show the execution plan for both queries and the cost of each relative to the batch. This is a quick way to see which index choices&amp;nbsp;are most expensive.&lt;/P&gt;
&lt;P&gt;However, on shared systems with multiple applications running against the SQL Server instance, chances are you will not know the queries that are causing the performance issues and you will need to do some digging. You can use DMV's in 2005, but as I work in a mixed environment (2000 and 2005) I prefer to use profiler to give me an idea what is going on. I run a server side trace and remotely log the results to a file as oppossed to a SQL Server table to minimise overhead on the system. I will typically run this for short periods (10 - 15 mins)&amp;nbsp;just to get a feel for the queries executing against the server. This is a quick way to see if there are any expensive queries running and how frequently. This gives me some clues as to which database is causing the problems. Once I know this, I can really focus in on that database application.&amp;nbsp;More information on running Profiler traces is available &lt;A class="" href="http://www.sql-server-performance.com/article_print.aspx?id=110&amp;amp;type=tip" target=_blank mce_href="http://www.sql-server-performance.com/article_print.aspx?id=110&amp;amp;type=tip"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Once I have identified the database, the hardest part is deciding which queries to index. Lots of frequently run queries can give you a far bigger overall performance gain than a large query run once a month. It is important to use Profiler and run traces over longer periods to get a feel for the mix of reads and writes. Never build an index in isolation, always consider the workload over the course of time. You can then combine these traces with DTA in order to fully analyse your workload and come up with the proper indexing strategy based on your application's specific needs. It is also worth restoring a backup of your database on a test system and use this for running your DTA analysis on.&amp;nbsp;I cannot stress highly enough, do not create indexes for indexes sake. I often ask the question when interviewing, "when would droping an index actually help to increase performance"? A lot of people are conditioned to believe that you need to build lots of indexes to increase performance, but this is not true. If you have lots of inserts, updates and deletes then this is a significant overhead to keep all these indexes updated if they are not required in the first place.&lt;/P&gt;
&lt;P&gt;Before going off and building indexes it is worth looking at alternative options. It is a good idea to update your statistics to ensure that SQL Server has&amp;nbsp;most up to date information to work out the optimal execution plan. If you are working with&amp;nbsp;stored procedures, you can consider recompiling them. You can also consider re-writting the code, especially if you are using cursors!&lt;/P&gt;
&lt;P&gt;Generally, SQL Server does better with wider indexes (covering several columns) and fewer of them than it does with narrower ones. Narrow indexes will require a bookmark lookup to get the rest of the data if you don't cover the query. Bookmark lookups are expensive and SQL Server may even decide not to use the index at all and perform a table scan. In this situation, the narrow indexes will not be used and are an unecesary overhead. You can use the DMV sys.dm_db_missing_index_details to see which multi-column indexes could give better performance. Another word of warning here if you are using the 2005 DMV's, such as sys.dm_db_index_usage_stats. Remember that the data in these DMV's is not persisted across server shutdowns, or database restores. Do not assume that because the DMVs show that an index has not been used you can safely drop it. This only means that it hasn't been used since the cache was cleared out. If you are going to rely on the DMV's, you need to persist the data over a period of time and then analyse it. This is easy to do as you can select directly from the DMV's into tables, which can then persist the data. A good time period would be to persist the data every 30 mins. Paul Randal has a post here with information how to&amp;nbsp;&lt;A class="" href="http://www.sqlskills.com/blogs/paul/2007/10/05/IndexesFromEveryAngleHowCanYouTellIfAnIndexIsBeingUsed.aspx" target=_blank mce_href="http://www.sqlskills.com/blogs/paul/2007/10/05/IndexesFromEveryAngleHowCanYouTellIfAnIndexIsBeingUsed.aspx"&gt;persist&amp;nbsp;the index usage data from&amp;nbsp;DMVs&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The final thing I'd like to say about indexing (for the time being !) is that you can't just create indexes and walk away. You need to regularly maintain them in order to reduce fragmentation. Fragmentation in indexes can be caused by inserts, updates and deletes and can be a problem if you have a busy system. By default, indexes are created with 100% fill factor, which means they are densely packed as soon as you create them. If you then need to insert rows or update data, SQL Server will need to carry out page splits in order to do so. To avoid this happening, it is advisable to create indexes with a fill factor of around 80 - 90%, however this may vary&amp;nbsp;depending on the frequency of data updates. Not only will this increase the performance of inserts and updates, it will also keep fragmentation at a minimum. You can check for fragementation using DBCC SHOWCONTIG (2000) and sys.dm_db_index_physical_stats (2005) and remove fragmentation using DBCC INDEXDEFRAG or DBCC DBREINDEX in 2000, and ALTER INDEX REORGANIZE or REBUILD in 2005. There is further information and advce here for &lt;A class="" href="http://www.sqlskills.com/blogs/paul/2008/01/27/SearchEngineQA10RebuildingIndexesAndUpdatingStatistics.aspx" target=_blank mce_href="http://www.sqlskills.com/blogs/paul/2008/01/27/SearchEngineQA10RebuildingIndexesAndUpdatingStatistics.aspx"&gt;rebuilding indexes and updating statistics&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;This is a huge topic and I could go on all day, but the importance of good indexing cannot be stressed highly enough ! In summary, you need to ensure that you understand your application's workload, you need to check that the indexes you have are&amp;nbsp;actually being used&amp;nbsp;and that you are not missing any indexes. Finally, you need to maintain your indexes so they are kept in optimal shape. Good indexing means good performance&amp;nbsp;which means&amp;nbsp;happy users !&lt;/P&gt;
&lt;P&gt;[This was originally posted on &lt;A href="http://sqlblogcasts.com/"&gt;http://sqlblogcasts.com/&lt;/A&gt; in&amp;nbsp;February 2008]&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3072266" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.technet.com/rob/archive/tags/Performance/default.aspx">Performance</category></item><item><title>SQL Server 2005 Performance Dashboard</title><link>http://blogs.technet.com/rob/archive/2008/06/12/sql-server-2005-performance-dashboard.aspx</link><pubDate>Thu, 12 Jun 2008 14:25:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3069902</guid><dc:creator>robcarrol</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/rob/comments/3069902.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3069902</wfw:commentRss><description>&lt;P&gt;I've had one or two requests recently to set up the Performance Dashboard reports on SQL Server so I've created this blog post to step through the process. Firstly, the Performance Dashboard was created to allow customers and support engineers to monitor the general performance characteristics of a server and investigate the cause of any performance problems that may occur. The goal of the Performance Dashboard is to reduce the time spent discovering the problem so effort can be focused on actually resolving it.&lt;/P&gt;
&lt;P&gt;The SQL Server 2005 Performance Dashboard Reports are available as a link off the &lt;A class="" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/servicepacks/sp2.mspx" target=_blank mce_href="http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/servicepacks/sp2.mspx"&gt;SP2 Feature Pack (Feb 2007)&lt;/A&gt;. The Performance Dashboard reports are built on the SQL Server 2005 dynamic management views,&amp;nbsp;accessing data that is already captured by SQL Server 2005.&amp;nbsp; Consequently there is no performance impact of using the dashboard except when you actually open/refresh a report. This allows engineers and customers to go much further on a performance problem while the problem is happening. The Performance Dashboard requires SQL Server 2005 SP2 or later.&lt;/P&gt;
&lt;P&gt;Install the Dashboard by running the msi from the link above, which will install to a default location of Program Files\Microsoft SQL Server\90\Tools\PerformanceDashboard. After setup finishes, open Management Studio and connect to the server and run the SETUP.SQL script (once for each SQL instance you want to monitor). Then from Object Explorer select the server, right mouse click and choose Reports – Custom Reports and browse to find the PERFORMANCE_DASHBOARD_MAIN.RDL file. This report is the only report intended to be directly loaded from SSMS; all other reports are accessed as a drill through off of the main report. The help file, PERFDASH.CHM has details about setup and permission requirements, how each report is accessed, details about the general methodology used in the dashboard and how you can use/interpret the information on each individual report.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3069902" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2005/default.aspx">2005</category><category domain="http://blogs.technet.com/rob/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogs.technet.com/rob/archive/tags/Performance/default.aspx">Performance</category></item><item><title>SQL Server 2008 RC0 Available</title><link>http://blogs.technet.com/rob/archive/2008/06/10/sql-server-2008-rc0-available.aspx</link><pubDate>Tue, 10 Jun 2008 11:26:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3068905</guid><dc:creator>robcarrol</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.technet.com/rob/comments/3068905.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3068905</wfw:commentRss><description>&lt;P&gt;The release of SQL Server 2008 has hit another milestone&amp;nbsp;with the news that&amp;nbsp;Release Candidate 0 (RC0) has been made available for &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=35F53843-03F7-4ED5-8142-24A4C024CA05&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=35F53843-03F7-4ED5-8142-24A4C024CA05&amp;amp;displaylang=en"&gt;public download&lt;/A&gt; this morning. This was initially released to Technet Plus and MSDN subscribers last Friday. It is expected that this will be the final release prior to SQL Server 2008 RTM in Q3 this calendar year. This release includes support for upgrading failover clusters from previous versions of SQL Server, as well as several bug fixes and minor improvements that&amp;nbsp;have been&amp;nbsp;made in response to the customer feedback&amp;nbsp;Microsoft has&amp;nbsp;received from previous CTPs.&lt;/P&gt;
&lt;P&gt;Interest and excitement is continuing to build for the release of 2008, with 100,000 people downloading the last CTP (CTP6 Feb), and 250,000 total downloads of SQL Server 2008 CTP's. I am also seeing huge amounts of interest from customers who are looking to upgrade straight to 2008 to get the full benefit of features such as Policy Based Management, Resource Governor, Filestream data, Business Intelligence and Compression.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3068905" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://blogs.technet.com/rob/archive/tags/2008/default.aspx">2008</category></item><item><title>June SQL Technical Rollup Mail</title><link>http://blogs.technet.com/rob/archive/2008/06/03/june-sql-technical-rollup-mail.aspx</link><pubDate>Wed, 04 Jun 2008 00:49:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3065624</guid><dc:creator>robcarrol</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/rob/comments/3065624.aspx</comments><wfw:commentRss>http://blogs.technet.com/rob/commentrss.aspx?PostID=3065624</wfw:commentRss><description>&lt;P&gt;The June SQL Server Technical Rollup Mail has now been released. Check it out for some great SQL Server information and resources...&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/trm/archive/2008/06/01/june-2008-technical-rollup-mail-sql.aspx"&gt;http://blogs.technet.com/trm/archive/2008/06/01/june-2008-technical-rollup-mail-sql.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3065624" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rob/archive/tags/SQL+Server/default.aspx">SQL Server</category></item></channel></rss>