SQL Server Analysis Services的Server Mode共有三种,分别是Multidimensional、SharePoint和Tabular。Multidimensional模式就是我们通常所说的cube。
服务器模式是在配置文件msmdsrv.ini中指定的,配置文件存放的目录是:C:Program FilesMicrosoft SQL ServerMSASxx.MSSQLSERVEROLAPConfig
在配置文件中,用DeploymentMode来表示Server Mode,DeploymentMode和 Server Mode之间的映射关系是:
- 0 - Multidimensional
- 1 - SharePoint
- 2 - Tabular
要修改Server Mode,可以通过修改配置文件来实现:
- 把配置文件 msmdsrv.ini 复制到桌面
- 打开msmdsrv.ini文件,把DeploymentMode节点的值修改为0
- 替换C:Program FilesMicrosoft SQL ServerMSAS11.MSSQLSERVEROLAPConfig 目录中的原始msmdsrv.ini
- 重启SSAS的Services
参考文档: