简体   繁体   English

即使在增加查询超时值之后,ADFv2 查找活动也会在 2 小时后超时

[英]ADFv2 Lookup Activity timeout after 2 hours even after increasing query timeout value

I have a lookup activity that timeouts after the 2 hours (120 mins) which is the default (could be just a coincidence) even after increasing the query timeout to 720 mins.我有一个查找活动在 2 小时(120 分钟)后超时,这是默认设置(可能只是巧合),即使将查询超时增加到 720 分钟也是如此。 The lookup activity executes a Proc based on an expression.查找活动基于表达式执行 Proc。

在此处输入图像描述

This is the error这是错误

Failure happened on 'Source' side.失败发生在“源”端。 ErrorCode=UserErrorSourceQueryTimeout,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Query source database timeout after '7200' seconds.,Source=Microsoft.DataTransfer.DataContracts,''Type=System.TimeoutException,Message=,Source=Microsoft.DataTransfer.DataContracts,' ErrorCode=UserErrorSourceQueryTimeout,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message='7200' 秒后查询源数据库超时。,Source=Microsoft.DataTransfer.DataContracts,''Type=System.TimeoutException,Message=,Source =Microsoft.DataTransfer.DataContracts,'

在此处输入图像描述

在此处输入图像描述

Is there a step that I've missed out somewhere?有没有我在某处错过的步骤?

There are actually two timeouts in Lookup activity, one is Lookup activity timeout and other is queryTimeout . Lookup 活动实际上有两种超时,一种是Lookup activity timeout ,另一种是queryTimeout Please make sure that to set the queryTimeout value lower than the lookup activity timeout value.请确保将queryTimeout值设置为低于lookup activity timeout值。 queryTimeout won't be effective if it is greater than lookup activity timeout (24hrs).如果大于查找活动超时(24 小时),则queryTimeout将无效。

Note: When you use query or stored procedure to lookup data, make sure to return one and exact one result set.注意:当您使用查询或存储过程查找数据时,请确保返回一个和一个精确的结果集。 Otherwise, Lookup activity fails.否则,查找活动将失败。

Refer: Lookup activity in Azure Data Factory and Azure Synapse Analytics请参阅: Azure 数据工厂和 Azure Synapse Analytics 中的查找活动

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM