<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:dtvmedia="http://participatoryculture.org/RSSModules/dtv/1.0"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>SQL Server 2008 Application Compatibility Blog</title>
	<link>http://blog.scalabilityexperts.com</link>
	<description>The Official Microsoft SQL Server Application Compatibility Blog</description>
	<pubDate>Tue, 24 May 2011 14:30:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
		<!-- podcast_generator="podPress/8.2" -->
		<copyright>&#xA9;Scalability Experts </copyright>
		<managingEditor>administrator@scalabilityexperts.com (Scalability Experts)</managingEditor>
		<webMaster>administrator@scalabilityexperts.com</webMaster>
		<category>SQL Server 2008</category>
		<ttl>1440</ttl>
		<itunes:keywords>sql server 2008, katmai, microsoft, scalability experts</itunes:keywords>
		<itunes:subtitle>The Application Compatibility Series</itunes:subtitle>
		<itunes:summary>The Official Microsoft SQL Server 2008 Application Compatibility Podcast Series</itunes:summary>
		<itunes:author>Scalability Experts</itunes:author>
		<itunes:category text="Technology">
  <itunes:category text="Tech News"/>
</itunes:category>
<itunes:category text="Business"/>
		<itunes:owner>
			<itunes:name>Scalability Experts</itunes:name>
			<itunes:email>administrator@scalabilityexperts.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.scalabilityexperts.com/images/images/podcast%20logo.jpg" />
		<image>
			<url>http://www.scalabilityexperts.com/images/images/podcast%20logo.jpg</url>
			<title>SQL Server 2008 Application Compatibility Blog</title>
			<link>http://blog.scalabilityexperts.com</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Upgrading for SQL Server 2008 BI Components: Follow-up from SQL Server Magazine May 2008 Cover Story</title>
		<link>http://blog.scalabilityexperts.com/2008/04/29/upgrading-for-sql-server-2008-bi-components-follow-up-from-sql-server-magazine-may-2008-cover-story/</link>
		<comments>http://blog.scalabilityexperts.com/2008/04/29/upgrading-for-sql-server-2008-bi-components-follow-up-from-sql-server-magazine-may-2008-cover-story/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 17:08:14 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/04/29/upgrading-for-sql-server-2008-bi-components-follow-up-from-sql-server-magazine-may-2008-cover-story/</guid>
		<description><![CDATA[Today, one of my SQL Server Magazine articles went live and its topic was an interesting one&#8230;&#8216;Is SQL Server 2008 BI worth an upgrade?&#8217; I have had the great pleasure of working in a large variety of IT environments over the years and one trend I&#8217;ve noticed becoming more prevalent is organizations implementing Microsoft SQL Server [...]]]></description>
			<content:encoded><![CDATA[<p>Today, one of my SQL Server Magazine articles went live and its topic was an interesting one&#8230;<a href="http://www.sqlmag.com/Article/ArticleID/98467/sql_server_98467.html" title="May 2008 Cover Story">&#8216;Is SQL Server 2008 BI worth an upgrade?&#8217;</a> I have had the great pleasure of working in a large variety of IT environments over the years and one trend I&#8217;ve noticed becoming more prevalent is organizations implementing Microsoft SQL Server just for Business Intelligence. By no means am I implying that SQL Server is not a great OLTP (relational database engine) as well. The facts though are that Microsoft has invested (and continues to invest) a great amount of resources into its overall platform&#8217;s BI capabilities. Some of you may have heard the informal nickname for SQL Server 2005, &#8216;the BI release&#8217;. These investments reflect the current status of corporate IT environments which are increasingly adopting|implementing more Business Intelligence based systems.</p>
<p>Microsoft SQL Server 2008 continues the trend of improving its BI capabilities. Every major BI component (including the relational engine) has been enhanced in terms of both performance (scalability) and capabilities (features). Two other items I want to mention quickly (neither of which are in the corresponding article) is that of Change Data Capture (CDC) and Resource Governor (RG). CDC is a great feature for enabling your SQL Server 2008 based OLTP systems (yes, you would have to upgrade your OLTP servers) to expose their changed data asynchronously for ETL consuming purposes! In addition, RG can be used to prioritize OTLP workloads including that of ETL processes, this makes it easier to ensure that BI requirements do not adversely affect the more important OLTP-based applications (business transactional systems). So the big question still remains&#8230;is SQL Server 2008 BI worth the cost (and effort) of an upgrade? Unfortunately, like most difficult questions in life the answer is that <strong>it depends upon your unique business intelligence environment and requirements</strong>!</p>
<p>Cheers</p>
<p><em>Derek Comingore</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/04/29/upgrading-for-sql-server-2008-bi-components-follow-up-from-sql-server-magazine-may-2008-cover-story/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Reporting Services 2008 Visualizations: In Comes Dundas&#8230;</title>
		<link>http://blog.scalabilityexperts.com/2008/04/16/reporting-services-2008-visualizations-in-comes-the-dundas-suite/</link>
		<comments>http://blog.scalabilityexperts.com/2008/04/16/reporting-services-2008-visualizations-in-comes-the-dundas-suite/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 01:46:32 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/04/16/reporting-services-2008-visualizations-in-comes-the-dundas-suite/</guid>
		<description><![CDATA[Like Joe, things have been quite busy on my end as well (which is good). I have been doing alot of research as of late in the Microsoft SQL Server Reporting Services (SSRS) 2008 visualizations. With the arrival of SSRS 2008 users will now gain out-of-the-box access to the Dundas visualizations platform. If your curious, the initial Dundas [...]]]></description>
			<content:encoded><![CDATA[<p>Like Joe, things have been quite busy on my end as well (which is good). I have been doing alot of research as of late in the Microsoft SQL Server Reporting Services (SSRS) 2008 visualizations. With the arrival of SSRS 2008 users will now gain out-of-the-box access to the Dundas visualizations platform. If your curious, the initial Dundas press release can be found <a href="http://www.dundas.com/Company/Media/PressSQL2008.aspx" title="Dundas SSRS 2008 Press Release">here</a>. SSRS 2008 (as of the February 2008 CTP build) contains both Dundas Gauge and Dundas Chart products. In addition, according to the prior mentioned Dundas press release it states that Dundas Calendar will also be included into SSRS 2008.</p>
<p>This fairly recent Microsoft purchase of the Dundas source code for integration into SSRS 2008 is a great move as the Dundas suite of SSRS add-ons have become the premier choice for such advanced visualization needs. By including the Dundas technologies into SSRS 2008, Reporting Services customers will not only gain access to a much improved Report Server Architecture (without requiring IIS) but also an enhanced Visualization platform. There are literally about three times as many chart types in SSRS 2008 as compared to SSRS 2005. Some of the brand new chart types include the Funnel, Range, Pyramid, and Polar. In addition to the added chart types customers will also gain access to the Dundas Gauge capabilities via a new Gauge Data Region. As of the latest SQL Server 2008 CTP there are two main gauge types: Radial and Linear. Finally, we get a few other &#8216;goodies&#8217; with the inclusion of the Dundas suite including:</p>
<ul>
<li>Secondary Axes</li>
<li>Runtime Calculated Series</li>
<li>WYSIWYG Chart Editor (design-time)</li>
</ul>
<p>Below are some sample screenshots of the new SSRS 2008 visualization capabilities&#8230;</p>
<p><em>Cheers</em></p>
<p><em>Derek Comingore</em></p>
<p><img width="442" src="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/derekc/derek/3D_Pyramid.jpg" alt="3D Pyramid" height="188" /></p>
<p><img width="416" src="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/derekc/derek/3D_Funnel.jpg" height="178" /></p>
<p><img src="http://weblogs.sqlteam.com/images/weblogs_sqlteam_com/derekc/derek/GaugeDashboard(2).jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/04/16/reporting-services-2008-visualizations-in-comes-the-dundas-suite/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Backup Compression</title>
		<link>http://blog.scalabilityexperts.com/2008/04/09/backup-compression/</link>
		<comments>http://blog.scalabilityexperts.com/2008/04/09/backup-compression/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 22:27:53 +0000</pubDate>
		<dc:creator>Joe Yong</dc:creator>
		
		<category><![CDATA[Manageability]]></category>

		<category><![CDATA[HADR]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/04/09/backup-compression/</guid>
		<description><![CDATA[Been away for some time finishing up on the Upgrade and Application Compatibility testing content and tools. We&#8217;re about 98% done with just a few more tweaks before final RTM. If you&#8217;re interested in the release candidate versions, check out SQL Server 2008 Upgrade Assistant.
Managed to find some time for an extended lunch so I [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2" face="Arial">Been away for some time finishing up on the Upgrade and Application Compatibility testing content and tools. We&#8217;re about 98% done with just a few more tweaks before final RTM. If you&#8217;re interested in the release candidate versions, check out <a href="http://www.scalabilityexperts.com/ssua/">SQL Server 2008 Upgrade Assistant</a>.</font></p>
<p><font size="2" face="Arial">Managed to find some time for an extended lunch so I figured I&#8217;d come back and share some other learnings - an easy one this time: backup compression. This is not the same as data compression so don&#8217;t confuse the two. I&#8217;ll blog how to on the latter later when I find some time. That&#8217;s pretty cool too.</font></p>
<p><font size="2" face="Arial">I&#8217;ve worked with a lot of customers who use 3rd party backup software primarily for the compression capabilities followed by improved speed, especially during restore. With one of the more popular 3rd party backup solutions, I&#8217;ve restored a 1.2 TB database in under 30 minutes on a beefy HP Integrity rx8640 server with very a large EMC Dx3 SAN so there was no IO or CPU bottlenecks at any point. No official hard data on Katmai&#8217;s backup compression or performance right now but I know the folks in building 35 will be working hard to at least match the popular 3rd party solutions.</font></p>
<p><font size="2" face="Arial">From some of the tests we&#8217;ve done both internally and with a couple of customers with tens and hundreds of GB databases, both compression ratio and performance seem to map closely to the popular 3rd party software we used. At least for default compressions on the 3rd party software. You can change the level of compression with some of these 3rd parties but SQL Server 2008 only has 1 level so I didn&#8217;t bother testing against different settings. I&#8217;d imagine the delta would not be significant percentage wise but if you have tens of Terabytes to deal with, even 5% can be a noteworthy difference.<br />
</font></p>
<h2><font size="2" face="Arial">How it&#8217;s done</font></h2>
<p><font size="2" face="Arial">Taking advantage of backup compression once you&#8217;ve upgraded to Katmai is just a matter of adding an extra option (in bold below) in your backup scripts </font></p>
<blockquote><p><font face="Courier"><span style="background-color: #e7d2cc">&#8211; My Backup Job with compression</span></font><font face="Courier"> </font></p>
<p><font face="Courier"><span style="background-color: #e7d2cc">BACKUP DATABASE MyBigDatabase<br />
TO  DISK = &#8216;N:\Tier1Backups\MyBigDatabase.bak&#8217;<br />
WITH<br />
NOFORMAT,<br />
NOINIT,<br />
NAME = &#8216;Full DB Backup - MyBigDatabase&#8217;,<br />
SKIP,<br />
NOREWIND,<br />
NOUNLOAD,<br />
<strong>COMPRESSION;</strong><br />
GO</span></font></p></blockquote>
<p><font size="2" face="Arial">or selecting the compression option if you are using Management Studio GUI.  Note that you can change the global setting at the instance level with</font></p>
<blockquote><p><span style="background-color: #e7d2cc"><font face="Courier">SP_CONFIGURE &#8216;backup compression default&#8217;, 1;</font></span></p></blockquote>
<p><font face="Courier"><font size="2" face="Arial">so that all backup commands will always compress by default. This can be changed at the command level also when you execute your backup so you can backup with compression for specific databases only and not for everything in the instance. This is too easy.</font></font></p>
<p><font face="Courier"><font size="2" face="Arial">Note that the default setting is &#8216;no compression&#8217; so your DBA team does not get alarmed by the sudden reduction in the backup file sizes; just in case not everyone is keeping close tabs Katmai enhancements. Last thing you want is the graveyard shift operator re-running backup all night and finally paging you at 3am because &#8220;the backup file looks too small so it can&#8217;t be good&#8230;&#8221;. Don&#8217;t laugh (unless it&#8217;s someone else&#8217;s turn to be on-call).<br />
</font></font></p>
<h2><font size="2" face="Arial">Sample results</font></h2>
<p><font size="2" face="Arial">Simple tests with the AdventureWorks OLTP database yielded the following:</font></p>
<blockquote>
<table dir="ltr" id="table1" width="509" cellpadding="0" cellspacing="0" height="150">
<tr>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#ba5b20" width="149" height="21">
<p align="center"><font face="Arial"><span style="font-size: 10pt; color: white"><strong>Path</strong></span></font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#ba5b20" width="121" height="21">
<p align="center"><strong><font size="2" color="#ffffff" face="Arial">Backup time</font></strong></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#ba5b20" width="123" height="21">
<p align="center"><strong><font size="2" color="#ffffff" face="Arial">Restore time</font></strong></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#ba5b20" width="113" height="21">
<p align="center"><strong><font size="2" color="#ffffff" face="Arial">File size</font></strong></p>
</td>
</tr>
<tr>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#e7d2cc" width="149" height="28">
<p align="left"><font size="2" face="Arial">Original database</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#e7d2cc" width="121" height="28">
<p align="center"><font size="2" face="Arial">n/a</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#e7d2cc" width="123" height="28">
<p align="center"><font size="2" face="Arial">n/a</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#e7d2cc" width="113" height="28">
<p align="center"><font size="2" face="Arial">174,080 MB</font></p>
</td>
</tr>
<tr>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#f3eae7" width="149" height="41">
<p align="left"><font size="2" face="Arial">NO COMPRESSION backup</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#f3eae7" width="121" height="41">
<p align="center"><font size="2" face="Arial">23s</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#f3eae7" width="123" height="41">
<p align="center"><font size="2" face="Arial">23s</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#f3eae7" width="113" height="41">
<p align="center"><font size="2" face="Arial">171,093 MB</font></p>
</td>
</tr>
<tr>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#e7d2cc" width="149" height="51">
<p align="left"><font size="2" face="Arial">WITH COMPRESSION backup</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#e7d2cc" width="121" height="51">
<p align="center"><font size="2" face="Arial">11s</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#e7d2cc" width="123" height="51">
<p align="center"><font size="2" face="Arial">14s</font></p>
</td>
<td style="border: 1px solid white; vertical-align: top" bgcolor="#e7d2cc" width="113" height="51">
<p align="center"><font size="2" face="Arial">40,097 MB</font></p>
</td>
</tr>
</table>
</blockquote>
<p><font size="2" face="Arial">This was done on a VPC with 1.5GB of dedicated RAM and its own dedicated 7200rpm EIDE disk (8MB cache) on a USB 2 interface. The host machine is a notebook with an Intel Core 2 Duo 2.2GHz CPU (T7500), 4GB RAM and a 7200rpm SATA disk. The times are based on averages from 3 runs - all were with a couple of seconds. Other tests with real customer databases ranging from 5GB to 800GB in size yielded similar levels of compression and percentage elapsed time reduction. Sorry, can&#8217;t publish any of the customer data but those tests were run on x64 workstations with local SATA drives and IA64 servers with enterprise class SANs.</font></p>
<p><font size="2" face="Arial">Not bad at all. Note the benefits from a performance perspective since you have much less to send to disk or retrieve when restoring. There was some impact on CPU utilization but it&#8217;s hard to say what the real impact would be when doing hot backups in a production environment since I don&#8217;t have other workloads running. You can expect some CPU load but the level will really depend on your database. Looks like it&#8217;ll be low to moderate. So long as you&#8217;re not already facing CPU pressure in your current system, I expect this to work fine but don&#8217;t take my word for it; test (no really, test). This is important because while few environments do full DB backups during peak hours, many companies have other system jobs or reports run during maintenance windows so make sure you don&#8217;t saturate the CPU. All that aside, the numbers are very decent especially since it&#8217;s still in beta.</font></p>
<p><font size="2" face="Arial">Of course, with any compression technology, database or file system, your mileage can vary significantly. Character data types typically compress very well while binary types not as well (or very poorly in some cases). However, most traditional OLTP systems (e.g. accounting, sales, HR, etc&#8230;) will probably benefit from this since the bulk of the data is of character types.</font><font size="2" face="Arial">I expect this will be a widely used feature both to improve backup/restore performance and to save disk space (enterprise storage is NOT cheap). </font></p>
<p><font size="2" face="Arial">One thing to remember is that smaller backup files also benefit some disaster recovery scenarios (basically those that don&#8217;t have good DR plans). Companies that do not have a SAN replication solution or some kind of Log Shipping/Database Mirroring solution in place, often transfer backup files to their warm DR site. Smaller files means faster transfer time which means better chance of recovery (you have a smaller window of exposure).</font></p>
<p><font size="2" face="Arial">Password lock is available as with regular backups but there is no encryption capability with this release as far as I know. Now if you&#8217;re thinking, &#8220;<em><strong>hey, I&#8217;ve got Transparent Data Encryption, I can mix and match!!</strong></em>&#8220;. Well, don&#8217;t. Backup compression and TDE, at least based on the current release, do not compliment each other. You get next to nothing in space savings with backup compression on a TDE enabled database but you will burn the extra CPU cycles trying. As far as I can tell, this is true regardless of whether you use SQL Server&#8217;s backup compression or some 3rd party backup software with compression. However, some 3rd party solutions do offer backup compression with encryption but that&#8217;s a whole different deal. It&#8217;s a compressed backup that&#8217;s stored encrypted on disk with a non-TDE database.</font></p>
<p><font size="2" face="Arial">Chalk this up as one of the &#8220;little to no effort&#8221; benefits when you move to SQL Server 2008. Just be aware that while it does great at the intended task, it doesn&#8217;t have all the bells &amp; whistles that popular common 3rd party solutions do. For example, having different levels of compression and encrypting backups of non-TDE database are the most common I hear from our customers. Got something you want the SQL Server product group to add something for the next release? Go to <a href="http://connect.microsoft.com/sqlserver/feedback">SQL Server Connect</a></font><font size="2" face="Arial"> </font></p>
<p><font size="2" face="Arial"><em><font size="2" face="Arial">joe.</font></em></font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/04/09/backup-compression/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Report Services 2008 for the Information Worker Webcast</title>
		<link>http://blog.scalabilityexperts.com/2008/03/07/report-services-2008-for-the-information-worker-webcast/</link>
		<comments>http://blog.scalabilityexperts.com/2008/03/07/report-services-2008-for-the-information-worker-webcast/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 22:22:54 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/03/07/report-services-2008-for-the-information-worker-webcast/</guid>
		<description><![CDATA[Recently I gave a presentation on Reporting Services 2008 for the information worker. This webcast focuses mainly on the new Report Designer tool utility that ships with SQL Server 2008 that is designed for business users. The presentation can be found HERE.
Cheers
Derek Comingore
]]></description>
			<content:encoded><![CDATA[<p>Recently I gave a presentation on Reporting Services 2008 for the information worker. This webcast focuses mainly on the new Report Designer tool utility that ships with SQL Server 2008 that is designed for business users. The presentation can be found <a href="//www.scalabilityexperts.com/Channelcasts/Channelcast_DerekComingore022008.wmv" title="SQL Server 2008 for the Information Worker Webcast">HERE</a>.</p>
<p>Cheers</p>
<p>Derek Comingore</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/03/07/report-services-2008-for-the-information-worker-webcast/feed/</wfw:commentRss>
<enclosure url="http://www.scalabilityexperts.com/Channelcasts/Channelcast_DerekComingore022008.wmv" length="5850585" type="video/x-ms-wmv" />
		</item>
		<item>
		<title>Cube Squared: Migrating Analysis Services to the SQL Server 2008 Platform, Part 1 of 2</title>
		<link>http://blog.scalabilityexperts.com/2008/02/27/cube-squared-migrating-analysis-services-to-the-sql-server-2008-platform-part-1-of-2/</link>
		<comments>http://blog.scalabilityexperts.com/2008/02/27/cube-squared-migrating-analysis-services-to-the-sql-server-2008-platform-part-1-of-2/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 19:26:45 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[Migrate]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/02/27/cube-squared-migrating-analysis-services-to-the-sql-server-2008-platform-part-1-of-2/</guid>
		<description><![CDATA[Analysis Services 2008, the Next-Generation Analytics Platform
Since Microsoft’s 1996 acquisition of the Israeli-based Panorama Software, Microsoft’s Business Intelligence platform has been continually refined and is spearheaded by the later renamed Analysis Services analytical platform! Analysis Services continues to rank as the number one OLAP product according to such institutes as Gartner, IDC, and the OLAP [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em><font face="Calibri">Analysis Services 2008, the Next-Generation Analytics Platform</font></em></strong></p>
<p><font face="Calibri">Since Microsoft’s 1996 acquisition of the Israeli-based Panorama Software, Microsoft’s Business Intelligence platform has been continually refined and is spearheaded by the later renamed Analysis Services analytical platform! Analysis Services continues to rank as the number one OLAP product according to such institutes as Gartner, IDC, and the OLAP Report. With each iteration that passes Analysis Services continues to ‘up the ante’ in the OLAP market.</font></p>
<p><font face="Calibri">Analytical platforms in general are growing and are realizing more mainstream use. <u>Every potential business and industry can benefit from analytics and thus the larger field of Business Intelligence!</u> <u>Competition is fiercer today in business than ever before and the ability to reap more value from your existing corporate data then your competitors is one of the many ‘winning factors’ in business today!</u></font></p>
<p><font face="Calibri">Every major area of the SQL Server product has been enhanced in the 2008 release including Analysis Services. The new enhancements as described later touch both multidimensional and data mining objects. Analysis Services 2008 improvements are substantial and thus warrant an evaluation of Analysis Services 2008 and the potential benefits it may bring to your organization! </font></p>
<p><strong><em><font face="Calibri">Why Upgrade from Analysis Services 2000?</font></em></strong></p>
<p><font face="Calibri">The same reasons for upgrading to Analysis Services 2005 from 2000 apply to why you should consider upgrade to Analysis Services 2008. In addition to those original improvements found in the 2005 release, 2008 contains additional improvements which are listed below in the topic of Why Upgrade from 2005. Beyond the analytical platform improvements there is the end of mainstream support for SQL Server 2000 matter. Microsoft mainstream support for SQL Server 2000 ends on 4/8/2008, more information can be found on this at </font><a href="http://support.microsoft.com/lifecycle/?LN=en-us&amp;p1=2852&amp;x=17&amp;y=10"><font face="Calibri">http://support.microsoft.com/lifecycle/?LN=en-us&amp;p1=2852&amp;x=17&amp;y=10</font></a><font face="Calibri"> . </font></p>
<p><em><font face="Calibri"><strong>Why Upgrade from Analysis Services 2005?</strong></font></em></p>
<p><font face="Calibri">Like the DTS to SSIS 2008 migration, if you are already running on the 2005 platform you will realize less benefits when compared to those migrating from Analysis Services 2000. That being said, there are still a good amount of new features and improvements found in Analysis Services 2008 including but not limited to:</font></p>
<ul>
<li><font face="Calibri">MultiDimensional Data</font>
<ul>
<li><font face="Calibri">Enhanced Cube Design</font>
<ul>
<li><font face="Calibri">Simplified &amp; Enhanced Cube Wizard ‘IntelliCube’</font></li>
<li><font face="Calibri">AMO &amp; UI Best Practice Alerts</font></li>
<li><font face="Calibri">Aggregations Designer</font></li>
<li><font face="Calibri">Simplified &amp; Enhanced Aggregations Designer &amp; Usage-Based Optimizations Wizards</font></li>
</ul>
</li>
<li><font face="Calibri">Enhanced Scalability</font>
<ul>
<li><font face="Calibri">MOLAP-enabled write back</font></li>
<li><font face="Calibri">Scale-out databases</font></li>
<li><font face="Calibri">Backup Compression</font></li>
</ul>
</li>
<li><font face="Calibri">Enhanced Dimension Design</font>
<ul>
<li><font face="Calibri">Attribute Relationships Designer</font></li>
<li><font face="Calibri">Enhanced Dimension Wizard</font></li>
<li><font face="Calibri">Key Columns Dialog</font></li>
</ul>
</li>
<li><font face="Calibri">Enhanced MDX</font>
<ul>
<li><font face="Calibri">Dynamic Named Sets</font></li>
<li><font face="Calibri">Subspace Computations</font></li>
</ul>
</li>
</ul>
</li>
<li><font face="Calibri">Data Mining</font>
<ul>
<li><font face="Calibri">ARIMA Time Series Algorithm</font></li>
<li><font face="Calibri">Creation of Holdout Test Sets</font></li>
<li><font face="Calibri">Filtering on Model Cases</font></li>
<li><font face="Calibri">Cross-validation of multiple Mining Models</font></li>
<li><font face="Calibri">Drill though to Structure Cases &amp; Columns</font></li>
<li><font face="Calibri">Aliasing Mining Model Columns</font></li>
</ul>
</li>
</ul>
<p><font face="Calibri">As you can see there are still several added benefits by migrating to Analysis Services 2008! Microsoft continues to devote a large amount of its resources to continual refining the coveted MSFT BI platform. So should you upgrade to Analysis Services 2008? Ultimately, this decision should be based on your organization’s analytical applications and use of Analysis Services and the degree you can benefit from the new capabilities of the 2008 platform.   </font></p>
<p><em><font face="Calibri"><strong>We are still running on OLAP Services (SQL 7.0), what do we do?</strong></font></em></p>
<p><font face="Calibri">Things get a bit more difficult if your organization is still running on the original SQL 7.0 OLAP Services release! First, you will need to upgrade to one of the two supported SQL Server 2008 upgrade paths:</font></p>
<p><font face="Calibri">1.</font>       <font face="Calibri">SQL Server 2000 w/sp4</font></p>
<p><font face="Calibri">2.</font>       <font face="Calibri">SQL Server 2005 w/sp2</font></p>
<p><font face="Calibri">Once you have performed this preliminary upgrade of your SQL Server (and thus OLAP Services) server you can start planning your SQL Server 2008 upgrade if you desire to get the latest advances in the analytics platform! Note that mainstream support for SQL Server 7.0 concluded on 12/31/2005! For more information on Microsoft’s Support Lifecycle for SQL Server 7.0 please see </font><a href="http://support.microsoft.com/lifecycle/?p1=2862"><font face="Calibri">http://support.microsoft.com/lifecycle/?p1=2862</font></a><font face="Calibri"> .</font></p>
<p><em><font face="Calibri"><strong>Effort Estimation Phase</strong></font></em></p>
<p><font face="Calibri">Yet another parallel with the DTS to SSIS 2008 migration, you should consider performing a migration effort inquiry phase. There are fairly large differences between the 2000 version of Analysis Services and those versions that followed thereafter. Some of the items you may want to consider when performing your Analysis Services migration effort estimation include but not limited to:</font></p>
<p>·         <font face="Calibri">Cube &amp; Mining Structure/Models Complexities</font></p>
<p>·         <font face="Calibri">SQL Server Upgrade Advisor (SSUA) 2008’s alerts on your existing Analysis Services Installations</font></p>
<p>·         <font face="Calibri">64-bit Environments</font></p>
<p><em><font face="Calibri"><strong>Summary &amp; Part2</strong></font></em></p>
<p>In this post we have reviewed why an organization should consider upgrading their existing Analysis Services (and OLAP Services) installations to Analysis Services 2008. Much like the DTS to SSIS 2008 migration, Analysis Services migrations (particularly from SQL Server 2000) are a somewhat difficult yet high value proposition. A second parallel is having a solid, well thought out migration plan and effort estimation phase completed. Part 2 of our Analysis Services 2008 migration topic will go into the actual migration itself, rather how we perform the migration once we have decided to go forward!</p>
<p><em>Cheers</em></p>
<p><em>Derek Comingore</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/02/27/cube-squared-migrating-analysis-services-to-the-sql-server-2008-platform-part-1-of-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Key SQL Server 2008 BI Migration: DTS to SSIS 2008, Part 2 of 2</title>
		<link>http://blog.scalabilityexperts.com/2008/02/19/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-2-of-2/</link>
		<comments>http://blog.scalabilityexperts.com/2008/02/19/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-2-of-2/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 19:46:29 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[Migrate]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/02/19/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-2-of-2/</guid>
		<description><![CDATA[Time to Upgrade…
Well, we’re back and it’s time to perform the actual DTS to SSIS migration. Before we get started let’s review a few key points of interest. First, the migration process from DTS to SSIS is the same regardless of which version of SSIS (2005 or 2008) you are migrating too. In the context [...]]]></description>
			<content:encoded><![CDATA[<p><em><font face="Calibri">Time to Upgrade…</font></em></p>
<p><font face="Calibri">Well, we’re back and it’s time to perform the actual DTS to SSIS migration. Before we get started let’s review a few key points of interest. First, the migration process from DTS to SSIS is the same regardless of which version of SSIS (2005 or 2008) you are migrating too. In the context of these blog posts we are discussing SSIS 2008, just keep in mind that these are the same processes to migrate to SSIS 2005 as well. Second, we need to review the available DTS to SSIS migration strategies as mentioned in my first post, <a href="http://blog.scalabilityexperts.com/2008/02/14/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-1-of-2/"><font color="#094a8b" face="Calibri">The Key SQL Server 2008 BI Migration: DTS to SSIS 2008, Part 1 of 2</font></a>:</font></p>
<p>·         <font face="Calibri">Proactive (resolving DTS to SSIS issues prior to upgrade)</font></p>
<p>·         <font face="Calibri">Reactive w/Package Migration Wizard</font></p>
<p>·         <font face="Calibri">Reactive w/o Package Migration Wizard</font></p>
<p><font face="Calibri">There are various business and technical requirements that will assist you in this decision such as:</font></p>
<p>·         <font face="Calibri">Can you still work in/edit the DTS Packages?</font></p>
<p>·         <font face="Calibri">Can the majority of the DTS to SSIS issues be resolved in DTS or must you wait until the package is in SSIS format? (some DTS items do not have direct SSIS equivalents) </font></p>
<p>·         <font face="Calibri">What is the average effectiveness of the Package Migration Wizard for your packages?</font></p>
<p><em><font face="Calibri">The DTS to SSIS Migration Process</font></em></p>
<p><font face="Calibri">At this point you have been given the ‘green light’ to perform the actual migration and you have selected a migration strategy. So now what? Well, first off don’t do anything on production! If you have not yet performed a DTS Package scan with SQL Server Upgrade Advisor (SSUA) for the effort estimation, that will be the first task to perform. Again, we want to minimize the load on the production server(s) as they still have to do their daily ‘jobs’. To perform a SSUA scan of your DTS Packages perform the following steps:</font></p>
<p><font face="Calibri">1.</font>       <font face="Calibri">Export the DTS Packages to the Structured Storage File Format.</font></p>
<blockquote><p><font face="Calibri">a.</font>       <font face="Calibri">In SQL Server 2000 Enterprise Manager, open each package and do a Save As command to the Structured Storage File Format. </font></p></blockquote>
<blockquote><p><em><font face="Calibri">*If the production server has already been upgraded to SQL Server 2005 and is still running the DTS Packages you will need the SQL Server 2000 DTS Designer Components to save the package to a storage file.</font></em></p>
<p><em><font face="Calibri">*You can save each package to a new file or consolidate all of them into a single file. The SSUA facilitates scanning all files in a supplied directory so either method will work with the SSUA. </font></em></p></blockquote>
<p><em><font face="Calibri">2.</font>        </em><font face="Calibri"><em>Copy or Move the files to a SQL Server 2008 development server.</em></font></p>
<p><em><font face="Calibri">3.</font>        </em><font face="Calibri">Scan the DTS Packages w/SSUA 2008 </font></p>
<blockquote><p><em><font face="Calibri">*The SSUA requires the detection of the DTS runtime which gets installed as part of the SQL Server 2005|2008 backwards compatibility files prior to allowing you to scan individual .dts (structured storage) files.</font></em></p></blockquote>
<p><em><font face="Calibri">4.</font>        </em><font face="Calibri">Note the SSUA scan results</font></p>
<p><font face="Calibri">With your SSUA scan results ‘in hand’ let’s move on. You should already have the DTS packages on a development server. At this point you should either use your current development server or another server to create a true test environment. By test environment I mean a SQL Server 2008 environment that mimics production. So items like files, directories, databases (with a sampling of data) etc are on the development server, this will facilitate the actual testing of your SSIS 2008 packages after being converted!</font></p>
<p><font face="Calibri">At this point our development environment has been built using SQL Server 2008. It is now time to migrate the packages in the development environment by leveraging your chosen migration strategy detailed above. Once you have your SSIS (.dtsx) equivalents of the DTS packages you need to perform testing of each individual SSIS package. Make sure they execute as expected producing the correct results. Once you are confident that the new SSIS packages are working as expected you should:</font></p>
<p>·         <font face="Calibri">Enable SSIS Package Configurations for all external resources</font></p>
<p>·         <font face="Calibri">Create a Package Deployment Utility</font></p>
<p><font face="Calibri">You are now ready to deploy, test, and ensure that the new SSIS packages run as expected in your production environment! Definitely coordinate the following steps with the server’s DBA. Depending upon the overall SQL Server 2008 upgrade strategy the DBA choose (in-place or side-by-side) you may or may not have both instances on the current production machine. If the production servers have not yet been upgraded then you must wait until they are upgraded to SQL Server 2008. Once the production server(s) are upgraded, deploy the packages with the previously created Package Deployment utility to the intended servers. Update any package configuration settings needed and test each individual package during periods of low activity on the production server (if possible). Once you have confirmed the new SSIS Packages work as expected your DTS to SSIS 2008 migration is complete!</font></p>
<p><em><font face="Calibri">Migrating from SSIS 2005 to 2008</font></em></p>
<p><font face="Calibri">If you are already running on SQL Server 2005’s Integration Services platform and you wish to get the new benefits of Integration Services 2008 you will still need to perform a migration (or upgrade), however it’s a relatively simple one. As of the time of this writing (SQL Server 2008 CTP5), SSIS 2008 does support being installed side-by-side with SSIS 2005. SSIS 2008 is for the most part a pure enhancement of the platform. I say for the most part because there are a few ‘gotchas’ (breaking changes) between the two builds:</font></p>
<p>·         <font face="Calibri">SSIS 2008 uses Visual Studio 2005 Tools for Applications (VSTA) for its scripting environment</font></p>
<p>·         <font face="Calibri">SSIS 2008 uses a newer build of the SQL Server Native Client</font></p>
<p>·         <font face="Calibri">SSIS 2008 contains an updated OLEDB Provider for Analysis Services (10.0)</font></p>
<p>·         <font face="Calibri">SSIS 2005 custom developed components will need to be altered to work in SSIS 2008</font></p>
<p><font face="Calibri">The script environment differences are the biggest change between the two builds of SSIS. When you open/add a SSIS 2005 package which contains a Script Task in SQL Server 2008 BIDS it will automatically attempt to convert the script for you. You can also attempt to execute the older SSIS 2005 package with the 2008 dtexec utility, this operation will also convert the script; however the script conversion is only temporary for the currently running instance of the package. </font></p>
<p><em><font face="Calibri">Removing the old DTS Packages &amp; SQL Server Agent Jobs from Production</font></em></p>
<p><font face="Calibri">This is the step that is the easiest to forget about! You have now successfully migrated your older DTS packages to the SSIS 2008 format, we are all done right? No, that’s not right, we still have the original DTS packages running on our production server. To remove the older packages from a production environment perform the following steps (again make sure the DBA is aware of your actions):</font></p>
<p>·         <font face="Calibri">Stop all corresponding SQL Agent jobs</font></p>
<p>·         <font face="Calibri">Open each package and do a Save As command to export the production version to the structured storage file format (yes, I know we already did this, but you never know if any of them changed or not, good practice)</font></p>
<p>·         <font face="Calibri">Backup, check in, etc the storage files just in case we ever need to refer to them again!</font></p>
<p><em><font face="Calibri">*Assuming the same schedules apply to the new packages you may want to just update each SQL Server Agent Job with the corresponding SSIS Package step replacing the older DTSRun steps. If you need to recreate the jobs too on a different server consider scripting out all of the jobs and then editing/recreating them in bulk with the updated job steps in the scripts.</font></em></p>
<p><em><font face="Calibri">Summary</font></em></p>
<p><font face="Calibri">In this post we have explored the various DTS to SSIS migration solutions and best practices processes. Once the migration is approved based upon the business and technical factors (see my prior post </font><a href="http://blog.scalabilityexperts.com/2008/02/14/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-1-of-2/"><font color="#094a8b" face="Calibri">The Key SQL Server 2008 BI Migration: DTS to SSIS 2008, Part 1 of 2</font></a><font face="Calibri">) you need to perform the actual migration. The DTS to SSIS migration summarized consists of:</font></p>
<p><font face="Calibri">1.</font>       <font face="Calibri">Choosing a DTS to SSIS Migration Strategy (Reactive/Proactive)</font></p>
<p><font face="Calibri">2.</font>       <font face="Calibri">Capturing SSUA DTS Package Alerts (all categories of notifications)</font></p>
<p><font face="Calibri">3.</font>       <font face="Calibri">Building a dev/test environment</font></p>
<p><font face="Calibri">4.</font>       <font face="Calibri">Migrating the packages using the selected DTS to SSIS Migration Strategy</font></p>
<p><font face="Calibri">5.</font>       <font face="Calibri">Testing/Correcting the resulting SSIS 2008 Packages in the dev/test environment</font></p>
<p><font face="Calibri">6.</font>       <font face="Calibri">Deploying and reconfirming the resulting SSIS 2008 Packages work in production as expected</font></p>
<p><font face="Calibri">7.</font>       <font face="Calibri">Removing the old DTS Packages from production w/optional SQL Server Agent Jobs</font></p>
<p><font face="Calibri">By using the prescriptive guidance found in both of my posts you will have a great head start on the DTS to SSIS migration process we all face as SQL Server customers! </font></p>
<p><em><font face="Calibri">Cheers</font></em></p>
<p><em><font face="Calibri">Derek Comingore</font></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/02/19/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-2-of-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SQL Server 2008 BI Stack:  Key App Compat Issues Podcast</title>
		<link>http://blog.scalabilityexperts.com/2008/02/18/sql-server-2008-bi-stack-key-app-compat-issues-podcast/</link>
		<comments>http://blog.scalabilityexperts.com/2008/02/18/sql-server-2008-bi-stack-key-app-compat-issues-podcast/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 21:24:10 +0000</pubDate>
		<dc:creator>dericksc</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/02/18/sql-server-2008-bi-stack-key-app-compat-issues-podcast/</guid>
		<description><![CDATA[We have had a lot of great posts from contributing author Derek Comingore regarding application compatibility and upgrades of the key SQL Server 2008 components that sit outside the relational engine.  In this entry, I&#8217;m posting a podcast interview we created with Derek that covers many of these points so our podcast subscribers can [...]]]></description>
			<content:encoded><![CDATA[<p>We have had a lot of great posts from contributing author Derek Comingore regarding application compatibility and upgrades of the key SQL Server 2008 components that sit outside the relational engine.  In this entry, I&#8217;m posting a podcast interview we created with Derek that covers many of these points so our podcast subscribers can get the content as well.</p>
<p>Fire up those Zune&#8217;s and enjoy!</p>
<h3></h3>
<p>-Derick</p>
<p><img src="http://www.orangecaster.com/images/orangecast_mc.gif" title="OrangeCast Social Media Marketing" alt="OrangeCast Social Media Marketing" height="1" width="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/02/18/sql-server-2008-bi-stack-key-app-compat-issues-podcast/feed/</wfw:commentRss>
			<enclosure url="http://blog.scalabilityexperts.com/wp-content/uploads/podcast/bi_appcompat.mp3" length="16291966" type="audio/mpeg"/>
<itunes:duration>16:58</itunes:duration>
		<itunes:subtitle>We have had a lot of great posts from contributing author Derek Comingore regarding application compatibility and upgrades of the key SQL Server 2008 components ...</itunes:subtitle>
		<itunes:summary>We have had a lot of great posts from contributing author Derek Comingore regarding application compatibility and upgrades of the key SQL Server 2008 components that sit outside the relational engine.  In this entry, I'm posting a podcast interview we created with Derek that covers many of these points so our podcast subscribers can get the content as well.

Fire up those Zune's and enjoy!

-Derick

</itunes:summary>
		<itunes:keywords>General</itunes:keywords>
		<itunes:author>Scalability Experts</itunes:author>
		<itunes:explicit>no</itunes:explicit>
		<itunes:block>No</itunes:block>
	</item>
		<item>
		<title>The Key SQL Server 2008 BI Migration: DTS to SSIS 2008, Part 1 of 2</title>
		<link>http://blog.scalabilityexperts.com/2008/02/14/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-1-of-2/</link>
		<comments>http://blog.scalabilityexperts.com/2008/02/14/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-1-of-2/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 05:26:12 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[Migrate]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/02/14/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-1-of-2/</guid>
		<description><![CDATA[The DTS to SSIS Dilemma…
SQL Server Integration Services or SSIS, saying those words around IT personnel who have a plethora of DTS packages will shiver! Naturally, they tremble because of two key reasons. First, SSIS is a completely different and more powerful tool, with power does come a certain degree of complexity. DTS has been [...]]]></description>
			<content:encoded><![CDATA[<p><em><font face="Calibri">The DTS to SSIS Dilemma…</font></em></p>
<p><font face="Calibri">SQL Server Integration Services or SSIS, saying those words around IT personnel who have a plethora of DTS packages will shiver! Naturally, they tremble because of two key reasons. First, SSIS is a completely different and <u>more powerful tool</u>, <u>with power does come a certain degree of complexity</u>. DTS has been used for a range of tasks beyond simple Extract, Transform, Load (ETL) purposes. Recently I was at a client’s site that entailed over 400 DTS packages, few of which were used for actual decision support purposes. <u>Analyst, Information Workers, and others that are common non-IT personnel users of DTS are going to feel awkward (at least at first) using SSIS!</u></font></p>
<p><font face="Calibri">The second reason that folks get nervous about any potential DTS to SSIS migrations is because they are to some degree aware of the migration ‘cost’ or effort involved. DTS to SSIS is not a trivial migration, especially for those clients who have the 100s or even 1000s of production packages. There is a package migration wizard I will discuss in part 2 of this post that ships with SQL Server 2005 and 2008.  The package migration wizard attempts to migrate your DTS packages, however this wizard roughly migrates only around 40% of the various possible package configurations! </font></p>
<p><em><font face="Calibri">So Why Migrate Given the High Effort Required?</font></em></p>
<p><font face="Calibri">This is a natural question and the answer is also simple: <u>power and speed</u>. First, SSIS is a much more powerful data integration platform. SSIS contains several features that the older DTS platform did not have. Here are some of the features of SSIS that DTS did not have (or at least to the degree that SSIS contains):</font>        </p>
<ul>
<li><font face="Calibri">Separation of control flow and data flow</font>        </li>
<li><font face="Calibri">Some connections have been optimized</font>        </li>
<li><font face="Calibri">Several additional various transformations</font>        </li>
<li><font face="Calibri">Wider range of data sources</font>        </li>
<li><font face="Calibri">Security enhancements</font>        </li>
<li><font face="Calibri">Toolset unification via BIDS with the other BI projects, source control integration</font></li>
<li><font face="Calibri">Checkpoints &amp; in place restarts</font>        </li>
<li><font face="Calibri">Dynamic runtime configurations</font>        </li>
<li><font face="Calibri">Superior logging capabilities</font> </li>
</ul>
<p><font face="Calibri">The second reason to migrate is speed or rather performance. SSIS entails two different yet cooperating engines, the Run-Time Engine and the Data Flow Engine. SSIS’s Data Flow Engine leverages a buffer-oriented architecture to load and transform data in memory. As a result, SSIS is fairly fast compared to DTS, especially in terms of transformations. If you are performing simple data loads without many transformations involved then there will be a small delta in performance leaning towards SSIS (SSIS’s SQL Server destination component is faster than the older DTS connections). That said, as you increase package transformation complexity, SSIS performance will continue to increase over DTS. In fact, on average SSIS is believed to be roughly 7 times as fast as DTS. Your organization may experience a lesser increase in performance or even higher but this is the average gain seen. </font></p>
<p><font face="Calibri">A third reason though it is not a prevalent one yet (which is why I did not mention it before) is because the DTS product is an official deprecated feature of SQL Server. What this means is that Microsoft is delivering a message to its customer that they need to migrate to the SSIS platform sooner than later. Some would argue with me that this should be the main reason why organizations should migrate but let’s be honest about the matter. SQL Server 2008 is the last version to support DTS (as of now) and thus as a customer you will have a long time until you are absolutely forced into this migration but note that the day will come.</font></p>
<p><em><font face="Calibri">We Are Already Running on SSIS 2005, Do We Need SSIS 2008?</font></em></p>
<p><font face="Calibri">This is where things get a bit more difficult. Do you really need to perform an upgrade to SQL Server 2008 just for the SSIS enhancements? Like most things in life, that will depend on your organization’s usage of SSIS and the larger SQL Server product. Product enhancements beyond SSIS are out of scope for this blog post but suffice it to say there are several BI related enhancements in the 2008 product beyond those found in SSIS. That said, below are the enhancements from SSIS 2005 to 2008:</font>        </p>
<ul>
<li><font face="Calibri">New Data Profiling Task &amp; Viewer</font>        </li>
<li><font face="Calibri">Enhanced Performance and Caching for the Lookup Transformation</font>        </li>
<li><font face="Calibri">Enhanced Data Flow Engine Tuned for Parallelism</font>       </li>
<li><font face="Calibri">Various smaller enhancements for supporting new data types and TSQL capabilities</font></li>
</ul>
<p><font face="Calibri"><em>OK, I Want SSIS…How Do We Migrate?</em></font></p>
<p><font face="Calibri">There are three core approaches to the DTS to SSIS 2005|2008 migration. I will be listing these solutions in order of ease. Also, only the last two are possible solutions if you must migrate immediately for some reason.</font>·        </p>
<ul>
<li><font face="Calibri">Proactive </font></li>
</ul>
<blockquote><p><font face="Calibri">Solution</font><font face="Calibri">Based on the SQL Server Upgrade Advisor&#8217;s results, take corrective action on the existing DTS packages then re-scan them w/Upgrade Advisor. Once the Upgrade Advisor reports no outstanding issues leverage the 2005 Package Migration Wizard to automate the package migration process. Any packages that cannot have their upgrade issues resolved will need to be rebuilt from scratch in SSIS.</font><font face="Times New Roman"> </font></p></blockquote>
<ul>
<li><font face="Times New Roman">Reactive Approach w/Package Migration Wizard</font></li>
</ul>
<blockquote><p><font face="Calibri">Disregard the Upgrade Advisor&#8217;s alerts and use the Package Migration Wizard to perform the migrations. Review each new resulting SSIS package to ensure it is built correctly. For those packages which did not migrate correctly either modify the resulting SSIS package or create it from scratch in the SSIS designer.</font><font face="Calibri"> </font></p></blockquote>
<ul>
<li><font face="Times New Roman">Reactive Approach w/o Package Migration Wizard</font></li>
</ul>
<blockquote><p><font face="Calibri">Disregard the Upgrade Advisor&#8217;s alerts and rebuild all of the packages from scratch in the SSIS designer.</font><em> </em></p></blockquote>
<p><em><font face="Calibri"><em>Scalability Experts DTS to SSIS Effort Estimation Framework &amp; Considerations</em></font></em></p>
<p><em><font face="Calibri">The first step in performing a DTS to SSIS migration project is the effort estimation itself. This is not a trivial migration process and thus warrants a short yet focused study on the effort required. At Scalability Experts we have developed a DTS to SSIS Effort Estimation Framework for such projects. The framework assists us in both the time and accuracy of our DTS to SSIS effort estimations. When you are performing a DTS to SSIS effort estimation some of the items you want to consider include:</font></em></p>
<ul>
<li><em><font face="Times New Roman">Package Complexities</font></em></li>
<li><em><font face="Times New Roman">Package Upgrade Advisor Alerts</font></em></li>
<li><em><font face="Times New Roman">Parent/Child Package Environments</font></em></li>
<li><em><font face="Times New Roman">Package External Dependencies</font></em></li>
<li><em><font face="Times New Roman">64-Bit Environments</font></em></li>
</ul>
<p><em><em><font face="Calibri">Summary &amp; Part 2</font></em></em><em><font face="Calibri"> </font></em></p>
<p><em><font face="Calibri">In conclusion, DTS to SSIS is a somewhat difficult yet highly valuable migration for those organizations that have come to rely on the Microsoft data integration platform(s). With the arrival of SSIS 2008 there are even more reasons to perform the migration. Having a solid migration planned out and effort estimation phase completed will be key steps to ensuring a smooth migration. In part 2 of this blog post we will discuss the actual migration process itself (How to perform the upgrade). This is the next logical step in the process once management has given the thumbs up for the migration effort to continue. </font></em><em><em></em></em><em><em><font face="Calibri">Cheers<br />
Derek Comingore</p>
<p></font></em></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/02/14/the-key-sql-server-2008-bi-migration-dts-to-ssis-2008-part-1-of-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SSRS 2000&#124;2005 Upgrade Consideration: SQL Server 2000 Detected for Remote Report Server Database</title>
		<link>http://blog.scalabilityexperts.com/2008/02/07/ssrs-20002005-upgrade-consideration-sql-server-2000-detected-for-remote-report-server-database/</link>
		<comments>http://blog.scalabilityexperts.com/2008/02/07/ssrs-20002005-upgrade-consideration-sql-server-2000-detected-for-remote-report-server-database/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 22:10:07 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/02/07/ssrs-20002005-upgrade-consideration-sql-server-2000-detected-for-remote-report-server-database/</guid>
		<description><![CDATA[
In SQL Server Reporting Services (SSRS) the Report Server is the core component of the product. In the 2000 &#38; 2005 product, the Report Server consisted of both a Windows &#38; Web service. The web services facilitate the programmatic interfaces (APIs) into the Report Server. The windows service provides initialization, scheduling, delivery, and maintenance tasks. [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Calibri"></p>
<p>In SQL Server Reporting Services (SSRS) the Report Server is the core component of the product. In the 2000 &amp; 2005 product, the Report Server consisted of both a Windows &amp; Web service. The web services facilitate the programmatic interfaces (APIs) into the Report Server. The windows service provides initialization, scheduling, delivery, and maintenance tasks. Together, the services represent a single instance of a SSRS Report Server. The Report Server is also where you can plug in your custom developed Data Processing, Delivery, Rendering, and Security extensions.</p>
<p>A SSRS Report Server relies on backend databases for both its permanent and temporary requirements. By default, the two Report Server databases are called reportserver and reportservertempdb. These databases can reside on either a local or remote instance of SQL Server 2000 or 2005. Furthermore, you should not directly change the data or structure in these databases; only work through the SSRS various interfaces that will in turn update the data in these databases.</p>
<p>When you intend to upgrade a SSRS 2000 or 2005 instance that has been configured with any of the following Report Server database configurations your upgrade will be blocked:</p>
<p>·         SQL Server 2000 in a different instance</p>
<p>·         SQL Server 2000 on a remote instance</p>
<p>·         SQL Server 2005 on a remote instance running in a 2000 compatibility mode</p>
<p>If you leverage the SQL Server 2008 Upgrade Advisor (SSUA) to advise you of your database servers upgrade issues the tool will report back a warning informing you of the issue. To correct the issue and thus allow you to upgrade your SQL Server 2000 or 2005 instance to the 2008 product you have one of two choices:</p>
<p>·         Upgrade (and ensure the compatibility mode is set to 2005) your remote SQL Server 2000 server to 2005 that houses the Report Server databases</p>
<p>·         Move the Report Server databases to a SQL Server 2005 or 2008 instance and do not forget to use the SSRS Configuration tool to connect the Report Server to the new database server instance</p>
<p><em>Derek Comingore</em></p>
<p></font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/02/07/ssrs-20002005-upgrade-consideration-sql-server-2000-detected-for-remote-report-server-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Upgrade Between SQL Server 2000 &#38; 2005+ for Business Intelligence: Heavy lifting</title>
		<link>http://blog.scalabilityexperts.com/2008/01/30/the-upgrade-between-sql-server-2000-2005-for-business-intelligence-heavy-lifting/</link>
		<comments>http://blog.scalabilityexperts.com/2008/01/30/the-upgrade-between-sql-server-2000-2005-for-business-intelligence-heavy-lifting/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 22:21:33 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/01/30/the-upgrade-between-sql-server-2000-2005-for-business-intelligence-heavy-lifting/</guid>
		<description><![CDATA[In this post I want to take a break from analyzing the in-depth SQL Server Business Intelligence (BI) upgrade issues facing SQL Server customers and talk about the upgrade process at a higher level. This post could logically be grouped with Joe’s prior post on the 2000 to 2005 or 2008 question facing SQL Server [...]]]></description>
			<content:encoded><![CDATA[<p><font size="1">In this post I want to take a break from analyzing the in-depth SQL Server Business Intelligence (BI) upgrade issues facing SQL Server customers and talk about the upgrade process at a higher level. This post could logically be grouped with Joe’s prior post on the 2000 to 2005 or 2008 question facing SQL Server customers. Thanks Joe for getting my mind ‘running’ on this larger upgrade issue and the commonality that exists for SQL Server BI customers upgrading to the 2005 or 2008 versions.</font></p>
<p><font size="1">So what is this ‘heavy lifting’ I am referring to? The ‘heavy lifting’ represents the major infrastructure changes that occurred between SQL Server 2000 and 2005 in the Business Intelligence stack. The APIs that power all of the User Interfaces (UIs) in SQL Server (and facilitate your own custom administration applications) were changed and complimented. SQL Server Distributed Management Objects (DMO) was complimented with a new relational admin object model called Server Management Objects (SMO). SQL Server SSAS’ (SSAS) Decision Support Objects (DSO) object model was complimented with a new analytical admin object model called Analysis Management Objects (AMO). Additionally, for programmatic replication admin Replication Management Objects (RMO) was added to the 2005 product. If you are curious I use the term ‘complimented’ because the older object models still shipped with the 2005 &amp; 2008 products. The newer object models are managed (CLR/.Net based) and expose the new features, while the older object models continue to support the older feature sets and are COM-based.</font></p>
<p><font size="1"><em>*In SQL Server 2008 Books Online CTP5 there are several instances mentioning SQL Server 2008 will be the last version of the product to entail the older COM-based object models. Plan to port your scripts and admin applications that leverage these older object models to their newer managed equivalents!</em></font></p>
<p><font size="1">We saw the release of SQL Server Integration Services (SSIS) with the 2005 release which required either a manual migration or a partial-manual migration using the Package Migration Wizard. SSIS was a completely different data integration platform when compared to the SQL Server 7.0 originating Data Transformation Services (DTS). DTS contained (like the other 2000-based and older APIs) a COM-based object model implemented in three DLL files: dtspkg.dll, dtspump.dll, and custtask.dll. With SSIS we received a managed object-model like the other 2005-based services.</font></p>
<p><font size="1"><em>*In SQL Server 2008 Books Online CTP5 there are several instances mentioning SQL Server 2008 will be the last version of the product to entail the DTS platform. If you have not already done so, plan/migrate your DTS packages to SSIS!</em></font></p>
<p><font size="1">SSAS beyond the API changes was drastically changed. XMLA, Actions, KPIs, perspectives, the concept of measure groups, there were huge changes in the SSAS environment. Like SSIS, SSAS provided a migration wizard for the 2000 database formats to the 2005. In addition, for the first time SSAS supported a project mode in addition to the online mode of SSAS databases. The SSAS project mode is part of a larger difference, which was the introduction of the 2005-based Business Intelligence Development Studio (BIDS). Prior to SQL Server 2005 we had to use a combination of Enterprise Manager, Analysis Manager, Query Analyzer, and the MDX Sample Application for developing SQL Server BI solutions.  BIDS consolidated all of the BI development needs into one tool based on the larger Visual Studio shell.</font></p>
<p><font size="1">SQL Server Reporting Services (SSRS) was a bit different from the rest of the SQL Server BI components for a good reason; it was originally designed for the SQL Server 2005 infrastructure, it was ‘down ported’ the SQL Server 2000 product in 2004 due to customer demand. SSRS is the outlier because of the previous statement and that it is undergoing the most changes from the SQL Server 2005 to the 2008 product. The Report Server in SSRS 2008 has been completely re-architected. The Report Server in SQL Server 2008 has been consolidated into a single Windows-based service that provides the report manager, web services, and background processing cores. This new Report Server architecture is enabled by leveraging the SQL Server’s networking stack and the HTTP.SYS which is part of the Windows networking subsystem and eliminates the requirement of Internet Information Services (ISS) in the process. SQL Server gurus foresaw this occurring because of the relational engine’s addition of native HTTP endpoints in the 2005 product that leveraged the HTTP.SYS module. Because of this re-architecture effort in SSRS 2008 we do see a few IIS-centric issues in the Upgrade Advisor 2008 release for SSRS. </font></p>
<p><font size="1">In conclusion, you will have to incur the ‘heavy lifting’ of the significant differences in the APIs and BI components (SSIS/SSRS/SSAS) regardless of whether you upgrade to the 2005 or the 2008 product. If you were to compare the SQL Server Upgrade Advisor (SSUA) accompanying help you will find a large number of the BI component’s upgrade issues are the same from the 2005 SSUA tool, this is because of the ‘heavy lifting’ I have described in this post that exists between the 2000 &amp; later versions of Microsoft SQL Server. Mainstream support for SQL Server 2000 is coming to an end and so it behooves you to start considering an upgrade to either the 2005 or 2008 version. I’d like to conclude this post with a brief summary table per BI component of the severity of differences between the product versions (with accompanying notes) and thus the more <a href="http://www.scalabilityexperts.com/solutions/SQL-server-upgrades.html">SQL server  upgrade</a> issues you will face.</font><font size="1"> </font><font size="1"><br />
<font size="1"> </font></font></p>
<p style="text-align: center"><img src="http://blog.scalabilityexperts.com/wp-content/uploads/2008/dcom013008.gif" border="0" /></p>
<p align="left"><font size="1">Figure 1: SQL Server 2000 to 2005/2008 BI Upgrade Effort Summary Table</font></p>
<p align="left"><font size="1"><em>Derek Comingore</em></font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/01/30/the-upgrade-between-sql-server-2000-2005-for-business-intelligence-heavy-lifting/feed/</wfw:commentRss>
			<enclosure url="http://blog.scalabilityexperts.com/wp-content/uploads/podcast/BI_Intro_Final.mp3" length="8853965" type="audio/mpeg"/>
<itunes:duration>9:13</itunes:duration>
		<itunes:subtitle>In this post I want to take a break from analyzing the in-depth SQL Server Business Intelligence (BI) upgrade issues facing SQL Server customers and ...</itunes:subtitle>
		<itunes:summary>In this post I want to take a break from analyzing the in-depth SQL Server Business Intelligence (BI) upgrade issues facing SQL Server customers and talk about the upgrade process at a higher level. This post could logically be grouped with Joersquo;s prior post on the 2000 to 2005 or 2008 question facing SQL Server customers. Thanks Joe for getting my mind lsquo;runningrsquo; on this larger upgrade issue and the commonality that exists for SQL Server BI customers upgrading to the 2005 or 2008 versions.

So what is this lsquo;heavy liftingrsquo; I am referring to? The lsquo;heavy liftingrsquo; represents the major infrastructure changes that occurred between SQL Server 2000 and 2005 in the Business Intelligence stack. The APIs that power all of the User Interfaces (UIs) in SQL Server (and facilitate your own custom administration applications) were changed and complimented. SQL Server Distributed Management Objects (DMO) was complimented with a new relational admin object model called Server Management Objects (SMO). SQL Server SSASrsquo; (SSAS) Decision Support Objects (DSO) object model was complimented with a new analytical admin object model called Analysis Management Objects (AMO). Additionally, for programmatic replication admin Replication Management Objects (RMO) was added to the 2005 product. If you are curious I use the term lsquo;complimentedrsquo; because the older object models still shipped with the 2005 #38; 2008 products. The newer object models are managed (CLR/.Net based) and expose the new features, while the older object models continue to support the older feature sets and are COM-based.

*In SQL Server 2008 Books Online CTP5 there are several instances mentioning SQL Server 2008 will be the last version of the product to entail the older COM-based object models. Plan to port your scripts and admin applications that leverage these older object models to their newer managed equivalents!

We saw the release of SQL Server Integration Services (SSIS) with the 2005 release which required either a manual migration or a partial-manual migration using the Package Migration Wizard. SSIS was a completely different data integration platform when compared to the SQL Server 7.0 originating Data Transformation Services (DTS). DTS contained (like the other 2000-based and older APIs) a COM-based object model implemented in three DLL files: dtspkg.dll, dtspump.dll, and custtask.dll. With SSIS we received a managed object-model like the other 2005-based services.

*In SQL Server 2008 Books Online CTP5 there are several instances mentioning SQL Server 2008 will be the last version of the product to entail the DTS platform. If you have not already done so, plan/migrate your DTS packages to SSIS!

SSAS beyond the API changes was drastically changed. XMLA, Actions, KPIs, perspectives, the concept of measure groups, there were huge changes in the SSAS environment. Like SSIS, SSAS provided a migration wizard for the 2000 database formats to the 2005. In addition, for the first time SSAS supported a project mode in addition to the online mode of SSAS databases. The SSAS project mode is part of a larger difference, which was the introduction of the 2005-based Business Intelligence Development Studio (BIDS). Prior to SQL Server 2005 we had to use a combination of Enterprise Manager, Analysis Manager, Query Analyzer, and the MDX Sample Application for developing SQL Server BI solutions.  BIDS consolidated all of the BI development needs into one tool based on the larger Visual Studio shell.

SQL Server Reporting Services (SSRS) was a bit different from the rest of the SQL Server BI components for a good reason; it was originally designed for the SQL Server 2005 infrastructure, it was lsquo;down portedrsquo; the SQL Server 2000 product in 2004 due to customer demand. SSRS is the outlier because of the previous statement and that it is undergoing the most changes from the SQL Server 2005 to the 2008 product. The Report S...</itunes:summary>
		<itunes:keywords>General</itunes:keywords>
		<itunes:author>Scalability Experts</itunes:author>
		<itunes:explicit>no</itunes:explicit>
		<itunes:block>No</itunes:block>
	</item>
		<item>
		<title>SSAS 2008 Upgrade Consideration: DrillThrough Settings from Analysis Services 2000 are not migrated</title>
		<link>http://blog.scalabilityexperts.com/2008/01/29/ssas-2008-upgrade-consideration-drillthrough-settings-from-analysis-services-2000-are-not-migrated/</link>
		<comments>http://blog.scalabilityexperts.com/2008/01/29/ssas-2008-upgrade-consideration-drillthrough-settings-from-analysis-services-2000-are-not-migrated/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 21:44:56 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/01/29/ssas-2008-upgrade-consideration-drillthrough-settings-from-analysis-services-2000-are-not-migrated/</guid>
		<description><![CDATA[Since SQL Server Analysis Services 2000, the product has supported a feature called drillthrough. Drillthough enables a user to select a cell and then retrieve an underlying result set from the source data for that particular cell. This functionality provides users with the ability to get a more detailed explanation as to why a certain [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Calibri">Since SQL Server Analysis Services 2000, the product has supported a feature called drillthrough. Drillthough enables a user to select a cell and then retrieve an underlying result set from the source data for that particular cell. This functionality provides users with the ability to get a more detailed explanation as to why a certain aggregate or cell contains the value that it does. It combines the pre-aggregated nature of OLAP with the detailed records of a relational data store.</font></p>
<p><font face="Calibri">In Analysis Services 2000 you configure the drillthough settings via the Cube Editor dialog and then going Tools-&gt;drillthrough options. You specify the tables, columns and an optional drillthrough filter. In Analysis Services 2005 you configure drillthrough settings by creating a drillthough action in the cube editor’s Actions tab. Like its predecessor, in Analysis Services 2005 you can optionally provide a filtering condition. Because the drillthrough settings are significantly different in Analysis Services 2000 compared to Analysis Services 2005/2008, this issue only applies to 2000 to 2008 in-place upgrades. I have personally tested Analysis Services 2005 to 2008 in-place upgrades with OLAP cubes that contain drillthough settings and they do in fact get migrated.</font></p>
<p><font face="Calibri">In my Analysis Services 2000 test case I am using the out-of-the-box FoodMart 2000 AS database. It contains two objects that have drillthough settings defined, the HR &amp; Sales cubes. Upgrade Advisor will detect and alert you when it scans an Analysis Services 2000 instance which contains drillthrough settings. The Upgrade Advisor corresponding help topic simply states that ‘While drillthrough exists in Microsoft SQL Server 2005 Analysis Services, drillthrough settings are not migrated from previous versions of Analysis Services’. Since Analysis Services 2005 is not subjected to this issue the Upgrade Advisor does not report anything back when it scans an AS 2005 instance.   </font></p>
<p><font face="Calibri">Prior to performing the actual SQL Server 2008 upgrade from a SQL Server 2000 instance, make note of the existing drillthough settings. Perform the actual upgrade (we always recommend using a test machine configured to mimic your production environments to test upgrade first) and then recreate your drillthough settings in your SQL Server 2008 Analysis Services instances.</font></p>
<p><em><font face="Calibri">Derek Comingore</font></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/01/29/ssas-2008-upgrade-consideration-drillthrough-settings-from-analysis-services-2000-are-not-migrated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Upgrade SQL Server 2000 to 2005 or 2008?</title>
		<link>http://blog.scalabilityexperts.com/2008/01/28/upgrade-sql-server-2000-to-2005-or-2008/</link>
		<comments>http://blog.scalabilityexperts.com/2008/01/28/upgrade-sql-server-2000-to-2005-or-2008/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 00:53:04 +0000</pubDate>
		<dc:creator>Joe Yong</dc:creator>
		
		<category><![CDATA[Upgrade]]></category>

		<category><![CDATA[Upgrade tools]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/01/28/upgrade-sql-server-2000-to-2005-or-2008/</guid>
		<description><![CDATA[As I continue to explore how 2008 will affect an application upgraded from 2000 and 2005, one question that I get almost consistently every week is &#8220;should I upgrade from 2000 to 2005 first or jump directly to 2008?&#8221;. Sure, both are supported and of course, there is no shortage of opinions and recommendations from [...]]]></description>
			<content:encoded><![CDATA[<p>As I continue to explore how 2008 will affect an application upgraded from 2000 and 2005, one question that I get almost consistently every week is &#8220;should I upgrade from 2000 to 2005 first or jump directly to 2008?&#8221;. Sure, both are supported and of course, there is no shortage of opinions and recommendations from Microsoft and 3rd parties.</p>
<p>One of the better 3rd party write-ups on the subject is from Steve Jones who recommends users to skip 2005 and move straight to 2008. I&#8217;ve known Steve for a while though we typically only catch up at conferences (TechEd, PASS, etc&#8230;). Still, he&#8217;s been working with SQL Server a long time and knows what he&#8217;s talking about so it&#8217;s worth taking a peek at his <a href="http://www.sqlservercentral.com/articles/Administration/3094/">article on SQL Server Central</a>.</p>
<p>Of course, Microsoft too has a couple of papers on the subject that are worth reviewing. While they may sound like a gentle nudge towards upgrade to 2005 first, some of the reasons are good ones. There&#8217;s the original &#8220;<a href="http://www.microsoft.com/technet/prodtechnol/sql/2005/sqlupgrd.mspx">Why upgrade to SQL Server 2005</a>&#8221; paper which is ok if you really are brand new to 2005. While quite dated, the info is still relevant. The newer &#8220;<a href="http://download.microsoft.com/download/b/8/4/b8463723-c3b9-439e-828b-50d7981d5d26/FY08%20SQL%20Server%202005%20Upgrade%20Customer%20FAQ.pdf">SQL Server 2005 Upgrade FAQ</a>&#8221; has the latest and greatest information including a short section on the benefits of moving to 2005 first then 2008 later. It&#8217;s a good start but IMHO, doesn&#8217;t provide enough to help the average user decide.</p>
<p>I really don&#8217;t believe there is a hard rule for this; it really depends on each individual deployment (yes, deployment not company). Here are a few important points to consider when trying to decide whether to first <a href="http://www.scalabilityexperts.com/solutions/SQL-server-upgrades.html">upgrade SQL</a> to 2005 then on to 2008 or do both in 1 step. I&#8217;ve laid them in in pros/cons format to make it easier to get most folks started but the right approach really depends on your specific deployment and what&#8217;s important to you.</p>
<p><colorscheme colors="#000000,#ffffff,#02024a,#ffffcc,#ba5b20,#7dcc2e,#babafc,#babafc"></colorscheme></p>
<table dir="ltr" id="table1" cellpadding="0" cellspacing="0" height="322" width="509">
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#ba5b20" height="21" width="103"><span style="font-size: 10pt; color: white"><strong>Path</strong></span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#ba5b20" height="21" width="195"><span style="font-size: 10pt; color: white"><strong>Pros</strong></span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#ba5b20" height="21" width="212"><span style="font-size: 10pt; color: white"><strong>Cons</strong></span></td>
</tr>
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="36" width="103"><span style="font-size: 10pt; color: black">Direct to 2008</span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="36" width="195"><span style="font-size: 10pt; color: black">One time effort</span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="36" width="212"><span style="font-size: 10pt; color: black">Major changes for both DBAs and developers</span></td>
</tr>
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="103"></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="195"><span style="font-size: 10pt; color: black">One downtime window</span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="212"><span style="font-size: 10pt; color: black">Deprecated features now removed; more intensive testing required</span></td>
</tr>
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="21" width="103"></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="21" width="195"><span style="font-size: 10pt; color: black">Latest capabilities and security</span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="21" width="212"></td>
</tr>
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="21" width="103"></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="21" width="195"></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="21" width="212"></td>
</tr>
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="51" width="103"><span style="font-size: 10pt; color: black">Intermediate 2005 upgrade then 2008</span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="51" width="195"><span style="font-size: 10pt; color: black">Smaller skills delta for DBAs and developers</span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="51" width="212"><span style="font-size: 10pt; color: black">50-80% repeated effort (process is reused but testing effort doesn’t change)</span></td>
</tr>
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="103"></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="195"><span style="font-size: 10pt; color: black">Window for stabilization, tuning and removing legacy code</span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="212"><span style="font-size: 10pt; color: black">Two downtime windows</span></td>
</tr>
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="51" width="103"></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="51" width="195"><span style="font-size: 10pt; color: black">Faster upgrade to “supported” version</span></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#e7d2cc" height="51" width="212"><span style="font-size: 10pt; color: black">Lacks latest capabilities until second upgrade cycle (may be &gt; 1 year later)</span></td>
</tr>
<tr>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="103"></td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="195">&nbsp;</td>
<td style="vertical-align: top; border: 1px solid white" bgcolor="#f3eae7" height="36" width="212"><span style="font-size: 10pt; color: black">Potential need for “workaround code” for certain capabilities</span></td>
</tr>
</table>
<p>Note the the lists is not ordered or weighted in anyway. They are just intended to get folks thinking about some of the issues involved. For example, testing efforts for a 1-step <a href="http://www.scalabilityexperts.com/solutions/SQL-server-upgrades.html">SQL Server upgrade</a> might be significantly more involved than a 2-step approach. This is because there are (a small number of) deprecated features that are fully de-supported/removed from SQL Server 2008. If you had taken a 2-step approach, you would have some time to setup alerts (use of unsupported features/command will fire an event create an entry in the SQL Server log) and phase them out gradually. With the 1-step upgrade, you&#8217;d have to hunt down every line of code including dynamic SQL to be analyzed by Upgrade Advisor or run through the <a href="http://www.scalabilityexperts.com/default.asp?action=article&amp;ID=90">Application Compatibility Testing tool</a>.</p>
<p><strong>Not purely an IT decision.</strong><br />
Sure, the DBAs and application admins are intimately involved since they need to handle the testing and deployment. However, there&#8217;s a fair bit of learning involved especially if you want to take advantage of Policy Based Management (aka DMF) so there&#8217;s the first involvement from the business side - training budgets. Still, the most important points, IMHO, from a business perspective are the downtime window and regulatory compliance. I&#8217;ve worked with some customers where extended downtime is schedule up to 2 years in advanced. This doesn&#8217;t leave much room for doing a lot of upgrade operations so you might have to just bite the bullet and make one big jump. On the other hand, if there are specific regulations that require you to run only products that have mainstream support, you&#8217;ll likely have to get to 2005 asap (2008 will not be available till summer).</p>
<p><strong>The SP1 rule<br />
</strong>One important point I&#8217;d like to make is about SP1. I know of a lot of companies that have this rule - no RTM deployments, wait for SP1. I used to subscribe to this rule also, a very long time ago when I helped manage some Oracle DBs and in my early SQL Server days. As of 7.0, this SP1 rule really made less sense with every release. My rationale is simple. Beta versions of SQL Server have been running in <strong><u>production</u></strong> environments for SAP customers and a bunch of Microsoft&#8217;s own internal applications (its own SAP and other business critical applications) since 7.0 and the practice continues today. If you know anything about SAP, you&#8217;d know running it in production on a beta database is no small feat regardless of how many modules you run. I don&#8217;t know of any other enterprise database that does this. So if multi-billion dollar companies can run their very complex business critical applications on <u><strong>beta</strong></u> versions of the product, I&#8217;m pretty comfortable running the released version.</p>
<p>If you still can&#8217;t decide after all this, do a POC. Download a copy of the AppCompat Tool, aka <a href="http://www.scalabilityexperts.com/default.asp?action=article&amp;ID=90">SSUA</a> for SQL Server 2008 (currently slated for March release) and do your own application compatibility testing. That should give you a good idea of the effort it&#8217;ll take to upgrade your database/application which hopefully, puts you in a place to make the right decision on which path to take.</p>
<p>In short, there are no easy answers and your decision should not be based on features alone. Though the most common response to this question is &#8220;do you need the new features&#8221;, it is hardly the most important one. Most features can be worked around with some creative code or 3rd party applications. Downtime windows and regulatory compliance requirements are generally very inflexible. Of course, your environment might be such that neither of these apply so all you really care about are the new features. Like I said from the start, it depends on each individual deployment.</p>
<p><em>joe.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/01/28/upgrade-sql-server-2000-to-2005-or-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SSAS 2008 Upgrade Consideration: ODBC Data Sources from Analysis Services 2000 are not migrated</title>
		<link>http://blog.scalabilityexperts.com/2008/01/14/ssas-upgrade-consideration-odbc-data-sources-from-analysis-services-2000-are-not-migrated/</link>
		<comments>http://blog.scalabilityexperts.com/2008/01/14/ssas-upgrade-consideration-odbc-data-sources-from-analysis-services-2000-are-not-migrated/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 22:36:52 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[Migrate]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/01/14/ssas-upgrade-consideration-odbc-data-sources-from-analysis-services-2000-are-not-migrated/</guid>
		<description><![CDATA[ODBC History
ODBC or Open Database Connectivity is a platform neutral, universal approach for providing an Application Programming Interface (API) to access relational database management systems. ODBC was an early modular approach to enable database access. The ODBC library itself is an independent Operating System (OS) component which acts like a bridge passing requests from the [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em><font face="Calibri">ODBC History</font></em></strong></p>
<p><font face="Calibri">ODBC or Open Database Connectivity is a platform neutral, universal approach for providing an Application Programming Interface (API) to access relational database management systems. ODBC was an early modular approach to enable database access. The ODBC library itself is an independent Operating System (OS) component which acts like a bridge passing requests from the consuming application to the corresponding ODBC drivers. The various data store vendors develop their product’s ODBC drivers and then either ship those with the product and or make them available over the Internet. Microsoft designed Object Linking and Embedding Database (OLEDB) as a replacement for ODBC mainly due to the desire to support a much larger variety of data stores beyond those that are pure relational databases. A nice alternative point to this post is that we take so much for granted in today’s technological landscape. At one point in time, performing database access was not a trivial task. </font></p>
<p><font face="Calibri">In today’s world, particularly the SQL Server BI world we have a plethora of drivers and providers for accessing databases, email systems, spreadsheets you name it. Like SQL Server native extended store procedures (XPs), Microsoft is slowly (but surely) phasing out the old ODBC API. Currently, Microsoft OSs still support the ODBC platform/technology, however the higher-level components are withdrawing support. SQL Server Analysis Services (SSAS) is one such component, since SQL Server 2005, SSAS has not supported the ODBC specification. The following is a quote describing the non-support of ODBC by SSAS 2005, the entire technical article can be located here </font><a href="http://technet.microsoft.com/en-us/library/aa964120.aspx"><font face="Calibri">http://technet.microsoft.com/en-us/library/aa964120.aspx</font></a><font face="Calibri"> :</font></p>
<p>&#8216;Microsoft SQL Server Analysis Services 2000 supported a range of OLE DB providers. In particular, it supported OLE DB for ODBC. You could configure an ODBC data source to access your database.Analysis Services 2005 provides greater functionality by providing data-source views. Because it supports different syntaxes, Analysis Services 2005 imposes stricter requirements on client libraries than does Analysis Services 2000. Analysis Services 2005 does not support Microsoft OLE DB Provider for ODBC. To access your database, you must find an appropriate version of the OLE DB provider for Analysis Services.</p>
<p>Besides OLE DB in Analysis Services 2005, you can use managed providers to access your relational database.&#8217;</p>
<p><strong><em>Detecting SSAS 2000 ODBC Data Sources with the Katmai Upgrade Advisor</em></strong></p>
<p>When you analyze a SQL Server 2000sp4 SSAS instance that contains ODBC data sources with the SQL Server 2008 Upgrade Advisor (UA) utility you will receive an advisory stating that ‘ODBC Data Sources are not supported’. As described in my previous post, this is one of the more common issues that the UA will find when analyzing Analysis Services instances. A lot of folks out there are still running on the SQL Server 2000 platform including Analysis Services.</p>
<p><strong><em>Post Katmai Installation &amp; Resolutions</em></strong></p>
<p><font face="Calibri">Once you perform the SQL Server 2008 upgrade you will need to update or recreate your Analysis Services data source to use a corresponding OLEDB provider. This issue applies only to SQL Server 2000sp4 upgrades to SQL Server 2008. That being said, because of the sheer number of Analysis Services 2000 installations running in production that do in fact use the ODBC drivers this is a fairly common Katmai upgrade issue.</font></p>
<p><em>Derek Comingore</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/01/14/ssas-upgrade-consideration-odbc-data-sources-from-analysis-services-2000-are-not-migrated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Leveraging the SQL Server 2008 Upgrade Advisor for Business Intelligence Components</title>
		<link>http://blog.scalabilityexperts.com/2008/01/10/leveraging-the-katmai-upgrade-advisor-for-business-intelligence-components/</link>
		<comments>http://blog.scalabilityexperts.com/2008/01/10/leveraging-the-katmai-upgrade-advisor-for-business-intelligence-components/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 03:53:34 +0000</pubDate>
		<dc:creator>DComingore</dc:creator>
		
		<category><![CDATA[Upgrade]]></category>

		<category><![CDATA[Upgrade tools]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/01/10/leveraging-the-katmai-upgrade-advisor-for-business-intelligence-components/</guid>
		<description><![CDATA[As Joe describes in his post ‘Upgrading to SQL Server 2008: The Next Version of SQL Server Upgrade Assistant’, Microsoft made available a very handy utility called the Upgrade Advisor (UA) to assist customers in assessing their existing SQL Server 2000 environments for upgrade to the SQL Server 2005 platform. With the arrival of SQL [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Calibri">As Joe describes in his post ‘Upgrading to SQL Server 2008: The Next Version of SQL Server Upgrade Assistant’, Microsoft made available a very handy utility called the Upgrade Advisor (UA) to assist customers in assessing their existing SQL Server 2000 environments for upgrade to the SQL Server 2005 platform. With the arrival of SQL Server 2008 we also have access to the updated UA utility that supports analyzing both SQL Server 2000sp4 and SQL Server 2005sp2 installations (which are the supported platforms for upgrade to SQL Server 2008). The UA utility is applicable to both the relational engine as well as the SQL Server Business Intelligence (BI) components (Integration Services|Data Transformation Services, Analysis Services, and Reporting Services).</font></p>
<p><em><font face="Calibri">*The UA utility requires the .Net Framework 2.0 redistributable</font></em></p>
<p><font face="Calibri">In our testing of this utility based on the November 2007 CTP build of Katmai (CTP5) we found that the UA will allow the analysis of both local and remote instances of the BI components excluding Reporting Services. Reporting Services instances will require the UA to be installed on the report server itself. Another discovery we found from our tests is that in the CTP5 build the Reporting Services analysis does not seem to be working as designed. Integration Services is not yet supported in UA, however the tool does note that in a future CTP/build of Katmai UA will support analyzing SSIS. In addition, SQL Server 2008 will continue to support the Data Transformation Services (DTS) runtime and thus the UA allows you to analyze DTS Packages in both a SQL Server 2000 and 2005 environment. A nice bonus is the ability to analyze DTS packages stored in the file system as well. Also note that when you analyze a SSAS 2000 instance the UA utility will require the Decision Support Objects (DSO) object model. </font></p>
<p><em><font face="Calibri">*DTS Packages are an official deprecated feature in SQL Server 2008. You should migrate your organization’s DTS packages as soon as possible to help support future upgrades of your SQL Server environments.</font></em></p>
<p><font face="Calibri">The UA utility provides you with both analysis and reports. UA reports provide you with the alerts/warnings that you should consider or take action on prior to upgrading your SQL Server environments to the 2008 platform. A nice feature of the UA utility is its ability to provide the user with links directly to its alert documentation. Some of the more important UA alerts are as follows:</font></p>
<p><font face="Calibri">SQL Server Data Transformation Services UA Key Alerts</font></p>
<p>·         <font face="Calibri">SQL Server DTS Packages are now a deprecated feature</font></p>
<p>·         <font face="Calibri">To continue running and managing your existing DTS Packages, the SQL Server 2008 Backwards Compatibility Files are required (these files were required for the same reason in SQL Server 2005 platform)</font></p>
<p>·         <font face="Calibri">The DTS Designer Components are a required add-on if you wish to edit DTS packages in Management Studio (these files were also required for the same reason in SQL Server 2005 platform)</font></p>
<p><font face="Calibri">SQL Server Analysis Services UA Key Alerts</font></p>
<p>·         <font face="Calibri">VBA functions handle NULL values and empty values differently from SQL Server Analysis Services 2005</font></p>
<p>·         <font face="Calibri">Custom Aggregations are not migrated</font></p>
<p>·         <font face="Calibri">ODBC Connections are not migrated</font></p>
<p>·         <font face="Calibri">MDX Changes</font></p>
<p><font face="Calibri">SQL Server Reporting Services UA Key Alerts</font></p>
<p>·         <font face="Calibri">Custom Reporting Services extensions (DLLs) will not be moved</font></p>
<p>·         <font face="Calibri">Client Certificates were detected (Reporting Services 2008 does not support them)</font></p>
<p>·         <font face="Calibri">Reporting Services 2000 Report Server database is on a remote 2000 instance (blocks a 2000 to 2008 SSRS upgrade)</font></p>
<p><font face="Calibri">Be aware that UA cannot analyze every aspect of your SQL Server environments and thus it cannot detect every issue that could affect an upgrade. Some examples of items not analyzed by the UA are middle-tier or front-tier code containing TSQL, encrypted stored procedures, and extended stored procedures. Regardless of the UA limitations, it is a very good tool for the BI professional to leverage for prepping their environments for SQL Server 2008.</font></p>
<p><font face="Calibri">Happy Upgrading!</font></p>
<p><em><font face="Calibri">Derek Comingore</font></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/01/10/leveraging-the-katmai-upgrade-advisor-for-business-intelligence-components/feed/</wfw:commentRss>
			<enclosure url="http://blog.scalabilityexperts.com/wp-content/uploads/podcast/BI_Intro_Final.mp3" length="8853965" type="audio/mpeg"/>
<itunes:duration>9:13</itunes:duration>
		<itunes:subtitle>As Joe describes in his post lsquo;Upgrading to SQL Server 2008: The Next Version of SQL Server Upgrade Assistantrsquo;, Microsoft made available a very handy ...</itunes:subtitle>
		<itunes:summary>As Joe describes in his post lsquo;Upgrading to SQL Server 2008: The Next Version of SQL Server Upgrade Assistantrsquo;, Microsoft made available a very handy utility called the Upgrade Advisor (UA) to assist customers in assessing their existing SQL Server 2000 environments for upgrade to the SQL Server 2005 platform. With the arrival of SQL Server 2008 we also have access to the updated UA utility that supports analyzing both SQL Server 2000sp4 and SQL Server 2005sp2 installations (which are the supported platforms for upgrade to SQL Server 2008). The UA utility is applicable to both the relational engine as well as the SQL Server Business Intelligence (BI) components (Integration Services#124;Data Transformation Services, Analysis Services, and Reporting Services).

*The UA utility requires the .Net Framework 2.0 redistributable

In our testing of this utility based on the November 2007 CTP build of Katmai (CTP5) we found that the UA will allow the analysis of both local and remote instances of the BI components excluding Reporting Services. Reporting Services instances will require the UA to be installed on the report server itself. Another discovery we found from our tests is that in the CTP5 build the Reporting Services analysis does not seem to be working as designed. Integration Services is not yet supported in UA, however the tool does note that in a future CTP/build of Katmai UA will support analyzing SSIS. In addition, SQL Server 2008 will continue to support the Data Transformation Services (DTS) runtime and thus the UA allows you to analyze DTS Packages in both a SQL Server 2000 and 2005 environment. A nice bonus is the ability to analyze DTS packages stored in the file system as well. Also note that when you analyze a SSAS 2000 instance the UA utility will require the Decision Support Objects (DSO) object model. 

*DTS Packages are an official deprecated feature in SQL Server 2008. You should migrate your organizationrsquo;s DTS packages as soon as possible to help support future upgrades of your SQL Server environments.

The UA utility provides you with both analysis and reports. UA reports provide you with the alerts/warnings that you should consider or take action on prior to upgrading your SQL Server environments to the 2008 platform. A nice feature of the UA utility is its ability to provide the user with links directly to its alert documentation. Some of the more important UA alerts are as follows:

SQL Server Data Transformation Services UA Key Alerts

middot;         SQL Server DTS Packages are now a deprecated feature

middot;         To continue running and managing your existing DTS Packages, the SQL Server 2008 Backwards Compatibility Files are required (these files were required for the same reason in SQL Server 2005 platform)

middot;         The DTS Designer Components are a required add-on if you wish to edit DTS packages in Management Studio (these files were also required for the same reason in SQL Server 2005 platform)

SQL Server Analysis Services UA Key Alerts

middot;         VBA functions handle NULL values and empty values differently from SQL Server Analysis Services 2005

middot;         Custom Aggregations are not migrated

middot;         ODBC Connections are not migrated

middot;         MDX Changes

SQL Server Reporting Services UA Key Alerts

middot;         Custom Reporting Services extensions (DLLs) will not be moved

middot;         Client Certificates were detected (Reporting Services 2008 does not support them)

middot;         Reporting Services 2000 Report Server database is on a remote 2000 instance (blocks a 2000 to 2008 SSRS upgrade)

Be aware that UA cannot analyze every aspect of your SQL Server environments and thus it cannot detect every issue that could affect an upgrade. Some examples of items not analyzed by the UA are middle-tier or front-tier code containing TSQL, encrypted stored procedures, and extended stored procedures. R...</itunes:summary>
		<itunes:keywords>Upgrade,,Upgrade,tools,,General</itunes:keywords>
		<itunes:author>Scalability Experts</itunes:author>
		<itunes:explicit>no</itunes:explicit>
		<itunes:block>No</itunes:block>
	</item>
		<item>
		<title>SQL Server 2008 TDE: Encryption You Can Use!</title>
		<link>http://blog.scalabilityexperts.com/2008/01/08/93/</link>
		<comments>http://blog.scalabilityexperts.com/2008/01/08/93/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 17:17:20 +0000</pubDate>
		<dc:creator>Joe Yong</dc:creator>
		
		<category><![CDATA[Migrate]]></category>

		<category><![CDATA[Upgrade]]></category>

		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.scalabilityexperts.com/2008/01/08/93/</guid>
		<description><![CDATA[SQL Server 2005 introduced native database encryption with the use of encryption functions. This allowed users to secure data within the database so that even admnistrators may be prevented from viewing the data. While that is a great addition, it was not a &#8220;flip the switch&#8221; implementation. Applications had to be modified to enable this [...]]]></description>
			<content:encoded><![CDATA[<p>SQL Server 2005 introduced native database encryption with the use of encryption functions. This allowed users to secure data within the database so that even admnistrators may be prevented from viewing the data. While that is a great addition, it was not a &#8220;flip the switch&#8221; implementation. Applications had to be modified to enable this feature (although it was pretty easy to do) and you had to deal with potential performance issues. The latter is the bigger challenge as you cannot index an encrypted column so you effectively end up scanning the table with an encrypted column.</p>
<p>This isn&#8217;t very appealing to users who truly need the encryption capability as the column they need to encrypt is often the column which they search by. A common example is a credit card company where the credit card number is the column they want to encrypt but that is also the  column they would search when customers access their accounts or when employees need to lookup a customer. When you have hundreds of millions of accounts and need to do thousands of lookups every minute, it&#8217;s a bit of a problem.</p>
<p>Katmai takes this a (big) step further with Transparent Data Encryption. The concept isn&#8217;t new and at least one other major database has it. Basically, think of having a layer between the storage  engine and your disks that will encrypt data before it is written to disk and decrypt it before being read into memory. Turn it on is a lot simpler than Yukon&#8217;s encryption too. You just need to create a database encryption key and set the database encryption option on. Note that your database encryption key needs to be protected by a certificate that is protected by the database master key. This ensures it can be accessed after a restart or recovery.</p>
<p>Unlike Yukon&#8217;s table encryption, you don&#8217;t have the same challenges with indexes like table level encryption in Yukon. The following is a simple example for encrypting your the pubs database and a query whose plan will show an Index Seek. Not very exciting in itself but considering the past encryption technique where indexes don&#8217;t even come into play, this is pretty cool.</p>
<p>USE master;<br />
GO<br />
CREATE MASTER KEY ENCRYPTION BY PASSWORD = <a href="mailto:'p@55w0rd'">&#8216;p@55w0rd&#8217;</a>;<br />
GO</p>
<p>CREATE CERTIFICATE DBEncryptKeyCert  WITH SUBJECT = &#8216;DB_Encryption_Key_Cert&#8217;;<br />
GO</p>
<p>USE pubs<br />
GO<br />
&#8211; Note that not all operating systems support AES so choose an algorithm that is supported by your OS<br />
&#8211; SQL Server supports most common algorithm like AES, DES, 3DES, RC4, etc&#8230; See Books Online for details.</p>
<p>CREATE DATABASE ENCRYPTION KEY<br />
WITH ALGORITHM = AES_256<br />
ENCRYPTION BY SERVER CERTIFICATE DBEncryptKeyCert;<br />
GO</p>
<p>ALTER DATABASE pubs<br />
SET ENCRYPTION ON;<br />
GO</p>
<p>USE pubs<br />
GO<br />
SELECT  fname, lname, emp_id<br />
FROM  employee<br />
WHERE  emp_id=&#8217;A-C71970F&#8217;;<br />
GO</p>
<p>Just pretend emp_id is credit card number. If you had encrypted the column emp_id (i.e. credit card number) and created the encrypt/decrypt function along with the view, triggers, etc&#8230; you&#8217;d be scanning the table just to retrieve that one row. That&#8217;s what you had to work with in 2005 (unless you had some 3rd party solution). Sure, there are several ways to reduce/avoid that but solutions typically involve some variant of storing a substring of the column (hashed or as-is) and indexing that column. Not a very viable solution for credit cards since the first 6 digits make up the credit card issuer&#8217;s identification number. A bunch of other concerns pop up and though not insurmountable technically, they do present challenges and in some cases, regulations may disallow this approach. No such concern with TDE in 2008.</p>
<p>So what about EFS? Well, just consider it as another option to be used as appropriate. EFS encrypts the entire file system while TDE encrypts just the database. Picking the right option depends on your transportability requirements and concerns. For example, if your company uses a centralized repository for storing ALL backups and you don&#8217;t trust those pesky Windows admins that own that repository, TDE ensures nobody can copy the backup file and restore on another SQL Server instance. It is also possible to use both but be aware of the performance and administration implications especially during recovery (EFS access then database access).</p>
<p><strong>Upgrade Effort &amp; Impact </strong><br />
What&#8217;s the effort to benefit from this? Well, from an execution perspective, just the few steps in the sample scripts above or you can use Management Studio. If you are upgrading a SQL Server 2005 database that is already using column level encryption, suggest you revert to plain text before the upgrade. Though they are different features, there really isn&#8217;t a need for using both. Same with those who are using 3rd party encryption products. That said, there are a few challenges in the upgrade process. For instance, you might not be allowed to store data in clear text to facilitate a simple upgrade. As such, you will need to upgrade first then reverse the process which you employed to encrypt a column using the function based approach. That means you&#8217;ll turn on TDE on the database then move the data from the encrypted column to a non-encrypted column so you can do away with the UDFs (and views if you had those). <em>Bottom line is, this may mean a longer upgrade/migrate time window plus a longer rollback time also.</em></p>
<p>There are also other considerations to your production server. This is a database wide option and will impact other components such as the transaction log and tempdb. To ensure data is not stored unencrypted once you turn it on, the current virtual log file will be &#8220;zeroed out&#8221; and new transactions will begin on the new VLF in encrypted form. Your tempDB will also be encrypted. This means you will have performance overhead on the system initially (both CPU and disk) and alters user behaviour later (e.g. can&#8217;t snoop around in tempdb easily anymore). Another important consideration is backup. With TDE, your backups are also encrypted so make sure you backup your keys/certificates also. Else, in a disaster recovery situation, you will not be able to restore your database. These and other considerations are well documented in BOL so do review in detail.</p>
<p>From a planning perspective, think real hard about why you need to encrypt your database. If the only reason you can come up with is &#8220;to make it more secure&#8221;, talk to your friendly neighbourhood Microsoft engineer or trusted partner before turning this on. You might eventually still employ TDE or you may not even need it (but you&#8217;ll likely discover other security concerns). Remember, security is not just about technology. If you don&#8217;t educate your staff and users or fail to practice secure processes diligently, no amount of encryption will save your data. Flipping over keyboards and turning photo frames around on users desks STILL reveal passwords (last verified Sept 2007) and backup tapes can still be found on DBAs/operators&#8217; desks or at the reception awaiting picking. TDE is just another layer of defense in your arsenal for specific intents and attack vectors; don&#8217;t forget the others.<br />
<em> </em></p>
<p><em>joe yong.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scalabilityexperts.com/2008/01/08/93/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

