MSSQL·Execution Timeout Expired. The timeout period elapsed prior to completion of the oper..

时间:2021-07-17
本文章向大家介绍MSSQL·Execution Timeout Expired. The timeout period elapsed prior to completion of the oper..,主要包括MSSQL·Execution Timeout Expired. The timeout period elapsed prior to completion of the oper..使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。
阅文时长 | 0.13分钟 字数统计 | 223.2字符
主要内容 | 1、引言&背景 2、声明与参考资料
『MSSQL·Execution Timeout Expired. The timeout period elapsed prior to completion of the oper..』
编写人 | SCscHero 编写时间 | 2021/7/17 PM4:7
文章类型 | 系列 完成度 | 已完成
座右铭 每一个伟大的事业,都有一个微不足道的开始。

一、引言&背景   完成度:100%

a) 应对问题

在MSSQL中,GUI界面更改自增列为是的操作中,报了如图这个错误:Execution Timeout Expired. The timeout period elapsed prior to completion of the operation.

b) 应对场景

在MSSQL中,GUI界面更改表设计或其他操作。

c) 解决原理&方法

【解决原理】因某些操作导致表重建,即底层会新建临时表进行转移回写等操作,在大数据量情况下极慢,导致超时。
【解决方案】因打开"工具"-->"选项"菜单中的设计器(Design),更改"覆盖表设计器更新的连接字符串超时值",并且设置"超时此时间后事务超时"时间。有效值在1-65535。

二、声明与参考资料   完成度:100%

原创博文,未经许可请勿转载。

如有帮助,欢迎点赞、收藏、关注。如有问题,请评论留言!如需与博主联系的,直接博客私信SCscHero即可。

原文地址:https://www.cnblogs.com/SCscHero/p/15024510.html