简体   繁体   English

连接-MongoDB和SQL Server

[英]Connection -MongoDB & SQL Server

I need to create a connection between ##MongoDB## and ##SQL Server## where I want to replicate a subset of my Database from SQL Server into MongoDB. 我需要在## MongoDB ##和## SQL Server ##之间创建连接,我想将数据库的一部分从SQL Server复制到MongoDB。 Can anyone suggest for feasibility of the same and how ? 有人可以建议同样的可行性吗?

Right now I am using symmetricDS for the replication but unable to... 现在我正在使用symmetricDS进行复制,但是无法...

Please suggest if symmetricDS is able to serve for this purpose. 请提出对称DS是否可以用于此目的。

Here is how you target MongoDB: 定位MongoDB的方法如下:

http://www.symmetricds.org/doc/3.8/html/user-guide.html#_mongodb http://www.symmetricds.org/doc/3.8/html/user-guide.html#_mongodb

If you need more flexibility than straight table to table mapping, then you would write your own data loader using the MongoDatabaseWriter as a pattern. 如果您需要比直接表到表映射更多的灵活性,则可以使用MongoDatabaseWriter作为模式编写自己的数据加载器。

https://github.com/JumpMind/symmetric-ds/tree/0c5cc1c24b42a64405f4b79c3cb6b594a35467f2/symmetric-client/src/main/java/org/jumpmind/symmetric/io https://github.com/JumpMind/symmetric-ds/tree/0c5cc1c24b42a64405f4b79c3cb6b594a35467f2/symmetric-client/src/main/java/org/jumpmind/symmetric/io

Got an easy way around for the Data Exchange from SQL to MongoDB using: 使用以下方法可以轻松地实现从SQL到MongoDB的数据交换:

  1. SQLtoMongo C# Tool SQLtoMongo C#工具
  2. KNIME Analytics Platform (way easy to implement - Opensource) KNIME Analytics Platform(易于实施-开源)

But still looking for something with triggers to easily replicate the things. 但是仍在寻找可以轻松复制事物的触发器。

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

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