Feeds

Frustration and joy - Microsoft's CTP in action

Thank God for file streaming

High performance access to file storage

Project Watch: Microsoft 2008 OK, so choosing and installing the hardware - that was easy. I wish I could say the same for the software.

On the face of it all I had to do was install the beta version of Windows Server 2008, the production version of Visual Studio 2008 and the beta SQL Server 2008. Sorry, by beta of course I mean community technology preview. It appears that Microsoft has learned that renaming can be used to shed bad associations.

Microsoft encourages people to join its CTP programmes and puts a great deal of effort into the "welcome to our happy community" front end, encouraging us to play and telling us how valuable the company finds our thought-provoking feedback.

Which is fine. I just wish it would then put one tenth of the same effort into making the sites, the downloads and the installations usable. As it is you find yourself enmeshed in a Kafkaesque nightmare of: go here and download this, add this patch, and read these installation instructions - which are almost but not exactly like the instructions you downloaded the night before.

And if all of this sounds bad, remember that this is only the downloaded - installation is yet to come. There are three separate products, and I discovered that if they are to work together properly it is vital they are installed in the right order with the correct options selected. In three days I went back to bare metal five times before everything was present and correct.

Install across the ages

For instance, some installation processes will load a junior version of SQL Server onto the machine by default. We, of course, needed the grown-up one. With a CTP you're never sure, if you install the serious version on top of the toy, that the latter will be overwritten properly. Any problems you may have later could be laid at the door of an imperfect install so to exclude this possibility you go back to square one and start again.

Furthermore, SQL Server Management Studio needs Visual Studio 2008 whereas SQL Server Business Intelligence Development Studio requires Visual Studio 2005 - at least in CTP5. So you need both. This is not made at all clear on the CTP sites. Note that I'm not asking whether the information is there or not - I admit I didn't check every folder in every basement. It's doubtless there somewhere, but are these fundamental requirements stated clearly at the start of the download or installation instructions? No.

The entire CTP programme ends up feeling like an initiation ceremony: if you can't find your way through the maze, round the sleeping dragon and past Cerberus then you are not worthy. Having actually installed the stack and got it working, I feel that I deserve a T-shirt that says: "I survived the 2008 install, even if my sanity didn't".

The greatest service Microsoft could perform for its oh-so-valued, unpaid, beta testers is to get somebody to write, for each CTP release, a clear step-by-step guide to installing the stack from a standing start. Having done it five times I could have written it. (So why don't I write it here for you now? Because I did it first in CTP5, which has since been superseded meaning anything I'd written would be out of date by now).

Good. I feel better for that. And before you ask why anyone would go through that pain, the answer is for the killer functionality that is to be found in the 2008 stack. I've talked about the spatial data types (here, here and here), but another compelling feature for our project was the file streaming.

The joy of BLOBs

Binary Large Objects are here to stay. Whatever relational theory says about atomic data (and the arguments are complex and technically fascinating) users want to store images, documents, scans and other elements as part of the database. The bad news is that, by definition, BLOBs are large. Up until now, SQL Server users have had two choices - store BLOBs in the database itself, or store in the file system and point to them.

As it happens, our application has a great number of BLOBs. In SQL Server 2005 we tried both approaches. Storage in the database rapidly produced databases files that exceeded the 4GB limit on a 32-bit operating system. Storing the BLOBs in the file system was better but managing the pointers to the correct BLOB - in our case by bar codes - was time consuming and limiting.

File streaming is fabulous for our application. Essentially it means that, within the database, we behave as if the BLOB is part of the row. This makes the management easy. In practice, despite appearing to be in the database, the images are actually stored in the file system; however they can be retrieved very rapidly. The bottom line is that, within reason, we get the benefits of both and the disadvantages of neither.

There, I know there had to be SOME reason for enduring the CTP pain.®

Follow Register Developer regular Mark Whitehorn next time on Project Watch: Microsoft 2008 as he continues to roll out a spanking-new 1TB database for several thousand users on Microsoft's SQL Server 2008, Visual Studio 2008 and Windows Server 2008.

High performance access to file storage

More from The Register

next story
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
OpenSSL Heartbleed: Bloody nose for open-source bleeding hearts
Bloke behind the cockup says not enough people are helping crucial crypto project
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
US taxman blows Win XP deadline, must now spend millions on custom support
Gov't IT likened to 'a Model T with a lot of things on top of it'
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
prev story

Whitepapers

Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
HP ArcSight ESM solution helps Finansbank
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.