日志已发送但不会更新
我目前正在当地一所大学学习 MS SQL 2K5 管理课程,并遇到了日志传送部分的问题。
我的设置如下:
Windows 7 x64 SQL 2005 SP3 同一台计算机上的 2 个 SQL Server 实例
日志传送设置:
- 对主数据库执行完整日志备份
- 在备用模式下的辅助数据库上手动还原
- 在表中插入新记录
- 使用 SQL 身份验证登录在主数据库上设置日志传送以连接到辅助数据库
- 集 辅助监控实例上的计时器和复制目标
- 未使用
我为 WORKGROUP 设置了一个共享文件夹,以便计算机上的两个实例都可以读取和复制写信给它。我可以看到按照事务传送向导的定义生成和复制的事务日志。但是,辅助实例上的指定表并未更新。
I'm currently taking the MS SQL 2K5 Admin course at a local college and ran into a problem with the Log Shipping part.
My setup is the following:
Windows 7 x64
SQL 2005 SP3
2 SQL server instances on the same machine
Log Shipping settings:
- Performed full then log back up of Primary
- Manually restore on Secondary in STANDBY MODE
- Insert a new record into the table
- Set up Log Shipping on Primary using SQL Authenication login to connect to the Secondary
- Set up timers and copy destination on Secondary
- Monitoring instance not being used
I set up a shared folder for WORKGROUP so both instances on the machine can read & write to it. I can see transaction logs generated and copied as defined by the Transaction Shipping wizard. However, the specified table on the Secondary instance is not updating.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果我的事务日志记录不起作用,我会检查以下内容:
辅助服务器。
如果发生任何错误,
请记住,事务日志记录可能会直接或间接由日志传送引起很多问题。
If my transaction logging doesn't work I check the following:
the secondary server.
than if any errors occured
Keep in mind that there can be a lot of problems with transaction logging directly or indirectly caused by log shipping.
查看目标服务器上的 SQLAgent 作业:查看 LSCopy 和 LSRestore 作业。如果失败,请查看作业日志。在问题中发布错误消息以获得更多帮助。
请参阅此处的常见陷阱
Look at the SQLAgent jobs on the destination server: Look at the LSCopy and LSRestore jobs. If they are failing, look at the job log. Post the error message in the question for more help.
See common pitfalls here