Yah*_*ufi 7 sql-server ssas dimension sql-server-2014 multidimensional-cube
我正在使用2星型模式数据仓库,每个数据仓库都包含一个事实表,而维度表位于单独的数据库中(两个数据仓库都使用一个数据库)。
I created a multidimensional analysis project for each data warehouse:
When trying to browse the second cube everything is working fine, but when I tried to browse the dimension or to add a filter when browsing the cube the management studio is not responding. After many hours it returns the following error message:
Error occurred retrieving child nodes: The Messages element at line, (namespace urn:schemas-microsoft-com: xml-analysis: exception) cannot appear under Envelope/Body/ExecuteResponse/return/SubCube)
When searching for this issue, i found some article mentioning that using Linked dimensions are not recommended when analysis databases are located on different servers. But in my case the data warehouses and the analysis databases are on the same server.
Also i tried to run the same filter logic using MDX query using FILTER() with no luck. The MDX query syntax is similar to:
SELECT ([Dimension2].[---].[---], [MeasureGroup].[Measure]) ON COLUMNS,
FILTER([Dimension1].[---].[---],[Dimension1].[---].[---].CurrentMember.Name = "FilterValue") ON ROWS
FROM [AnalysisCube]
Run Code Online (Sandbox Code Playgroud)
Note that: The dimensions contains more than 4 GB and CompatibilityLevel is set to 1100.
Any suggestions?
基于以下Microsoft参考:
SSAS允许您将链接的维度添加到该其他多维数据库,以便您仅可以构建和维护一个维度。但是,在SSAS开发中,链接尺寸的使用不被视为最佳实践,因为它会产生性能问题。
考虑一次构建并重新使用开发工作的另一种方法是将.dim文件保存在源代码管理中。然后,您可以要求新的多维数据库项目从源代码管理中添加.dim文件,而不是直接构建新的维度。这样,您可以将设计维护在中央位置,并从可重用性中受益,而不会引起潜在的性能问题。
根据以上信息,从性能角度来看,似乎不建议使用链接维度。
| 归档时间: |
|
| 查看次数: |
120 次 |
| 最近记录: |