简体   繁体   English

通过SSIS数据流任务加载时,MDX查询的速度非常慢

[英]MDX query is very slow in at the time of loading through SSIS data flow task

Hi we have a ssis package which is loading data from a SSAS cube.So we are using mdx query inside the data flow task for fetching data from Cube.But at the time of fetching data from cube, the package is taking huge time. 嗨,我们有一个sissis软件包,它从SSAS多维数据集中加载数据,因此我们在数据流任务内部使用mdx查询从Cube中获取数据,但是在从多维数据集中获取数据时,该软件包将花费大量时间。 it is first valiadting then executing so total 1 hour for some 1000 rows.. So is there any option us there to optimize??.. in mdx we have ony select query for one meausre and some 4 dimension.. and same mdx giving result in query window from cube in seconds.. so where is the problem?? 它首先是可变的,然后总共执行约1000个小时的1小时。.因此,我们是否有任何选项可以优化?..在mdx中,我们只能选择查询一个度量值和一些4维..并且相同的mdx给出结果在几秒钟内从多维数据集查询窗口中..那么问题出在哪里呢?

Try creating a linked server on the database server to the cube server and run an OPENQUERY command to execute the MDX. 尝试在数据库服务器上创建与多维数据集服务器的链接服务器,然后运行OPENQUERY命令以执行MDX。 This data source can then be mapped to the destination. 然后可以将此数据源映射到目标。 I have heard that it's usually the better way of obtaining results from a multidimensional source. 我听说这通常是从多维来源获得结果的更好方法。

References - 1 and 2 . 参考文献12 I have also heard that this is a great tool. 我也听说这是一个很好的工具。 If you are open to using open source code then, try this out as well. 如果你是开放的使用开源代码,然后,尝试出为好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM