Autogrow of file '******' in database '******' was cancelled by user or timed out after ****** milli
来源:互联网 发布:电脑usb端口无法识别 编辑:程序博客网 时间:2024/06/06 04:26
Autogrow of file 'XXXX' in database 'YYYY' was cancelled by user or timed out after ZZZZZ milliseconds
Consider the following scenario:
- You have not configured the autogrow of your SQL Server files manually and instead rely on the default values.
- While the database size is small you don’t face any strange behavior.
- After the database reaches a big size you get hot by severe performance issues.
- While checking the SQL ERRORLOG you see this error:
Autogrow of file 'XXXX' in database 'YYYY' was cancelled by user or timed out after ZZZZZ milliseconds
This happens because by default the autogrow of SQL Server data files is set to 10%. While this value is fine for small database sizes, it is certainly not recommended for large databases.
e.g. the 10% autogrow of a data file that is 100 GB is 10 GB
If at the time that the autogrow occurs, the workload on the hard disk is big and the autogrow is not successful within 30 seconds, the autogrow will fail. Then as more requests for data file space arrive, SQL Server will try to autogrow the file again and again and these requests will probably fail again after 30 seconds due to heavy workload.
So what can you really do in this case? Here are two solutions:
1. Change the Autogrow setting from % to MB. A typical value for the Autogrow of files is e.g. 50 or 100 MB. This will prevent large Autogrow operations which may time out.
Or you may:
2. Avoid using Autogrow and proactively (i.e. manually) expand the files to a big enough size during off-peak hours. This way you will also gain a performance benefit since no Autogrow operations will take place while normal SQL operation takes place.
- Autogrow of file '******' in database '******' was cancelled by user or timed out after ****** milli
- SQL Server Autogrow of file ‘xxx_Log’ in database ‘xxx’ was cancelled by user or timed out解决方法
- ERROR: Exception when publishing, exception message [Exec timed out or was interrupted after XXX ms
- Liferay get Organization by using User or get All Organizations in liferay database
- Fixing “Upload Aborted or Timed Out” errors in iTunes Connect
- ORA-15061 reported while doing a file operation with 11.1 or 11.2 ASM after PSU applied in database
- Sharepoint 修改文件夹名称时报错:The file is currently checked out or locked for editing by another user
- Transaction timed out after 29 seconds
- filezilla Connection timed out after 20 seconds
- php 使用curl 代理访问报错:Operation timed out after 0 milliseconds with 0 out of 0 bytes received
- malformed or corrupted AST file。。。module file out of date'
- malformed or corrupted AST file。。。module file out of date'
- malformed or corrupted AST file。。。module file out of date'
- Django: Filter ModelChoiceField by user(or other args in view)
- JMS response timed out after 20000 milliseconds (Response Timeout Period)
- Exception: Timed out after 30000ms(selenium超时)
- 解决selenium IDE Timed out after 30000ms问题
- maptask 超时问题 Timed out after 600 secs
- Cocos2d-x初入学堂(3)-->TexturePacker非常棒的图像处理工具
- mysql reading initial communication packet
- mastudio 下载附件
- 悲喜一瞬间,此悲伤非彼悲伤:伤感日志
- 結合 Selenium RC
- Autogrow of file '******' in database '******' was cancelled by user or timed out after ****** milli
- 用Visual studio11在Windows8上开发驱动实现内存填0杀进程
- BS开发需要注意的细节
- Java 单例模式详解
- 常见的手机屏幕分辨率
- RelativeLayout的一些布局属性
- 编程之美 2.3 寻找发帖“水王”
- excel导到gridview
- Spring中的jdbcTemplate