Merge pull request #1741 from chlin-enginner/updateDoc/adbPgWriterDoc

补充文档:AdbPgWriter组件column参数说明
This commit is contained in:
Trafalgar 2024-08-20 20:21:41 +08:00 committed by GitHub
commit f5314d5022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -149,6 +149,7 @@ COPY命令将数据写入ADB PG数据库中。
注意1、我们强烈不推荐你这样配置因为当你目的表字段个数、类型等有改动时你的任务可能运行不正确或者失败
2、此处 column 不能配置任何常量值
3、大写字段名,此处配置时,不需要拼接转义符号:\"
* 必选:是 <br />
@ -229,4 +230,4 @@ create table schematest.test_datax (
#### 4.2.2 性能测试小结
1. `channel数对性能影响很大`
2. `通常不建议写入数据库时,通道个数 > 32`
2. `通常不建议写入数据库时,通道个数 > 32`

View File

@ -56,7 +56,7 @@ public class Adb4pgClientProxy implements AdbProxy {
int retryIntervalTime = configuration.getInt(Key.RETRY_INTERVAL_TIME, 1000);
databaseConfig.setRetryIntervalTime(retryIntervalTime);
// 设置自动提交的SQL长度单位Byte默认为32KB一般不建议设置
// 设置自动提交的SQL长度单位Byte默认为10MB一般不建议设置
int commitSize = configuration.getInt("commitSize", 10 * 1024 * 1024);
databaseConfig.setCommitSize(commitSize);