简体   繁体   English

Azure SQL 数据库 - 多个作业的执行超时已过期错误

[英]Azure SQL Database - Execution Timeout Expired error on several jobs

In SQL Server Management Studio, I discovered an issue while attempting to disable a trigger on one of our tables in our Azure SQL Database, which is set at one of the highest-available performance tiers (Business Critical Gen 5).在 SQL Server Management Studio 中,我在尝试禁用 Azure SQL 数据库中的一个表上的触发器时发现了一个问题,该数据库设置为最高可用性能层之一(Business Critical Gen 5)。 I used right-click disable to accomplish this.我使用右键单击禁用来完成此操作。 I receive the following error after the timeout period expires:超时期限到期后,我收到以下错误:

Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. (.Net SqlClient Data Provider)

        ------------------------------
        For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=12.00.0700&EvtSrc=MSSQLServer&EvtID=-2&LinkId=20476

        ------------------------------
        Server Name: searchfoundry.database.windows.net
        Error Number: -2
        Severity: 11
        State: 0


        ------------------------------
        Program Location:

           at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
           at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry)
The wait operation timed out

The help link goes to a 404 - no surprise there.帮助链接指向 404 - 这并不奇怪。

EDIT #1: @DanGuzman kindly assisted me in suggesting I run the disable trigger as T-SQL.编辑 #1: @DanGuzman 帮助我建议我将禁用触发器作为 T-SQL 运行。 This worked.这奏效了。 However, in between the time I originally posted, and the time he gave his suggestion, I discovered that this timeout error is occurring within other areas of our infrastructure/services which use this database.但是,在我最初发布的时间和他提出建议的时间之间,我发现此超时错误发生在使用此数据库的基础架构/服务的其他区域中。

I have run a query to check for blocking sessions on this database.我运行了一个查询来检查这个数据库上的阻塞会话。 There are none listed.没有列出。 I have also increased the timeout period from 30 seconds to 5 minutes.我还将超时时间从 30 秒增加到 5 分钟。 Items are still timing out.项目仍然超时。

I am looking for guidance on what other queries I can run to look under the hood of this database to determine what is causing these timeouts to occur.我正在寻找有关我可以运行哪些其他查询以查看该数据库的幕后情况以确定导致这些超时发生的原因的指导。

I'd be happy to just restart the SQL Server to resolve this, but as many of us know, there is no restarting Azure SQL Servers, unfortunately.我很乐意重新启动 SQL Server 来解决这个问题,但正如我们许多人所知,不幸的是,没有重新启动 Azure SQL Server。

我通过增加 DB 的 DTU 配额解决了类似的超时问题

Increasing the DTUs works for me.增加 DTU 对我有用。

在此处输入图片说明

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

相关问题 Azure SQL 单个数据库 DTU 超时过期错误 - Azure SQL Single Database DTU Timeout Expired Error SQL Server执行超时已过期 - SQL Server Execution Timeout Expired SQL VIEW 执行超时已过期 - SQL VIEW Execution Timeout Expired SQL Azure 上的服务器:“执行超时已过期。操作完成前超时时间已过,或者服务器没有响应。” - SQL Server on Azure: "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding." 连接到Azure SQL数据库时出错。 信号灯超时时间已过。 (Microsoft SQL Server,错误:121) - Error when connecting to Azure SQL database. The semaphore timeout period has expired. (Microsoft SQL Server, Error: 121) SQL Server Management Studio:执行超时已过期 - SQL Server Management Studio : execution timeout expired SQL 服务器 Microsoft.Data.SqlClient.SqlException (0x80131904):执行超时在 azure 上过期 - SQL server Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired on azure SQL Server 2008超时过期错误 - SQL Server 2008 timeout expired error 登录超时超时错误的第一个SQL查询 - login timeout expired error on first sql query 无法执行查询。 错误:执行超时已过期 - Failed to execute query. Error: Execution Timeout Expired
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM