| 12345678910111213141516171819 |
- # DataX 默认参数(L1 全局,优先级最低)
- # 覆盖规则:L1 本文件 < L2 ini [speed] 段 < L3 CLI -channel/-byte/-record
- # 加载入口:dw_base/datax/job_config_generator.py 生成 json 前
- # ========== speed ==========
- # 严格时段:显式指定起止(HH:MM 24 小时制)
- # 此区间内走 strict 资源档(每通道吞吐低,保护业务 DB 从库)
- # 此区间外自动走 relaxed 档(每通道吞吐高)
- # 判断采用左闭右开 [start, stop);start 时分属严格,stop 时分属宽松
- speed.strict_period.start 07:50
- speed.strict_period.stop 19:00
- speed.strict.channel 10
- speed.strict.byte 10485760
- speed.strict.record 40000
- speed.relaxed.channel 6
- speed.relaxed.byte 268435456
- speed.relaxed.record 100000
|