简体   繁体   English

SQL Server事务日志备份失败665“由于文件系统限制,请求的操作无法完成”

[英]SQL Server Transaction log backup failed 665 “The requested operation could not be completed due to file system limitation”

I am taking the transaction log backup in SQL Server 2012 for the database "XXXX". 我正在SQL Server 2012中为数据库“ XXXX”进行事务日志备份。

While taking the transaction log backup (after executing 60%), it throws this error: 在进行事务日志备份时(执行60%之后),它将引发以下错误:

Backup failed for server AAAA (Microsoft.Sqlserver.SmoExtended) 服务器AAAA的备份失败(Microsoft.Sqlserver.SmoExtended)
Additional Information: 附加信息:
System.Data.SqlClient.SqlError: System.Data.SqlClient.SqlError:
Write on "" failed 665: (The requested operation could not be completed dut to file system limitation) 在“”上写失败665 :(由于文件系统限制,请求的操作无法完成)

Please assist. 请协助。

I recommend you: 我推荐你:

  1. Run a Windows defragment on the volume where the spooling folder is located. 在假脱机文件夹所在的卷上运行Windows碎片整理。
  2. Alternatively, pick a different, less fragmented volume to spool the database to. 或者,选择其他碎片较少的卷以后台处理数据库。

When a sparse file (used for snapshot database files) is populated Windows limits the amount of data that may reside in the file. 填充稀疏文件(用于快照数据库文件)后,Windows会限制文件中可能驻留的数据量。 Once the amount of data stored in the sparse file exceeds the limit further data storage in the file may be prevented. 一旦稀疏文件中存储的数据量超过限制,就可以防止文件中进一步的数据存储。

Also: 也:

  • Run DBCC CHECKDB in OFFLINE mode ( WITH TABLOCK ) OFFLINE模式( WITH TABLOCK )运行DBCC CHECKDB
  • Run DBCC CHECKDB at a time when less data modification is taking place 在进行较少的数据修改时运行DBCC CHECKDB
  • Divide the database into a few more files. 将数据库分为几个文件。 The limitations are per sparse file and each database snapshot creates matching sparse files for each database file. 限制是每个稀疏文件,每个数据库快照都会为每个数据库文件创建匹配的稀疏文件。 For example if the database files are each limited to 64GB in total size you can't exceed the limitation on a per file basis. 例如,如果每个数据库文件的总大小限制为64GB ,则您不能超过每个文件的限制。
  • Remove snapshot databases that have grown large. 删除变大的快照数据库。

Reference 参考

I hope be helpful for you :) 希望对您有所帮助:)

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

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