<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type='text/xsl' href='http://biperformance.spaces.live.com/mmm2008-07-24_12.50/rsspretty.aspx?rssquery=en-US;http%3a%2f%2fbiperformance.spaces.live.com%2fcategory%2fPerformance%2band%2bLocal%2bCubes%2ffeed.rss' version='1.0'?><rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:msn="http://schemas.microsoft.com/msn/spaces/2005/rss" xmlns:live="http://schemas.microsoft.com/live/spaces/2006/rss" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tim Peterson's BI Performance Blog: Performance and Local Cubes</title><description /><link>http://biperformance.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=catPerformance%2band%2bLocal%2bCubes</link><language>en-US</language><pubDate>Mon, 29 Sep 2008 04:30:45 GMT</pubDate><lastBuildDate>Mon, 29 Sep 2008 04:30:45 GMT</lastBuildDate><generator>Microsoft Spaces v1.1</generator><docs>http://www.rssboard.org/rss-specification</docs><ttl>60</ttl><cf:parentRSS>http://biperformance.spaces.live.com/blog/feed.rss</cf:parentRSS><live:type>blogcategory</live:type><live:identity><live:id>-2585683518713958745</live:id><live:alias>biperformance</live:alias></live:identity><cf:listinfo><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="typelabel" label="Type" /><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="tag" label="Tag" /><cf:group element="category" label="Category" /><cf:sort element="pubDate" label="Date" data-type="date" default="true" /><cf:sort element="title" label="Title" data-type="string" /><cf:sort ns="http://purl.org/rss/1.0/modules/slash/" element="comments" label="Comments" data-type="number" /></cf:listinfo><item><title>Local Cube Size - Defining The Problem, Proposing A Solution</title><link>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!141.entry</link><description>&lt;div&gt;Local cube files can dramatically improve cube browsing speed performance - but only if they're small enough:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;1. &lt;strong&gt;For Small Cubes &lt;/strong&gt;- browsing the Analysis Server cube and browsing a local cube both have excellent performance - but the local cube will usually be faster.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;2. &lt;strong&gt;For Medium Cubes&lt;/strong&gt; - browsing the Analysis Server cube and browsing a local cube will both usually have excellent performance, but performance can slow when using low levels of large dimensions. The Analysis Server cube will often be faster.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;3. &lt;strong&gt;For Large Cubes&lt;/strong&gt; - browsing the Analysis Server cube is still very good, as long as the cubes are properly optimized, but performance can be slow when working with large levels. Large local cubes have poor performance and will sometimes lock up client tools. &lt;strong&gt;But this is where the use of local cubes can be extremely beneficial&lt;/strong&gt; - if you can find a way to create a set of small, high performance local cube files that give the user the portions of the large Analysis Server cubes that they really need.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;What size of local cubes am I talking about? The tipping point between Small, Medium, and Large cubes varies enormously depending on server capacity, local computer capacity, the specific OLAP client tool being used, and network performance. But, as a general rule, I would say:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;1. Small Cubes (both perform well, local cubes are faster) - Under 10-25 MB local cube file size.&lt;/div&gt;
&lt;div&gt;2. Medium Cubes (both perform well, Analysis Server cubes are faster) - 25-50 MB local cube file size.&lt;/div&gt;
&lt;div&gt;3. Large Cubes (local cubes perform poorly or not al all - create subsets) - Over 50-100 MB local cube file size.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;The Solution &lt;/strong&gt;- Use local cube files - especially for your large cubes - but keep the local cube files small by including only a small portion of the server cube. How can you do that? Here are the most effective strategies:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;1. Remove large dimensions.&lt;/div&gt;
&lt;div&gt;2. Remove large lower levels of large dimensions. When you do this, make sure you move the dimension key to the higher level, so the low levels aren't included because they're needed to provide the connection to the fact table.&lt;/div&gt;
&lt;div&gt;3. Remove less important attributes from large dimensions.&lt;/div&gt;
&lt;div&gt;4. Include only a slice of the members of a large dimension.&lt;/div&gt;
&lt;div&gt;5. Slice a different dimension in a way that eliminates most of the members of all the large dimensions. For example, for some businesses, including sales only for the current month will eliminate 95% of the customers in a large customer dimension.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;All of these strategies are possible as a point-and-click solution when using CubeSlice. They're also possible, of course, by directly manipulating the ASSL script used to create a local cube file. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This is the most important topic in the creation of local cube files - and the most important topic for this blog. I'll be discussing the details of minimizing the size and optimizing the performance of local cube files in many future posts. For now, if you want more information, please look at my whitepaper and demo that show how this can be done:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;How to Dramatically Improve Browsing Speed Performance for SQL Server 2005 Analysis Services&lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.cubeslice.com/BrowsingPerformance.doc"&gt;http://www.cubeslice.com/BrowsingPerformance.doc&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Local Cube Performance Demo:&lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.cubeslice.com/CubeSlice_Performance_Demo.exe"&gt;http://www.cubeslice.com/CubeSlice_Performance_Demo.exe&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Feedback Please:&lt;/strong&gt; What's your experience with the performance of different size local cube files?&lt;/div&gt;
&lt;div&gt;&lt;font face=Arial&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-2585683518713958745&amp;page=RSS%3a+Local+Cube+Size+-+Defining+The+Problem%2c+Proposing+A+Solution&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=biperformance.spaces.live.com&amp;amp;GT1=biperformance"&gt;</description><comments>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!141.entry#comment</comments><guid isPermaLink="true">http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!141.entry</guid><pubDate>Thu, 17 May 2007 15:48:22 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://biperformance.spaces.live.com/blog/cns!DC1DCE8A0D78EEA7!141/comments/feed.rss</wfw:commentRss><wfw:comment>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!141.entry#comment</wfw:comment><dcterms:modified>2007-05-17T19:35:25Z</dcterms:modified></item><item><title>An Introduction to Local Cube Files</title><link>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!130.entry</link><description>&lt;div&gt;&lt;em&gt;&lt;/em&gt; &lt;/div&gt;
&lt;div&gt;&lt;em&gt;DEFINITION&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;A local cube is a file that contains multidimensional (OLAP) data, which can be browsed in the same way as an Analysis Server cube.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;em&gt;EXTENSION&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;.cub&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;em&gt;HISTORY&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;First appeared with Analysis Services in Microsoft SQL Server 7 and with Microsoft Excel in Office 2000. They received significant improvement with the release of Analysis Services in Microsoft SQL Server 2005.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;em&gt;LOCAL CUBE SIZE AND PERFORMANCE&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;As a general rule, a small local cube file will have faster browsing speed than the same Analysis Server cube, while a large local cube file will have slower browsing speed than the same Analysis Server cube.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Can we predict what size of local cube file will give excellent browsing performance?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Not exactly - but based on our experience we try to keep local cube files under 10 MB - and certainly under 25 MB.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If you have large Analysis Server cubes it's still good to use local cubes - in fact, it's even more important to use local cubes to get excellent perormance - but you're going to have to put only a portion of your server cube into your local cube.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The rule for local cubes and performance is to always try it and see how it works.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;em&gt;HOW TO CREATE&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;Microsoft Excel provides two wizards to create local cube files. One wizard is used when connected to an Excel Pivot Table and creates a local cube from an Analysis Server cube. The other wizard can be used to create a local cube from a relational database.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Our company, SDG Computing, Inc, first offered an automated local cube creation product, the Local Cube Task, in 2001. That product has now been converted into a product called CubeSlice.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Many other OLAP tool vendors have provided some support for creating local cube files. Most OLAP client tool vendors have provided support for browsing local cube files.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Microsoft has provided several ways to create a local cube programmatically as a part of their data access libraries:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;CREATE LOCAL CUBE - Allows a user to create a local cube from either an Analysis Server cube or from a relational data source. First introduced with SQL Server 7. This command has reduced support and has been deprecated in SQL Server 2005.&lt;/div&gt;
&lt;div&gt;CREATE GLOBAL CUBE - Allows a user to create a local cube from an Analysis Server cube. Introduced with SQL Server 2000.&lt;/div&gt;
&lt;div&gt;ASSL (Analysis Services Scripting Language) CREATE - Allows a user to create a local cube from either an Analysis Server cube or a relational data source. Introduced with SQL Server 2005.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;For more information on the different ways of programmatically creating local cubes, see: &lt;a href="http://www.cubeslice.com/lcicdifferentwaystocreate.htm"&gt;http://www.cubeslice.com/lcicdifferentwaystocreate.htm&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-2585683518713958745&amp;page=RSS%3a+An+Introduction+to+Local+Cube+Files&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=biperformance.spaces.live.com&amp;amp;GT1=biperformance"&gt;</description><comments>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!130.entry#comment</comments><guid isPermaLink="true">http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!130.entry</guid><pubDate>Fri, 11 May 2007 18:32:37 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://biperformance.spaces.live.com/blog/cns!DC1DCE8A0D78EEA7!130/comments/feed.rss</wfw:commentRss><wfw:comment>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!130.entry#comment</wfw:comment><dcterms:modified>2007-05-11T19:22:21Z</dcterms:modified></item></channel></rss>