Greetings. It’s been so long since I’ve even touch this blog that I write this first line with a touch of shame.

Ok… I’m over it now. 😉

I’ve been working heavily with SQL Server 2008 and with DB2 for the last couple of years. I really love my job.

Lately we’ve been working on a data warehouse project which is structured for reporting. This presented a new concept in my lap which at first I didn’t find to hard to comprehend, we I still don’t really, but it threw a wrench into the wheel I’ve been accustomed to.

– Data denormalization –

Writing SQL code for many years, for me, has been about creating relational databases where data is divided up and joined together in queries. Denormalization brings forth the concept of doubling data for the purpose of having it readily available. (Fast)

So the thought process has been different. Writing SQL jobs that will suck in data in the format that we require to build our warehouse (CUBE – Ready). I guess what this method really seems to be is a space vs time trade off. You have much more data, doubled up… but the result is that you can query it very fast.

The cube my co-worker created was really really fast. Slicing and dicing the data at the blink of an eye.

Data is only as good as it’s usability.