在两个不同的数据库之间同步数据 [英] Synchronizing data between two different databases
问题描述
我需要在两个数据库之间同步数据。主数据库是一个SQL服务器数据库,在其中执行所有插入,更新和删除操作。另一个数据库是一个MySQL数据库,反映同步时主数据库的状态。
I need to synchronize data between two databases. The primary database is a SQL server database where all insert, update and delete operations take place. The other database is a MySQL database that reflects the state of primary database at the time of synchronization.
请注意,实时同步并不重要,根据运营商和网络的可用性,同步将会随机进行。
Note that Real-time synchronization is not important, the synchronization will done randomly depending on operator and network availability.
我的问题:
- 确定两个数据库已经同步并且不需要同步的可能方法是
- 将数据从SQL推送到MySQL服务器的可能方法是什么(不需要从MySQL中提取数据)
- 应该使用自定义脚本还是可以处理前处理的工具
推荐答案
尝试Pentaho Kettle ETL工具。我们写了一个自定义Perl脚本来同步,这也工作,在找到水壶之前。
Try Pentaho Kettle, which is an industrial strength ETL tool. We wrote a custom Perl script to synchronize, which also works, before finding Kettle.
这篇关于在两个不同的数据库之间同步数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!