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) #240

Merged
merged 1 commit into from
Aug 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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