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

Commit

Permalink
zh, en: add primary/unique key check description (#223) (#240)
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <[email protected]>
  • Loading branch information
ti-srebot authored Aug 17, 2020
1 parent 44b4a80 commit fc367ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
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 whether the primary key or unique key restriction exists in all upstream tables. This check is introduced in v1.0.7.

+ 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 @@ -42,6 +42,8 @@ aliases: ['/docs-cn/tidb-data-migration/stable/precheck/','/docs-cn/tidb-data-mi
- TiDB 不支持外键
- 字符集的兼容性不同,详见 [TiDB 支持的字符集](https://pingcap.com/docs-cn/dev/reference/sql/character-set/)

DM 还会检查上游表中是否存在主键或唯一键约束,在 v1.0.7 版本引入。

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

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

0 comments on commit fc367ab

Please sign in to comment.