datax-tuning.conf 886 B

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