Skip to content

Commit

Permalink
update usage-details
Browse files Browse the repository at this point in the history
  • Loading branch information
F-ca7 committed Jan 13, 2023
1 parent e3c140a commit 7337ab4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions batch-tool/docs/usage-details.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,12 @@ mask: >-
**解决**:加入 `-con 4`参数限制导入数据库的消费者线程数为4

6. 生产者消费者建议的比例数?

**原因**:默认情况下,生产者数(并发读取文件线程数)为4,消费者数(并发导入数据库线程数)为CPU核心数的4倍;
在不同的规格下,默认参数可能表现不佳
在不同的规格下,默认参数可能表现不佳

**解决**:通常建议消费者数`-con `为生产者数`-pro `的6~8倍,具体数值还需根据硬件配置、数据库处理能力来调整

7. 报错 `Missing argument for option: `
**原因**:参数缺少参数值,自1.2.0版本后,开关类型的参数也需要填入参数(true|false)

0 comments on commit 7337ab4

Please sign in to comment.