0

I have 2 SQL server instances, on different servers. One is Production instance and gets lots of reads and writes daily. Another one is for external applications to use a copy of few of the tables from production sql instance. At the moment we have a SSIS job which does compare and update once in a day from production sql to the external sql server. It takes 15 mins and affects the performance of production sql server. We want to increase the frequency of the data being replicated, so that it is more or less synchronous on both servers. What would be a better approach? increasing the frequency of the SSIS package or creating replication or using log shipping? Any answer is really appreciated. Thanks.

4

1 回答 1

1

增加 SSIS 包的频率将达到您想要的效果,但代价是增加对生产系统的影响(您已经指出这是一个问题),因此这听起来不是一个理想的解决方案。

日志传送可能不是一个好的解决方案,因为在恢复日志备份时用户将无法使用辅助数据库,这意味着根据您计划运行它的频率,它也不是一个合适的选择。

如果您只是将记录从几个表复制到报告数据库(或类似数据库),则可以使用事务复制,它将为您提供最新数据,而对生产盒性能的影响非常小。它确实为恢复等引入了一些复杂性,但是如果您确保阅读并理解其含义,它可能是最好的解决方案。

于 2014-01-21T12:30:03.777 回答