Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssis 有没有一种方法可以在不增加DTU的情况下增加SQL Azure的远程查询超时?_Ssis_Azure Sql Database_Timeoutexception - Fatal编程技术网

Ssis 有没有一种方法可以在不增加DTU的情况下增加SQL Azure的远程查询超时?

Ssis 有没有一种方法可以在不增加DTU的情况下增加SQL Azure的远程查询超时?,ssis,azure-sql-database,timeoutexception,Ssis,Azure Sql Database,Timeoutexception,我在SSIS包中选择行时超时。。。(请在下面填写错误详细信息) 查询在SSMS中运行3分钟 我的SQL Azure服务器具有标准1规模(20DTU) 经过的时间始终为30秒 我修复了“连接超时”并设置了300(5分钟)的值 我跑不了 EXEC sp_配置“远程查询超时”,300 因为它是SQLAzure 除了增加DTU,还有没有办法将远程连接扩展到azure服务器? 我唯一的目的是偶尔在SSI上运行一些大型查询 错误:System.Data.SqlClient.SqlException(0x

我在SSIS包中选择行时超时。。。(请在下面填写错误详细信息)

  • 查询在SSMS中运行3分钟
  • 我的SQL Azure服务器具有标准1规模(20DTU)
  • 经过的时间始终为30秒
  • 我修复了“连接超时”并设置了300(5分钟)的值
  • 我跑不了

    EXEC sp_配置“远程查询超时”,300

    因为它是SQLAzure

除了增加DTU,还有没有办法将远程连接扩展到azure服务器? 我唯一的目的是偶尔在SSI上运行一些大型查询

错误:System.Data.SqlClient.SqlException(0x80131904):执行超时已过期。操作完成前的超时时间或服务器没有响应。-->System.ComponentModel.Win32Exception(0x80004005):等待操作超时 位于System.Data.SqlClient.SqlConnection.OneError(SqlException异常、布尔断开连接、Action
1 wrapCloseInAction)
位于System.Data.SqlClient.SqlInternalConnection.OneError(SqlException异常、布尔断开连接、操作
1 wrapCloseInAction) 位于System.Data.SqlClient.TdsParser.ThroweException和Warning(TdsParserStateObject StateObjectStateObj、布尔调用方连接锁、布尔异步关闭) 位于System.Data.SqlClient.TdsParser.TryRun(RunBehavior RunBehavior、SqlCommand cmdHandler、SqlDataReader dataStream、BulkCopySimpleResultSet bulkCopyHandler、TdsParserStateObject stateObj、Boolean和dataReady) 位于System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()处 在System.Data.SqlClient.SqlDataReader.get_MetaData()处 位于System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds、RunBehavior RunBehavior、String ResetOptions String、Boolean isInternal、Boolean ForDescriptionParameterEncryption) 位于System.Data.SqlClient.SqlCommand.RunExecuteReaderDS(CommandBehavior cmdBehavior、RunBehavior RunBehavior、Boolean returnStream、Boolean async、Int32超时、任务和任务、Boolean asyncWrite、Boolean inRetry、SqlDataReader ds、Boolean describeParameterEncryptionRequest) 位于System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior、RunBehavior RunBehavior、Boolean returnStream、String方法、TaskCompletionSource`1完成、Int32超时、任务和任务、Boolean和usedCache、Boolean asyncWrite、Boolean inRetry) 位于System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior、RunBehavior RunBehavior、Boolean returnStream、String方法) 位于System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior,String方法) 位于System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior) 位于System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior) 在Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.PreExecute()中 位于Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPreExecute(IDTSManagedComponentWrapper100包装器)


对于I/O密集型工作负载,您应该使用高级层。在运行这些工作负载之前进行扩展,并在SSIS包完成后进行标准扩展。请在运行SSIS包时检查DTU消耗,您可能会发现工作负载达到了层限制,并且发生了节流

还请将异步处理设置为True。有关它的更多信息,请单击。将连接超时设置为零


希望这能有所帮助。

我认为没有增加Azure SQL“远程查询超时”配置的选项。到目前为止,还没有直接信息存在,为什么它在Azure SQL中不可用, 当通过sp_配置在本地版本的SQL server中也可以实现此功能时。我的猜测是,让任何查询无限期运行都会阻碍MS的高可用性和故障转移体系结构承诺

在Azure SQL中,可以使用ALTER数据库作用域配置transact-SQL修改很少的数据库配置设置。可以找到更多信息


我有一个每月通过SQL作业运行维护脚本的用例,它在P11 premium中运行6个小时,我非常确定将premium级别提高到P14不会有什么不同。目前,这是从SSMS手动执行的。当我找到一个选项时,我会及时通知您,我刚刚从Ado.Net数据源切换到OLE DB。除此之外,我现在使用参数化连接字符串。现在,我的查询在调试时运行良好,没有30秒的问题。我不知道为什么…谢谢你和我们分享你的发现。让我试着调查一下,并与更多的人分享。如果我得到答案,我会更新这个帖子。我想我现在知道了为什么你在OLEDB上看不到同样的行为。OLEDB源的默认连接超时为零。但是对于Ado.Net数据源,我确实增加了超时,但它总是在30秒内失败。。。也许我也可以自己做更多的测试。远程查询超时是用于传出连接的,与接收请求的服务器无关。因此,使用SP_Configure proc增加了在Azure SQL的托管实例中运行的SSIS服务器的远程查询超时,并且有效