Go Back   CORTEX Forums > Local Happenings > CORTEX Blogs > BI Monkey
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Columnstore Indexes revisited

This is a discussion on Columnstore Indexes revisited within the BI Monkey forums, part of the CORTEX Blogs category; Having now researched Columnstore Indexes further, I thought I’d share the key learning I’ve picked up on this feature – which now sounds even more powerful than I’d originally thought. ...


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 20th September 2011, 11:37 AM   #1
Guru
 
Join Date: Jun 2009
Posts: 135
James Beresford is on a distinguished road
Thumbs up Columnstore Indexes revisited

Having now researched Columnstore Indexes further, I thought I’d share the key learning I’ve picked up on this feature – which now sounds even more powerful than I’d originally thought.

The most important thing to take away is that a Columnstore Index should actually cover the entire table. Its name is a little misleading – the feature is less of an index, and more of a shadow copy of the table’s data, compressed with the Vertipaq voodoo. I suspect they have used the term index because the Columnstore doesn’t cover all data types – the important ones are there, but some extreme decimals and blobs are excluded – for a full list see the MSDN documentation. So for any big table, whack a Columnstore index across the entire table.

Next up is to understand how to use them and how to detect when they are or are not being used. The key thing is to only use them in isolation (e.g. summary queries) or for Inner Joins. Outer Joins don’t work right now, though there are cunning workarounds that apply if you are Outer Joining to summary data – see Eric Hanson’s video referenced below somewhere around the 50 minute mark.

You can detect when they are being used by the Execution Mode described in the Query Plan. This is new in Denali and is either Row or Batch. Row means traditional SQL Server execution and Batch means the Columnstore is being used.

So, the key takeaways:

  • For any large table put a Columnstore index across the entire table
  • Only join using Inner Joins
  • Spot the use of the Columnstore in Query plans via the Execution Mode of Batch
Useful reference material:



Get More from the original blog...
James Beresford is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Technical Article on the Columnstore (Vertipaq) indexes in Denali Darren Gosbell Random Procrastination 1 15th January 2012 08:25 PM
Columnstore indexes in Denali (aka: ?Apollo?) James Beresford BI Monkey 0 2nd August 2011 04:14 PM
Mobile BI (revisited) Latest News Headlines Other International Vendors 0 2nd June 2010 07:18 AM
NASDAQ OMX and SunGard to Deliver Risk Analytics for NASDAQ OMX Indexes Latest News Headlines 2010 Q2 News Headlines 0 18th May 2010 04:39 AM
Comment on ?EIS revisited? Latest News Headlines Architecture News Feeds 0 25th November 2009 09:32 AM


All times are GMT +11. The time now is 10:53 PM.

© The Business Intelligence Group

Search Engine Optimization by vBSEO