HELP! I cannot process a large dimension.When I try and process a dimension with roughly 13 million rows I keep getting the following error:<br><br> <div style="margin-left:40px"><font size=2><span style="color:rgb(255,0,0)">Error Messages 1</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">                <span style="font-weight:bold">File system error: A FileStore error from WriteFile occurred. Physical file: \\?\G:\DATA\OLAP\Data\WebAnalytics.0.db\Dim Cookie.0.dim\58.Dim Cookie.asstore. Logical file: . . Errors in the OLAP storage engine: An error occurred while the 'Dim Cookie' attribute of the 'Dim Cookie' dimension from the 'WebAnalytics' database was being processed.</span></span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">Errors and Warnings from Response</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">    File system error: A FileStore error from WriteFile occurred. Physical file: \\?\G:\DATA\OLAP\Data\WebAnalytics.0.db\Dim Cookie.0.dim\58.Dim Cookie.asstore. Logical file: . .</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">    Errors in the OLAP storage engine: An error occurred while the 'Dim Cookie' attribute of the 'Dim Cookie' dimension from the 'WebAnalytics' database was being processed.</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.</span><br><br><br><br></font></div>I've looked all over for a solution but keep hitting dead ends:<br>(<a title="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255149&amp;SiteID=1" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255149&amp;SiteID=1">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255149&amp;SiteID=1</a> , <a title="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1219836&amp;SiteID=1" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1219836&amp;SiteID=1">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1219836&amp;SiteID=1</a> )<br><br>I keep hearing mention of people switching the ProcessingGroup option for the dimension from ByAttribute to ByTable (and vice versa). But I can't find this setting anywhere. I know it is in the advances properties of the dimension but I still can find it.<br><br>The offending dimension consists of a key field and a single attribute (string). It has about 13 million rows right now and will grow still. <br><br>I do notice that the .asstore file grows to roughly 4 GB before the error (so it might have something to do with KB912016 ... but we are already at SP2).<br><br>Any help would be greatly appreciated.<br>Jake<br><br><br><br>OS: Win2k3<br>SQL Server 2005<br>AS 2005<br>64 GB RAM<br><br>Microsoft SQL Server Management Studio                        9.00.3042.00<br>Microsoft Analysis Services Client Tools                        2005.090.3042.00<br>Microsoft Data Access Components (MDAC)                        2000.086.3959.00 (srv03_sp2_rtm.070216-1710)<br>Microsoft MSXML                        2.6 3.0 6.0 <br>Microsoft Internet Explorer                        6.0.3790.3959<br>Microsoft .NET Framework                        2.0.50727.832<br>Operating System                        5.2.3790<br>© 2009 Microsoft Corporation. All rights reserved.Thu, 09 Jul 2009 13:19:19 Z11d8162f-7f22-4bb1-8ed6-8011a53075f5http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#11d8162f-7f22-4bb1-8ed6-8011a53075f5http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#11d8162f-7f22-4bb1-8ed6-8011a53075f5MuddyJakehttp://social.msdn.microsoft.com/Profile/en-US/?user=MuddyJakeHELP! I cannot process a large dimension.When I try and process a dimension with roughly 13 million rows I keep getting the following error:<br><br> <div style="margin-left:40px"><font size=2><span style="color:rgb(255,0,0)">Error Messages 1</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">                <span style="font-weight:bold">File system error: A FileStore error from WriteFile occurred. Physical file: \\?\G:\DATA\OLAP\Data\WebAnalytics.0.db\Dim Cookie.0.dim\58.Dim Cookie.asstore. Logical file: . . Errors in the OLAP storage engine: An error occurred while the 'Dim Cookie' attribute of the 'Dim Cookie' dimension from the 'WebAnalytics' database was being processed.</span></span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">Errors and Warnings from Response</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">    File system error: A FileStore error from WriteFile occurred. Physical file: \\?\G:\DATA\OLAP\Data\WebAnalytics.0.db\Dim Cookie.0.dim\58.Dim Cookie.asstore. Logical file: . .</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">    Errors in the OLAP storage engine: An error occurred while the 'Dim Cookie' attribute of the 'Dim Cookie' dimension from the 'WebAnalytics' database was being processed.</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)">    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.</span><br><br><br><br></font></div>I've looked all over for a solution but keep hitting dead ends:<br>(<a title="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255149&amp;SiteID=1" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255149&amp;SiteID=1">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=255149&amp;SiteID=1</a> , <a title="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1219836&amp;SiteID=1" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1219836&amp;SiteID=1">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1219836&amp;SiteID=1</a> )<br><br>I keep hearing mention of people switching the ProcessingGroup option for the dimension from ByAttribute to ByTable (and vice versa). But I can't find this setting anywhere. I know it is in the advances properties of the dimension but I still can find it.<br><br>The offending dimension consists of a key field and a single attribute (string). It has about 13 million rows right now and will grow still. <br><br>I do notice that the .asstore file grows to roughly 4 GB before the error (so it might have something to do with KB912016 ... but we are already at SP2).<br><br>Any help would be greatly appreciated.<br>Jake<br><br><br><br>OS: Win2k3<br>SQL Server 2005<br>AS 2005<br>64 GB RAM<br><br>Microsoft SQL Server Management Studio                        9.00.3042.00<br>Microsoft Analysis Services Client Tools                        2005.090.3042.00<br>Microsoft Data Access Components (MDAC)                        2000.086.3959.00 (srv03_sp2_rtm.070216-1710)<br>Microsoft MSXML                        2.6 3.0 6.0 <br>Microsoft Internet Explorer                        6.0.3790.3959<br>Microsoft .NET Framework                        2.0.50727.832<br>Operating System                        5.2.3790<br>Fri, 27 Jun 2008 18:12:29 Z2008-06-27T18:12:29Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#421dcaa5-2a54-44f5-8e93-48dc7bf584c8http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#421dcaa5-2a54-44f5-8e93-48dc7bf584c8MuddyJakehttp://social.msdn.microsoft.com/Profile/en-US/?user=MuddyJakeHELP! I cannot process a large dimension.I should note that I've tried unprocessing and reprocessing the dimension and the failure occurs when performing a ProcessFull<br>Fri, 27 Jun 2008 18:29:20 Z2008-06-27T18:29:20Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#d2f48684-13ae-4611-af06-af1ff1387727http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#d2f48684-13ae-4611-af06-af1ff1387727Jeffrey Wanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Jeffrey%20WangHELP! I cannot process a large dimension.Analysis Services has a limitation that the string store file for a single attribute cannot exceed 4GB in size.  <p align=left><font face=Arial size=2></font> </p>You can watch the growth of ?.Dim Cookie.asstore during processing.  If it grows to 4GB then you hit that limit.Fri, 27 Jun 2008 19:49:11 Z2008-06-27T19:49:11Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#7ae2846d-e18a-4a94-ab1f-009330a84d53http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#7ae2846d-e18a-4a94-ab1f-009330a84d53MuddyJakehttp://social.msdn.microsoft.com/Profile/en-US/?user=MuddyJakeHELP! I cannot process a large dimension.Thanks Geoffrey.<br><br>So how can I get around this problem? This dimension table is only going to grow larger with time.<br>Fri, 27 Jun 2008 19:53:50 Z2008-06-27T19:53:50Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#c3972ab7-e74a-47ca-a248-75fcf911bbefhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#c3972ab7-e74a-47ca-a248-75fcf911bbefVincent Rainardihttp://social.msdn.microsoft.com/Profile/en-US/?user=Vincent%20RainardiHELP! I cannot process a large dimension.<p align=left><font face=Arial size=2>Hi Jake,</font></p> <p align=left><font face=Arial size=2>Perhaps the number of rows in the dimension (13 million) is because the dimension is at the same grain as the fact table? If this is the case, perhaps we can move the attributes to the fact table?</font></p> <p align=left>If this is not the case (the dimension's grain is different from the fact table's), perhaps we can break some of the 'rapidly changing dimension attribute(s)' into a 'mini dimension' which is directly connected to the fact table. This will reduce the grain of the fact table. Alternatively perhaps we can move the 'rapidly changing dimension attribute(s) to the fact table'.</p> <p align=left>If this very large dimension is a 'junk dimension', which contain all possible combinations of several attributes, perhaps we could consider limiting the number of attributes that goes into the 'junk dimension'. </p> <p>It would help if you could describe this large dimension.</p> <p align=left>Kind regards,</p> <p align=left>Vincent</p>Sun, 29 Jun 2008 20:37:39 Z2008-06-29T20:37:39Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#53258db0-e63e-4218-8f12-f068a24d6a0chttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#53258db0-e63e-4218-8f12-f068a24d6a0cMuddyJakehttp://social.msdn.microsoft.com/Profile/en-US/?user=MuddyJakeHELP! I cannot process a large dimension.Thanks Vincent. I really appreciate the help.<br><br>I have more than one dimension table with 10 mil+ rows.<br><br>The cube I am building is tracking / reporting on the web logs for one of our (very active) web servers. <br><br>My fact table currently has 436 Million records and is partitioned by month.<br><br>The offending dimension table has just shy of 14 million records and it is tracking the cookies from the web logs. I have another table sitting at 17 million records tracking the Refer URLS (with referer domain as an attribute). I have yet another Dimension tracking the URIStem with attributes on Directory, filename and file type. This last one is sitting at 15 million records right now.<br><br>As I mentioned previously these tables are only going to grow larger over time so I need some kind of strategy to deal with them.<br><br>Any help would be greatly appreciated.<br>Jake<br>Mon, 30 Jun 2008 12:37:37 Z2008-06-30T12:37:37Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#954fc0b3-e199-4082-9527-51f0806281dbhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#954fc0b3-e199-4082-9527-51f0806281dbMuddyJakehttp://social.msdn.microsoft.com/Profile/en-US/?user=MuddyJakeHELP! I cannot process a large dimension.Sorry I should be more specific regarding the dimensions in question.<br><br>The Cookie dimension table has three fields:<br>ID (int), Cookie (varchar), CheckSum (int).<br><br>The only attribute is based on the Cookie string.<br><br>The referer dimension has 4 fields and two attributes:<br>ID (int), RefererURL (varchar), RefererDomain (varchar), CheckSum (int)<br><br>the attributes are on the RefererURL and the Referer Domain.<br><br>Hopefully this helps.<br>Mon, 30 Jun 2008 17:24:17 Z2008-06-30T17:24:17Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#9b992ff1-8c82-41b7-b402-f49f53a7ccc5http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#9b992ff1-8c82-41b7-b402-f49f53a7ccc5Vincent Rainardihttp://social.msdn.microsoft.com/Profile/en-US/?user=Vincent%20RainardiHELP! I cannot process a large dimension.<p align=left><font face=Arial size=2>Hi Jake, I see, so you are experiencing the situation that Sally mention on her post on 31st March 2007 (and Jeffery Wang too), i.e. the string store files (asstore, bsstore or ksstore) of the cookie, referrer and/or URIStem dimensions have reached 4 GB size when you use the ProcessFull command on these dimension you get the &quot;<font color="#000000">A FileStore error from WriteFile occurred&quot; </font>message. </font>Is this your situation Jake?</p> <p>If yes, Jeffery Wang mentioned how to use PropertyBufferRecordLimitEnabled to solve the 4GB limit on temporary string store on <a title="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1629338&amp;SiteID=1" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1629338&amp;SiteID=1">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1629338&amp;SiteID=1</a>.</p> <p align=left>Deepak mentioned about using ROLAP StorageMode for large dimension (instead of MOLAP StorageMode), which could be the only viable solution to your situation, given that the error message occurs when you do ProcessFull, not ProcessUpdate.</p> <p align=left>Microsoft mentioned a hotfix to this 4 GB limitation on <a title="http://support.microsoft.com/kb/912016" href="http://support.microsoft.com/kb/912016">http://support.microsoft.com/kb/912016</a>, but the hot fix would not help if the reason for reaching 4 GB is large amount of data, as in your case.</p> <p align=left>Subhash Subramanyam mentioned on <a title="http://subhashsubramanyam.blogspot.com/2007_09_01_archive.html" href="http://subhashsubramanyam.blogspot.com/2007_09_01_archive.html">http://subhashsubramanyam.blogspot.com/2007_09_01_archive.html</a> that changing ByTable to ByAttribute probably help. Probably worth checking. It's on ProcessingGroup property of the dimension.</p> <p align=left>SSAS Performance Guide mentions a few things about Refreshing Dimension Efficiently, including Removing Bitmap Indexes (AttributeHierarchyOptimizedState property).</p> <p align=left>Out of the things mentioned above I think ROLAP is the most probable option, if not the only viable option, for your case, Jake.</p> <p align=left>Kind regards,</p> <p align=left>Vincent</p>Tue, 01 Jul 2008 02:27:09 Z2008-07-01T02:27:09Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#c8fc7248-75f1-4511-a51a-290d96aed322http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#c8fc7248-75f1-4511-a51a-290d96aed322MuddyJakehttp://social.msdn.microsoft.com/Profile/en-US/?user=MuddyJakeHELP! I cannot process a large dimension.Thank you Vincent for all the suggestions.<br><br>I am not in the office today, but will try them out first thing on Wednesday.<br><br>Just one question, could you help me find the setting that changes the dimension ProcessingGroup between ByTable and ByAttribute? I could not for the life of me figure out where this property is set? Is it within BIDS? Analysis Services?<br><br>Thanks again.<br>Jake<br>Tue, 01 Jul 2008 09:39:40 Z2008-07-01T09:39:40Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#042a8886-243d-478b-88a8-e923a4be69a6http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#042a8886-243d-478b-88a8-e923a4be69a6Vincent Rainardihttp://social.msdn.microsoft.com/Profile/en-US/?user=Vincent%20RainardiHELP! I cannot process a large dimension.<p>It's in BIDS, Jake. It's the property of the dimension. After you double click the dimension on the Solution Explorer to open it, don't click on an attribute name on the left panel (this will show the attribute property). Instead, click on the dimension name on the left panel.</p> <p align=left>Good luck,</p> <p align=left>Vincent</p> <p align=left><font face=Arial size=2></font> </p>Tue, 01 Jul 2008 16:33:48 Z2008-07-01T16:33:48Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#2399dd8b-85a4-4b2b-ab48-999c3c151eabhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#2399dd8b-85a4-4b2b-ab48-999c3c151eabMuddyJakehttp://social.msdn.microsoft.com/Profile/en-US/?user=MuddyJakeHELP! I cannot process a large dimension.Hi Vincent.<br><br>I'm afraid I'm not having much luck.<br><br>Here's what I tried.<br><br>The ProcessingGroup was already set to &quot;ByAttribute&quot; I tried changing it to &quot;ByTable&quot; but got the same results.<br><br>I located the <span id="_ctl0_MainContent_PostFlatView"><span>PropertyBufferRecordLimitEnabled in the msmdsrv.ini file but it was already set to zero.<br><br>I didn't try and apply the hotfix because it doesn't look like it addresses my particular problem.<br><br>The only outstanding option is designating these dimensions as ROLAP. I was talking to my team lead and he wants to exclude these dimensions for the time being (since the reporting benefits is questionable) rather than try ROLAP.<br><br>Hopefully that will be enough to get us by.<br><br>Thanks for all your help.<br></span></span>Wed, 02 Jul 2008 15:27:43 Z2008-07-02T15:27:43Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#09965e01-be3d-43da-abd9-40a73b29cfbfhttp://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/11d8162f-7f22-4bb1-8ed6-8011a53075f5#09965e01-be3d-43da-abd9-40a73b29cfbfcomp615http://social.msdn.microsoft.com/Profile/en-US/?user=comp615HELP! I cannot process a large dimension.I've been having a similar problem...Check your server error logs for something like:<br/> Error Event ID 333<br/> An I/O operation initiated by the Registry failed unrecoverably. The<br/> Registry could not read in, or write out, or flush, one of the files that<br/> contain the system's image of the Registry.<br/> <br/> Another person and myself were getting these messages and the processing errors. Since I've dealt with this server a bit already, I know it has a memory leak somewhere I haven't been able to track down. I just avoid it by restarting SQL service when running large things (Which seems to work). However, now that I know they are related, I am going to work through some of the fixes on this page:<br/> http://eventid.net/display.asp?eventid=333&amp;eventno=5757&amp;source=Application%20Popup&amp;phase=1<br/> <br/> Hopefully that will solve the errors I'm getting, which will fix the memory leak, which will fix the AS processing. Maybe you'll find you are also receiving that error and this will help, let me know!Thu, 09 Jul 2009 13:19:19 Z2009-07-09T13:19:19Z