在对 Azure 分析服务模型的表格模型执行完整处理时,处理 10 分钟后出现以下错误:
Failed to save modifications to the server. Error returned: 'Microsoft SQL: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.. The exception was raised by the IDbCommand interface.
Technical Details:
RootActivityId: cd0cfc78-416a-4039-a79f-ed7fe9836906
Date (UTC): 2/27/2018 1:25:58 PM
The command has been canceled.. The exception was raised by the IDbCommand interface.
The command has been canceled.. The exception was raised by the IDbCommand interface.
The command has been canceled.. The exception was raised by the IDbCommand interface.
The command has been canceled.. The exception was raised by the IDbCommand interface.
该模型的数据源是 Azure 数据仓库,SSAS 通过 SQL 身份验证对其进行身份验证。当超时发生时,一些分区已经检索了它们的所有行,但其他分区仍在处理中。该模型包含 11 个表,每个表都有一个分区。
在使用 Visual Studio 2015 和 SSMS 2017 进行处理时,我都遇到了错误。我看不到任何具有 10 分钟(600 秒)超时的 SSAS 服务器属性。单独的表处理可以在没有超时问题的情况下完成,因为它们都在 10 分钟内完成。
我尝试在表格模型脚本语言 json 文件(即 Model.bim)timeout
中的对象中设置属性。dataSources.connectionDetails
但是编辑它会删除身份验证凭据,然后重置凭据会删除该timeout
属性。所以我不知道该属性是否与超时错误问题有关。
我正在使用的分区查询表达式的示例:
let
Source = #"SQL/resourcename database windows net;DatabaseName",
MyQuery =
Value.NativeQuery(
Source,
"SELECT * FROM [dbo].[MyTable]"
)
in
MyQuery