SqlBulkCopy - 镜像失败:(
我已经优化了我的导入应用程序,但我破坏了我的镜像,我很确定这是因为它。我收到此错误并且无法恢复它。
数据库“foo”的远程镜像伙伴遇到错误 3624,状态 1,严重性 20。数据库镜像已暂停。解决远程服务器上的错误并恢复镜像,或者删除镜像并重新建立镜像服务器实例。
如何将 SqlBulkCopy 与镜像结合使用?
I've optimized my import application and I broke my mirroring, I'm pretty sure it's because of it. I get this error and I cannot resume it.
remote mirroring partner for database 'foo', encountered error 3624, status 1, severity 20. Database mirroring has been suspended. Resolve the error on the remote server and resume mirroring, or remove mirroring and re-establish the mirror server instance.
How can I use SqlBulkCopy with mirroring?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请打开 Connect 问题,附加任何 ERRORLOG 和来自 MSSQL\LOG*.mdmp 的任何转储(检查主体和镜像的位置)、镜像中损坏的 MDF 和 LDF 文件。
还要确保两个系统都使用最新的 CU 进行了修补。例如,CU10/SP1 和 CU1/SP2 中修复了 SQL Server 2008 的已知问题:修复:一条错误消息当您在 SQL Server 2008 中使用“BULK_LOGGED”或“SIMPLE”恢复模式的数据库上运行“BULK INSERT”查询时,可能会发生这种情况(尽管这不是您的问题,因为您必须具有完整恢复模式镜像)。
Please open a Connect issue, attach any ERRORLOG and any dump from MSSQL\LOG*.mdmp (check both principal and mirror's location), the corrupted MDF and LDF files from the mirror.
And also make sure you have both systems patched with most recent CUs. For instance there is know issue with SQL Server 2008 fixed in CU10/SP1 and CU1/SP2: FIX: An error message may occur when you run a "BULK INSERT" query on a database that uses the "BULK_LOGGED" or "SIMPLE" recovery model in SQL Server 2008 (although this is not your issue, since you must have full recovery mode for mirroring).