如何在Azure分析服务中启用CreateQuerylog?

问题描述 投票:0回答:1

enter image description here

如何更改azure分析服务中的CreateQueryLog值和QueryConnectionString?

azure-sql-database azure-analysis-services
1个回答
0
投票

我不认为 Azure Analysis Services 支持这一点。我尝试通过 SQL Server Management Studio 更新配置值,它似乎处于只读模式: 1

我还尝试使用 XMLA 脚本更新配置值,并收到错误:

Azure Analysis Services 产品不支持此操作。

技术细节:RootActivityId: 2423f157-b506-4da4-8f69-f04dc55e384b 日期 (UTC):2024 年 8 月 21 日晚上 9:00:54 设置值时发生错误 “ConfigurationSettings\Log\QueryLog\CreateQueryLogTable”配置 财产。运行完成

这是我使用的 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" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200" xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300" xmlns:ddl400="http://schemas.microsoft.com/analysisservices/2012/engine/400" xmlns:ddl400_400="http://schemas.microsoft.com/analysisservices/2012/engine/400/400" xmlns:ddl500="http://schemas.microsoft.com/analysisservices/2013/engine/500" xmlns:ddl500_500="http://schemas.microsoft.com/analysisservices/2013/engine/500/500">
      <ID>MyServerID</ID>
      <Name>MyServerID</Name>
        <ServerProperties>
            <ServerProperty>
                <Name>Log\QueryLog\CreateQueryLogTable</Name>
                <Value>true</Value>
            </ServerProperty>
        </ServerProperties>
    </Server>
  </ObjectDefinition>
</Alter>

在 SQL Server Analysis Service 实例中,我能够很好地更新配置值: 2

有谁能正式解释为什么 Azure Analysis Services 不支持此功能,以及解决方法是什么? (如果我想获取有关查询执行的更多信息,我应该使用什么?)

© www.soinside.com 2019 - 2024. All rights reserved.