Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

zh, en: add primary/unique key check description #223

Merged
merged 10 commits into from
Aug 17, 2020
2 changes: 2 additions & 0 deletions en/precheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Upstream and downstream database users must have the corresponding read and writ
- TiDB does not support the foreign key.
- [Character set compatibility differs](https://pingcap.com/docs/stable/reference/sql/character-set/).

DM will also check primary or unqiue key exists for all upstream tables, supported since v1.0.7
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

+ The consistency of the sharded tables in the multiple upstream MySQL instances

+ The schema consistency of all sharded tables
Expand Down
2 changes: 2 additions & 0 deletions zh/precheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ aliases: ['/docs-cn/tidb-data-migration/dev/precheck/']
- TiDB 不支持外键
- 字符集的兼容性不同,详见 [TiDB 支持的字符集](https://pingcap.com/docs-cn/dev/reference/sql/character-set/)

DM 还会检查上游表中是否存在主键或唯一键约束, 在 v1.0.7 版本引入
GMHDBJD marked this conversation as resolved.
Show resolved Hide resolved

+ 上游 MySQL 多实例分库分表的一致性

+ 所有分表的表结构是否一致,检查内容包括:
Expand Down