SSAS -- to Partition or not?

by Rob 20. January 2010 01:16

Recently I had a question from a client whether there was really any performance improvement in SSAS cube processing when using partitioning strategies vs. just using a single partition.

While intuitively I "knew" that partitioning cube fact tables results in better parallelism and thus increased performance (when adequate CPU, memory and I/O resources can support it), I realized I really didn't have any empirical "proof" to backup my professional opinion.  So--I setup a simple test.

The following is a very simple comparison of processing the same data set with a cube design that's identical--except for the introduction of multiple partitions. For this test I used Analysis Services 2008R2 x64 running on a 4-core Xeon server

The data set processed includes 37 million fact rows, and several dimensions--the largest including around 4,000 members.  In the first test, a single partition is used.

In the second, the cube is partitioned along months, resulting in about 1.3 million rows per partition.  This is below the recommended threshold for partition sizing, but provides a decent (if basic) evaluation of the effect of parallelism on cube processing.

Results:

  • Time to process the cube using a single partition: 21 minutes
  • Time to process the cube using 23 partitions: 12.7 minutes
  • Bottom line: by partitioning the processing of the cube, there's a time savings of around 40% in this case
Observation: The server I used is in my lab and has 4 Xeon cores, 4GB RAM, and 1.3TB RAID 1E storage. During the single partition processing, memory demand didn't exceed 3GB, and CPU utilization didn't exceed 60% or so.  With partitioned processing, both CPU and memory were completely saturated.  When I get the chance (and the required loose change) to upgrade the server to 8 cores and more memory, I'd like to re-run this to see whether increased resources would provide an even greater benefit.  However, having at least this much empirical evidence is a good start.



Single partition processing

23 Partitions processing

Tags:

Analysis Services | SQL Server 2008

Comments


January 24. 2010 06:52
I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful.


January 24. 2010 17:38
Hi Rob,

If you have time, you should try doing similar test, but do separate process on data (ProcessData) and index (ProcessIndex). I would guess that by splitting into partitions your ProcessIndex part gets faster. Your server does not have enough memory to create indexes in memory, so it has to do a lot of paging, that would slow down index creation. But would like to see what your tests show. Also, do you have any aggregations on this measure group?



February 20. 2010 04:37
I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog list and will be checking back soon. Please check out my site as well and let me know what you think.


February 20. 2010 12:59
I'm pleased I located this blog site, I couldnt locate any info on this subject prior to. I also operate a site and in case you are ever interested in doing some guest writing for me you should feel free to let me know, im always look for people to check out my web site. Please stop by and leave a comment sometime!


February 21. 2010 01:12
Good job with this post! This is extremely valuable information. I bookmarked your blog and will definitely come back for more help.


February 21. 2010 03:22
Absolutely agree with what you said. Your explanation was undoubtedly the easiest to understand. I say to you, I often get irked when people talk about issues that they obviously have no idea about. You managed to hit the nail right on the head and also talked out everything without complication. Maybe, people can take a signal. Will be back to get more. Thanks


February 21. 2010 04:51
Excellent site, where did you come up with the knowledge in this blog post? I'm glad I found it though, ill be checking back soon to see what other articles you have.


February 21. 2010 07:38
I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites web site list and will be checking back soon. Please check out my site as well and let me know what you think.


February 21. 2010 07:58
Amazing write-up! This will help lots of people find out about this issue. Are you keen to include videos coupled with these? It would certainly help out. Your explanation was spot on and thanks to you; I won’t need to make clear everything to my pals. I can simply point them in this article


February 21. 2010 13:51
I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog page list and will be checking back soon. Please check out my site as well and let me know what you think.


February 21. 2010 16:26
This is a very interesting post, I was looking for this information. Just so you know I found your site when I was searching for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.


February 21. 2010 21:26
This is a very fascinating post, I was looking for this knowledge. Just so you know I discovered your blog when I was researching for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.


February 22. 2010 03:53
I don't agree with everything in this piece, but you do make some very good points. Im very interested in this topic and I myself do alot of research as well. Either way it was a well thoughtout and nice read so I figured I would leave you a comment. Feel free to check out my website sometime and let me know what you think.


February 22. 2010 09:00
This is a outstanding post, but I was wondering how do I suscribe to the RSS feed?


February 22. 2010 11:27
Superb write-up, this is very similar to a site that I have. Please check it out sometime and feel free to leave me a comenet on it and tell me what you think. I'm always looking for feedback.


February 22. 2010 15:57
This is a good piece of content, I was wondering if I could use this article on my website, I will link it back to your website though. If this is a problem please let me know and I will take it down right away.


February 22. 2010 18:18
This is a very useful post, I was looking for this information. Just so you know I discovered your web page when I was doing research for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.


February 22. 2010 23:24
I must admit this is the second time I have come across your site and I am lovin it! I added your website to my rss reader. Cant wait to see more posts!


February 23. 2010 00:45
Great post I bookmared it on Delicious and submitted on Digg. Hopefully it sends more visitors your way Smile


February 23. 2010 11:29
Do have an email system where I can get your blog posts emailed to me?


February 23. 2010 11:40
This is a great post, but I was wondering how do I suscribe to the RSS feed?


February 23. 2010 14:43
I'm pleased I discovered this website, I couldnt obtain any info on this matter before. I also manage a website and if you wish to ever serious in doing a bit of guest writing for me you should feel free to let me know, im always look for people to check out my website. Please stop by and leave a comment sometime!


February 23. 2010 19:02
I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites website list and will be checking back soon. Please check out my site as well and let me know what you think.


