文档更新

This commit is contained in:
inrgihc
2021-06-10 22:33:56 +08:00
parent 5d4863f51c
commit aac3516dea

View File

@@ -132,7 +132,7 @@ sh ./docker-maven-build.sh
**注意:**
- 1支持源端为多个数据源类型如果dbswitch.source[i]为数组类型i为编号从0开始的整数
- 1支持源端为多个数据源类型如果```dbswitch.source[i]```为数组类型i为编号从0开始的整数
- 2如果```dbswitch.source[i].source-includes```不为空,则按照包含表的方式来执行;
@@ -140,7 +140,7 @@ sh ./docker-maven-build.sh
- 4如果```dbswitch.target.target-drop=false``````dbswitch.target.change-data-synch=true```;时会对有主键表启用增量变更方式同步
- 5也支持配置文件名为```conf/config.yml```的YML格式配置文件样例如下
- 5同时也支持配置文件名为```conf/config.yml```的YML格式配置文件样例如下
```
dbswitch:
@@ -250,17 +250,16 @@ jdbc连接地址jdbc:postgresql://172.17.2.10:5866/highgo
jdbc驱动名称org.postgresql.Driver
```
### 4、启动方法
启动执行命令如下:
linux系统下
- linux系统下:
```
cd dbswitch-release-X.X.X/
bin/datasync.sh
```
windows系统下
- windows系统下
```
切换到dbswitch-release-X.X.X/bin/目录下双击datasync.cmd脚本文件即可启动