Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下mysql历时数据有没有好的方案一次同步到mongo 。。。 #9

Open
wniko opened this issue Nov 29, 2017 · 1 comment

Comments

@wniko
Copy link

wniko commented Nov 29, 2017

然后提2点建议,看脚本是不是可以优化下。
1、历时数据同步。。。(标题说的那样)
2、如果mongo没有库dbs、表collections的情况下,是否可以自动创建呢?

@liukelin
Copy link
Owner

  1. 这个案例是增量同步,你说的是全量同步,建议直接读MySQL数据导入,不需要走canal
    2.案例里操作mongo的代码都是db table不存在会直接创建的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants