database sync tools.
config.json file.
- SrcDB source database config.
- DesDB destcation database config.
- DataSync data sync handle config.
eg :
- make install
- make
- make release
./bin/start.sh
dbsync是数据库同步工具,使用go编写,主要特性有
- 支持数据库种类多(oracle,postgresql,mysql,sqlserver等,其他添加中)
- 灵活支持自定义SQL,支持多表和视图
- 支持字段映射,可以配置字段的映射关系
- 批量操作,性能较高
- 本地虚拟机 centos6 2核2G
- PostgreSQL 10.6
- mysql 5.1.73
- insert 117275 条记录 14S TPS 8376/s
- update 117275 条记录 44S TPS 2665/s
如果有任何疑问或错误,欢迎在 issues 进行提问或给予修正意见。 如果喜欢或对你有所帮助,欢迎 Star。
我是小铭哥 专注做后台开发和系统架构 我在重庆两江新区。
所有文章采用知识共享署名-非商业性使用-相同方式共享 3.0 **大陆许可协议进行许可。