在使用SSAS的过程中,有时候会发现它在启动的时候,很慢,而且非得将SQL Server关系引擎开起来才行。原因可能是之前我们设置了对SSAS的QueryLog,就是指定了日志连接。这个连接通常都是指向SQL Server关系数据库引擎的一个数据库。所以它在启动的时候会去检查这个连接
在图形化界面中无法禁用这个连接。可以通过下面的XMLA脚本来实现
<!--
<Alter AllowCreate="true" ObjectExpansion="ObjectProperties" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Object />
<ObjectDefinition>
<Server xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2">
<ID>THINKER</ID>
<Name>THINKER</Name>
<ServerProperties>
<ServerProperty>
<Name>Log\QueryLog\QueryLogConnectionString</Name>
<Value></Value>
</ServerProperty>
</ServerProperties>
</Server>
</ObjectDefinition>
</Alter>
-->