Skip to content

go-data-checksum v1.0

Compare
Choose a tag to compare
@wangzihuacool wangzihuacool released this 13 Jan 08:48
· 7 commits to master since this release

Feature:

  1. 获取源和目标端的CRC32校验值,改用并行处理源和目标端,实测结果:全量核对场景性能提升80%;
  2. 源表是目标表的子集核对场景,优化CRC32校验值的比对算法,CPU使用率下降一半;
  3. 分批核对时,计算下一批次主键范围强制指定唯一键以防止执行计划变动;
  4. 调大数据库连接超时时间默认配置(30s -> 60s);

Bug修复:

  1. 修复无主键/唯一键的表之间核对的报错提示;