February 23. 2010 20:59
Hey everyone. Interesting topic for a blog. I have been searching the Internet for fun when I found your website. Terrific post. Thanks a lot for sharing your knowledge! It is encourging to see that some people still put in an effort into managing their websites. I'll be sure to look in from time to time.


February 23. 2010 23:29
Very good site, where did you come up with the knowledge in this summary? I'm happy I found it though, ill be checking back soon to see what other articles you have.


February 24. 2010 04:51
This is a amazing piece of writing, I located your blog site checking yahoo for a similar subject and came to this. I couldnt come across to much different material on this piece of content, so it was great to find this one. I likely will be back to check out some other posts that you have another time.


February 24. 2010 10:54
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.


February 25. 2010 03:17
I'm curious what CMS your site uses? I really like how it looks all the visitor functions that are available. Sorry if this is the wrong place to ask this but I wasn't sure how to contact you - thanks.


February 26. 2010 07:11
I don't agree with everything in this piece, but you do make some very good points. Im very interested in this topic and I myself do alot of research as well. Either way it was a well thoughtout and nice read so I figured I would leave you a comment. Feel free to check out my website sometime and let me know what you think.


February 26. 2010 12:10
This is a terrific post, I found your website checking yahoo for a related topic and arrived to this. I couldnt discover to much alternative info on this write-up, so it was awesome to discover this one. I will likely be returning to check out some other articles that you have another time.


February 26. 2010 15:37
I'm pleased I located this blog, I couldnt locate any information on this subject matter prior to. I also run a site and if you want to ever serious in doing some visitor writing for me if possible feel free to let me know, i'm always look for people to check out my site. Please stop by and leave a comment sometime!


February 26. 2010 21:32
I'm pleased I found this weblog, I couldnt find any knowledge on this subject prior to. Also manage a site and if you're ever serious in a little bit of guest writing for me make sure you feel free to let me know, i'm always look for people to check out my webpage. Please stop by and leave a comment sometime!


February 27. 2010 00:10
Good site, where did you come up with the information in this piece of content? I'm pleased I found it though, ill be checking back soon to see what other articles you have.


February 27. 2010 05:58
Im pleased I located this web site, I couldnt find any info on this matter prior to. I also operate a website and if you wish to ever interested in doing a bit of visitor writing for me you should feel free to let me know, i'm always look for people to check out my site. Please stop by and leave a comment sometime!


February 27. 2010 09:34
Have your thought about adding some social bookmark buttons to your website site? At least add one for Digg so we can digg you up!


February 27. 2010 12:34
This is a excellent article, I located your blog site researching aol for a related theme and came to this. I couldnt discover to much alternative details on this blog post, so it was good to discover this one. I probably will end up being back again to check out some other articles that you have another time.


March 2. 2010 16:55
Apple now has Rhapsody as an app, which is a great start, but it is currently hampered by the inability to store locally on your iPod, and has a dismal 64kbps bit rate. If this changes, then it will somewhat negate this advantage for the Zune, but the 10 songs per month will still be a big plus in Zune Pass' favor. <a href= www.bestmoviestrailer.com/star-trek-2009/>star trek dvds</a>


March 2. 2010 17:34
I don't agree with everything in this piece, but you do make some very good points. I'm very interested in this subject matter and I myself do alot of research as well. Either way it was a well thoughtout and nice read so I figured I would leave you a comment. Feel free to check out my website sometime and let me know what you think.


March 3. 2010 17:42
I am quite new to wordpress. but what you write in this post is really good and very informative. I think it will help me in the future. Thanks for the great job.


March 3. 2010 21:29
Now that your warts have been removed, you need to do everything you can to boost your immune system, to give it the best possible chance of fighting off the disease permanently.


March 4. 2010 16:56
Just wanted to give you a shout from the valley of the sun, great information. Much appreciated.


March 5. 2010 16:19
Would you equal to writer a journalist post on my journal?

Regards
Beasley



March 6. 2010 17:09
Good site, where did you come up with the information in this piece of content? I'm pleased I found it though, ill be checking back soon to see what other articles you have.


March 6. 2010 21:16
Have you ever considered adding more videos to your blog posts to keep the readers more entertained? I mean I just read through the entire article of yours and it was quite good but since I'm more of a visual learner,I found that to be more helpful well let me know how it turns out! I love what you guys are always up too. Such clever work and reporting! Keep up the great works guys I've added you guys to my blogroll. This is a great article thanks for sharing this informative information.. I will visit your blog regularly for some latest post.


March 7. 2010 01:06
I brought the magic jack to work creating phone calls quite well also. BUT, it nonetheless has a problem. It takes over the audio of other application programs on my computer and messes them up – and the sole way to fix it is to restart the computer. To sum up, the magic jack operates very nicely as a phone, but it interferes with the audio device drivers on some other applications utilized on the computer. It is not harmonious with different applications which use audio.


March 7. 2010 14:00
Hi webmaster - This is by far the best looking site I’ve seen. It was completely easy to navigate and it was easy to look for the information I needed. Fantastic layout and great content! Every site should have that. Awesome job


March 9. 2010 02:18
I appreciate the effort, and I think the writer definately knows their stuff... has better info than the wiki on the subject!


March 9. 2010 17:33
Do you know which cell phone companies allow tethering?


March 10. 2010 15:26
Dude.. I am not much into reading, but somehow I got to read lots of articles on your blog. Its amazing how interesting it is for me to visit you very often.


March 10. 2010 19:43
Superb posting, this is very similar to a site that I have. Please check it out sometime and feel free to leave me a comenet on it and tell me what you think. Im always looking for feedback.


March 11. 2010 00:55
Couldn?t be written any better. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!


March 12. 2010 16:57
Just wanted to give you a shout from the valley of the sun, great information. Much appreciated.

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010 Rob Kerr's BI Blog