用于处理大表格立方体的 TMSL 命令

TMSL command to process big tabular cube

目前花费大量时间处理随着每一波新数据而增加的立方体。 多维数据集处理作业是包含 ANALYSISCOMMAND 的一系列步骤:

1 refresh type: full for all Dimensional tables.
2 refresh type: clearValues for Fact table 1
3 refresh type: dataOnly for Fact table 1
4 refresh type: calculate database (without table indication)
...
22 refresh type: clearValues for Fact table N
23 refresh type: dataOnly for Fact table N
24 refresh type: calculate database (without table indication)

其中一个考虑是将处理分成几个步骤,这样当处理因“内存不足”而失败时,我们可以从上一步开始。

当前序列似乎不是很有效,我正在寻找如何减少处理时间。

特别是每次在 Fact table 块之后出现“刷新类型:计算数据库(没有 table 指示)”让我想知道: 我可以在此处指明相关事实 table 还是去掉这些,在最后留下数据库级别的计算步骤?

计算数据库(或重新计算)只需要一次,而且必须是您执行的最后一次操作。它只需要一次,因为它是一个数据库(模型)级别的命令。

更多信息在这里:http://bifuture.blogspot.com/2017/02/ssas-processing-tabular-model.html