Monday, March 31, 2008

Edition Differences in SQL 2008

Based on the current whitepaper from Microsoft it is extremely important to pay attention to which version of SQL 2008 you pick. A lot of features are once again Enterprise only, to include multiple instances, which previously was available in SQL 2005 Standard. I am not sure why this would be moved up to Enterprise Edition, but will be asking some experts and making a post on the 2008 Forums to find out more information.

Sunday, March 30, 2008

CLR Approved Assemblies

A little known fact about using CLR integration in SQL Server is that not all of the .NET Assemblies are available for use.

Supported .NET Framework Libraries

This means that in order to use components of the .NET Framework that are not supported, you have to first create them as a, generally UNSAFE, Assembly in the database. This however can lead to support issues with Microsoft Support, according to their KB Article

Bob Beauchemin covered this in a recent blog after upgrading .NET on a SQL 2005 Server. If you choose to reference an unsupported Assembly in your CLR code, your Assembly will cease to function and execution will result in an exception with Message 622 and an error ending with:

Assembly in host store has a different signature than assembly in GAC.

To correct, you must drop your assembly as well as the unsupported assemblies, and add them back so the GAC is refreshed with the newer version.

Wednesday, March 26, 2008

SQL 2008 Changes to Minimal Logging

I like to keep up with certain blogs from time to time to stay in tune with new features and changes in SQL Server, and one of those is the Microsoft SQL Server Storage Engine Blog. Sunil Agarwal finished a series this month on changes coming post CTP6 in SQL 2008 regarding Minimally Logged Transactions. It is a three part series that will change how we do things in SQL Server if it makes it into the final release.

Part 1
Part 2
Part 3

Wednesday, March 19, 2008

A Day with the Experts

Today I spent the day at a seminar put on by Quest where we were able to spend time learning performance monitoring and tuning from SQL Server Experts and MVP's Kevin Kline and Hilary Cotter. Quest also provided a demonstration of SQL Spotlight, a tool for monitoring and managing SQL Server Performance. If you've never seen this product, you should contact Quest for a demonstration.

Kevin and Hilary also held a 2 hr questions and answers session on the coming release of SQL 2008. Of particular interest to me was the lack of knowledge surrounding Powershell integration in the room. Also lacking heavily was knowledge about the new policy Management in SQL 2008. Both of these are newer features, and only those testing the CTP's or following them closely would be aware.

I have been playing with the DMF/Policy management since installing my Feb CTP and plan to post more information on this in the days/weeks to come. From there I guess I am going to move on to Powershell and play around with it.