<?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%2fLocal%2bCube%2bCreation%2bIssues%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: Local Cube Creation Issues</title><description /><link>http://biperformance.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=catLocal%2bCube%2bCreation%2bIssues</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>Creating very large local cubes (1GB+)</title><link>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!183.entry</link><description>&lt;div&gt;We have recently seen more organizations using very large local cube files. I used to suggest that it was best to keep local cube file size under 50MB. Now, however, I have seen local cubes used successfully that are 1 GB and larger in size. I have been re-thinking my ideas about the limitations of local cubes.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Here are some details:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;1. Larger local cube files will be slower than small local cube files - but they can still have excellent performance. We have seen people very pleasantly surprised at the browsing speed of their 1GB local cubes. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;2. You can create much larger local cube files using ASSL with a relational data source than you can using the Create Global Cube command or ASSL with an Analysis Server data source.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;For example, using the relational ASSL on a Virtual PC with 2.4GB of RAM, I was able to create a 2GB local cube from a fact table with 56 million rows. On the same machine, local cube creation with an Analysis Server cube source was successful with 3 1/2 million fact table rows (332MB local cube), but failed with a memory error when attempting to create a local cube from 7 million rows.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I know of organizations using larger servers that were able to create 2GB local cubes using an Analysis Server cube source. The size of the local cube you can create is dependent on the resources (memory, in particular) of the computer you are using. But whatever hardware you are using, it appears that you can create larger local cubes using the relational source ASSL.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;3. We are making some modifications in CubeSlice which will assist our customers in creating large local cube files. Our current build sets a time out for creating temp tables which is much lower than it should be. If you are having trouble creating large local cube files, let us know. We think we can help you be successful in doing so.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;4. I am working on a white paper regarding the creation and use of large local cube files. Please let me know what you have experienced with them. Thanks!&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-2585683518713958745&amp;page=RSS%3a+Creating+very+large+local+cubes+(1GB%2b)&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!183.entry#comment</comments><guid isPermaLink="true">http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!183.entry</guid><pubDate>Thu, 13 Mar 2008 20:23:13 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!183/comments/feed.rss</wfw:commentRss><wfw:comment>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!183.entry#comment</wfw:comment><dcterms:modified>2008-03-13T20:23:13Z</dcterms:modified></item><item><title>Why local cube creation with ASSL is superior to local cube creation with Create Global Cube</title><link>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!180.entry</link><description>&lt;div&gt;I have written a white paper discussing seventeen reasons why the Analysis Services Scripting Language (ASSL) is better than the Create Global Cube command in creating local cubes in Analysis Services for SQL Server 2005. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;ASSL can create local cubes that are smaller, faster, can be encrypted, and can include many more features.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;You can read or download the paper here:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.cubeslice.com/asslandcreateglobalcube.htm"&gt;http://www.cubeslice.com/asslandcreateglobalcube.htm&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;And please give me your feedback. Thanks!&lt;/div&gt;
&lt;div&gt;&lt;br&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-2585683518713958745&amp;page=RSS%3a+Why+local+cube+creation+with+ASSL+is+superior+to+local+cube+creation+with+Create+Global+Cube&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!180.entry#comment</comments><guid isPermaLink="true">http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!180.entry</guid><pubDate>Tue, 01 Jan 2008 01:29:25 GMT</pubDate><slash:comments>3</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!180/comments/feed.rss</wfw:commentRss><wfw:comment>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!180.entry#comment</wfw:comment><dcterms:modified>2008-01-01T01:29:25Z</dcterms:modified></item><item><title>Excluding Unused Members to Reduce the Size of the Local Cube</title><link>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!171.entry</link><description>&lt;div&gt;We have just released an updated copy of my paper describing the use of local cubes in Analysis Services 2005. This update incorporates improvements we have made in the local cube creation abilities of CubeSlice. You can get the updated copy of the paper here:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Using Local Cubes wtih Microsoft SQL Server 2005 Analysis Services &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.cubeslice.com/UsingLocalCubesinMicrosoftSQLServer2005AnalysisServices.doc"&gt;&lt;strong&gt;www.cubeslice.com/UsingLocalCubesinMicrosoftSQLServer2005AnalysisServices.doc&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The most important change in the document is in the following section, which describes a dramatic improvement in CubeSlice.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Excluding Unused Members to Reduce the Size of the Local Cube&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;div&gt;One of the biggest advantages of CubeSlice Relational ASSL is that it is the only local cube creation option where you can exclude unused members from the local cube.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Cubes often have dimension members that are not being used - members that are not linked to any records in the fact table. This happens to a greater extent when a local cube is created with slicing - limited to one Sales Rep, for example.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;By removing unused dimension members, the size of a local cube can often be reduced by 50% to 90%. We have even seen one situation where the size of the local cube was reduced by 99.6%.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If you choose to exclude unused members, you should also consider choosing the CubeSlice option to create the local cube using temporary tables. The use of temporary tables often dramatically speeds up the process of creating local cubes - and that's especially true when excluding unused members.&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-2585683518713958745&amp;page=RSS%3a+Excluding+Unused+Members+to+Reduce+the+Size+of+the+Local+Cube&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!171.entry#comment</comments><guid isPermaLink="true">http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!171.entry</guid><pubDate>Thu, 18 Oct 2007 01:49:03 GMT</pubDate><slash:comments>0</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!171/comments/feed.rss</wfw:commentRss><wfw:comment>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!171.entry#comment</wfw:comment><dcterms:modified>2007-10-18T01:51:07Z</dcterms:modified></item><item><title>The Benefits of Using a Star Schema when Creating Cubes</title><link>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!162.entry</link><description>&lt;div&gt;Douglas  McDowell has an article in the October 2007 issue of SQL Server Magazine where he argues that it's usually best to move transactional data into a star schema before creating Analysis Server cubes. You can read his article (with subscription) at &lt;a href="http://www.sqlmag.com/Authors/AuthorID/1537/1537.html"&gt;http://www.sqlmag.com/Authors/AuthorID/1537/1537.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;He lists several reasons for his argument:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;1. OLTP-based cubes are usually poorly designed for BI.&lt;/div&gt;
&lt;div&gt;2. OLTP-based cubes usually are full of dirty data.&lt;/div&gt;
&lt;div&gt;3. OLTP-based cubes don't handle history.&lt;/div&gt;
&lt;div&gt;4. OLTP-based cubes still have to be processed.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;It's a great article. I agree with his reasons and I'd like to add another one:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;5. You can often create a better local cube if your Analysis Server cubes are based on a star schema.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;When creating an AS2005 local cube, you can use either an Analysis Services cube or the source relational data as the data source for the local cube. We support both types of local cube creation in CubeSlice, but we can often do a better job when using the source relational data - creating smaller, better-performing cubes more quickly.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If you're creating a local cube from an Analysis Server cube, it really doesn't matter what you're using as the source data for that AS2005 server cube. But if you want the advantages of using the source relational data option, it's much easier with a star schema data structure. Analysis Services 2005 is extremely flexible in designing cubes. You can include information from many relational tables in each dimension. But this flexibility makes it very difficult (or very time-consuming or impossible) for CubeSlice to create a local cube using the relational source option. Use a star schema for your server cubes and CubeSlice will have no problem creating local cubes from that relational data source. CubeSlice can handle snowflaking in the dimension tables of the star schema, but often cannot handle dimensions that are created from fields in multiple transactional database tables.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;How important is this choice? When using the relational data source, the user has the option to remove  empty members from all the dimensions. This option often reduces the size of the local cubes by 50% to 90%, or even more. Smaller local cubes can be created more quickly and have better browsing performance. If you want the best possible local cubes, consider using a star schema as the source of your Analysis Server 2005 cubes.&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+The+Benefits+of+Using+a+Star+Schema+when+Creating+Cubes&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!162.entry#comment</comments><guid isPermaLink="true">http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!162.entry</guid><pubDate>Mon, 15 Oct 2007 22:46:09 GMT</pubDate><slash:comments>2</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!162/comments/feed.rss</wfw:commentRss><wfw:comment>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!162.entry#comment</wfw:comment><dcterms:modified>2007-10-15T22:46:09Z</dcterms:modified></item><item><title>Creating Local Cubes in SQL Server 2008 (Katmai)</title><link>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!151.entry</link><description>&lt;div&gt;We have begun testing the creation of local cube files using CubeSlice 9 and SQL Server 2008 (previously known as Katmai). We are using the June 7 Community Technology Preview of SQL Server 2008. Initial results are excellent.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The current build of CubeSlice 9 needs a slight modification in order to create local cubes with SQL Server 2008. If you would like to test local cube creation with CubeSlice and SQL Server 2008, please let me know and I will get you the modified build of CubeSlice. You can contact me at tepATsdgcomputingDOTcom. For information about SQL Server 2008 and to sign up for the Community Technology Preiview, see Microsoft's web site:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.microsoft.com/sql/prodinfo/futureversion/default.mspx"&gt;http://www.microsoft.com/sql/prodinfo/futureversion/default.mspx&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+Creating+Local+Cubes+in+SQL+Server+2008+(Katmai)&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!151.entry#comment</comments><guid isPermaLink="true">http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!151.entry</guid><pubDate>Tue, 26 Jun 2007 16:03:08 GMT</pubDate><slash:comments>0</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!151/comments/feed.rss</wfw:commentRss><wfw:comment>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!151.entry#comment</wfw:comment><dcterms:modified>2007-06-26T16:03:08Z</dcterms:modified></item><item><title>Member Sorting in Analysis Services 2005 Local Cubes</title><link>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!150.entry</link><description>&lt;div&gt;There can be problems with member sorting in Analysis Services 2005 local cubes. Here is a description of the problem and how you can fix it.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;In Analysis Services you can sort by the member name, the member key, or by a related attribute. When I use a related attribute for sorting, I normally set the AttributeHierarchyEnabled property for that attribute to False. If I'm only using the attribute for sorting there's no need to waste the processing time of building a separate attribute hierarchy for it.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;But this common practice causes a problem. Local cubes do not support attributes with the AttributeHierarchyEnabled property set to False. Here is what happens to sorting when using the different ways of creating local cubes and what you can do about it:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;1. CubeSlice Relational ASSL. The problem is completely fixed in our next build. Our testing shows proper sorting of members in all situations. The sorting is fixed automatically without the user being informed of any problem. (We hope to release this build by July 1st - if you need it sooner, let us know.)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;2. CubeSlice OLAP ASSL. The problem can only be fixed by changing the properties in the Analysis Server cube. Set the AttributeHierarchyEnabled property to True for all attributes used in sorting. If you don't want the attribute to be visible in the cube, you can set the AttributeHierarchyVisible property to False. In the next build of CubeSlice, when this problem occurs, the local cube will be created, but the incorrect sorting will be reported in the Cube Creation Log in the Info field, with instructions as to how it can be fixed.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;3. CREATE GLOBAL CUBE. The problem can only be fixed by changing the properties in the Analysis Server cube, as with CubeSlice OLAP ASSL.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;4. Create Cube ASSL with a relational data source If you are directly editing ASSL, you can change the AttributeHierarchyEnabled element to True and the AttributeHierarchyVisible to False, and your local cube will be created with proper sorting.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;5. Create Cube ASSL with an OLAP data source. If you reference any attribute that has the AttributeHierarchyEnabled property set to True, the creation of the local cube will fail. In our work on this probem, we have come to the conclusion that, when using an OLAP data source, the AttributeHierarchyEnabled property must be set to True in the source cube. (If any one knows a different way to handle this, please let us know.)&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+Member+Sorting+in+Analysis+Services+2005+Local+Cubes&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!150.entry#comment</comments><guid isPermaLink="true">http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!150.entry</guid><pubDate>Sat, 23 Jun 2007 14:30:47 GMT</pubDate><slash:comments>0</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!150/comments/feed.rss</wfw:commentRss><wfw:comment>http://biperformance.spaces.live.com/Blog/cns!DC1DCE8A0D78EEA7!150.entry#comment</wfw:comment><dcterms:modified>2007-06-23T14:30:47Z</dcterms:modified></item></channel></rss>