Skip to content

Commit

Permalink
sync_diff_inspector: add the check-data-only configuration item (#19228)
Browse files Browse the repository at this point in the history
  • Loading branch information
joechenrh authored Dec 9, 2024
1 parent 2d64b82 commit 91e48ce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sync-diff-inspector/sync-diff-inspector-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,16 @@ sync-diff-inspector 的配置总共分为五个部分:
######################### Global config #########################
# 检查数据的线程数量,上下游数据库的连接数会略大于该值
# 检查数据的线程数量,上下游数据库的连接数会略大于该值
check-thread-count = 4
# 如果开启,若表存在不一致,则输出用于修复的 SQL 语句。
export-fix-sql = true
# 只对比表结构而不对比数据
# 只对比数据而不对比表结构,该配置项目前为实验特性,不建议在生产环境中使用。
check-data-only = false
# 只对比表结构而不对比数据。
check-struct-only = false
# 如果开启,会跳过校验上游或下游不存在的表。
Expand Down

0 comments on commit 91e48ce

Please sign in to comment.