<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www2.sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Geek City: Build a Big Table with a Columnstore Index</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2012/04/26/Build-a-Big-Table-with-a-Columnstore-Index.aspx</link><description>I was looking all over to find a big table to use for my columnstore examples in my SQL Server 2012 book, and the only one I found was from someone at Microsoft and was not publicly available. When I demonstrate code in my writings, I like to have the</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Geek City: Build a Big Table with a Columnstore Index</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2012/04/26/Build-a-Big-Table-with-a-Columnstore-Index.aspx#43044</link><pubDate>Fri, 27 Apr 2012 21:33:46 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:43044</guid><dc:creator>Mike Tarlton</dc:creator><description>&lt;p&gt;Thank you for making it available. I Think I'll use it and modify a little in accordance with my necessaty. I will comment agian with my results.&lt;/p&gt;
</description></item><item><title>re: Geek City: Build a Big Table with a Columnstore Index</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2012/04/26/Build-a-Big-Table-with-a-Columnstore-Index.aspx#43299</link><pubDate>Wed, 09 May 2012 21:05:58 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:43299</guid><dc:creator>Andrei</dc:creator><description>&lt;p&gt;Hi Kalen:&lt;/p&gt;
&lt;p&gt;thank you very much for your post! I did everything you suggested and than ran this query (over LAN, with Columnstore Index in place, SQL Server 2012 is running on remote machine with quadcore, 16GB RAM)&lt;/p&gt;
&lt;p&gt;SELECT [SalesOrderNumber], sum([SalesAmount])&lt;/p&gt;
&lt;p&gt; &amp;nbsp;FROM [AdventureWorksDW2012].[dbo].[FactInternetSalesBig]&lt;/p&gt;
&lt;p&gt; &amp;nbsp;group by SalesOrderNumber&lt;/p&gt;
&lt;p&gt;It succesfully returns 14161408 rows in 3 minutes. &lt;/p&gt;
&lt;p&gt;When I ran the same Query vs. my Local copy of AdventureWorksDW2012 database (but without Columnstore Index and with no LAN involved (everything LOCAL on my Workstation, including SQL Server 2012) it took 6 minutes. Configuration of my Workstation is quadcore, 16GB RAM.&lt;/p&gt;
&lt;p&gt;Andrei,&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://apandre.wordpress.com/"&gt;http://apandre.wordpress.com/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Geek City: Build a Big Table with a Columnstore Index</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2012/04/26/Build-a-Big-Table-with-a-Columnstore-Index.aspx#43300</link><pubDate>Wed, 09 May 2012 23:06:43 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:43300</guid><dc:creator>Kalen Delaney</dc:creator><description>&lt;p&gt;Thanks for the data point, Andrei!&lt;/p&gt;
</description></item><item><title>re: Geek City: Build a Big Table with a Columnstore Index</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2012/04/26/Build-a-Big-Table-with-a-Columnstore-Index.aspx#43316</link><pubDate>Thu, 10 May 2012 18:58:04 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:43316</guid><dc:creator>Andrei</dc:creator><description>&lt;p&gt;Hi Kalen:&lt;/p&gt;
&lt;p&gt;just in order to compare apples vs. apples, I rerun the same query locally on server I mentioned above (so no LAN involved). It returns those 14161408 rows in less then 100 seconds, almost twice faster then over LAN. &lt;/p&gt;
&lt;p&gt;Andrei,&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://apandre.wordpress.com/"&gt;http://apandre.wordpress.com/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Geek City: Build a Big Table with a Columnstore Index</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2012/04/26/Build-a-Big-Table-with-a-Columnstore-Index.aspx#43518</link><pubDate>Wed, 23 May 2012 15:45:21 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:43518</guid><dc:creator>Paul Brewer</dc:creator><description>&lt;p&gt;Hi Kalen,&lt;/p&gt;
&lt;p&gt;We managed to get Star optimizations appearing in our BI query execution plans at work after much database redesign. Attempted to compare the &amp;nbsp;performance of these against column store indexes was a nightmare though. With no decent documentation to go on, it's impossible trying to reverse engineer the query optimizer logical as to and when, how and why it makes best use of column store indexes.&lt;/p&gt;
&lt;p&gt;I did try, see &lt;a rel="nofollow" target="_new" href="http://paulbrewer.dynalias.com/SitePages/CS_Index.aspx"&gt;http://paulbrewer.dynalias.com/SitePages/CS_Index.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Really looking forward to seeing your book when it comes out. I've read all your previous ones and they are the backbone of my skillset. I just pasted the Microsoft Certified Master of SQL Server 2008 knowledge exam thanks in no small part to your books. &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Paul &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: Geek City: Build a Big Table with a Columnstore Index</title><link>http://www2.sqlblog.com/blogs/kalen_delaney/archive/2012/04/26/Build-a-Big-Table-with-a-Columnstore-Index.aspx#44282</link><pubDate>Fri, 13 Jul 2012 02:19:35 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44282</guid><dc:creator>Darryll Petrancuri</dc:creator><description>&lt;p&gt;Kalen: I have a question for you that unfortunately is likely to have an 'it depends' answer. That being said, I'd like your first blush, off the cuff answer nonetheless.&lt;/p&gt;
&lt;p&gt;I am working in an environment where, for better or worse, the BI queries done against our DW are entirely ad-hoc (ROLAP via Microstrategy). We have used ColumnStore Indexes in a partitioned Fact table, partitioned at the Day grain and this is workinq very nicely for us.&lt;/p&gt;
&lt;p&gt;The question I have is regarding our Dimension tables. Because the queries are entirely ad-hoc, every single one of the attributes in our dimensions are key / value pairs, and every single one of the keys (integers) are indexed in separate indexes. Upserts take a long time because of the sheer number of attributes / indexes. Read-Only considerations due to the use of ColumnStore Indexes not withstanding, do you think we'd see better performance if we basically truncated a dimension, did straight Inserts and then added a ColumnStore for all the key columns instead of relying on more 'traditional' approaches to dimensional maintenance / ETL?&lt;/p&gt;
&lt;p&gt;I look forward to your learned feedback.&lt;/p&gt;
&lt;p&gt;Respectfully,&lt;/p&gt;
&lt;p&gt;Darryll&lt;/p&gt;
</description></item></channel></rss>