From fc367abf2415a8518db178958dd20afbeddeb2d8 Mon Sep 17 00:00:00 2001 From: ti-srebot <66930949+ti-srebot@users.noreply.github.com> Date: Mon, 17 Aug 2020 16:28:24 +0800 Subject: [PATCH] zh, en: add primary/unique key check description (#223) (#240) Signed-off-by: ti-srebot --- en/precheck.md | 2 ++ zh/precheck.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/en/precheck.md b/en/precheck.md index 363ca2780..7ab9266a7 100644 --- a/en/precheck.md +++ b/en/precheck.md @@ -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 diff --git a/zh/precheck.md b/zh/precheck.md index d034061df..91f62037b 100644 --- a/zh/precheck.md +++ b/zh/precheck.md @@ -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 多实例分库分表的一致性 + 所有分表的表结构是否一致,检查内容包括: