Skip to content
Open
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
16 changes: 8 additions & 8 deletions dm/dm-compatibility-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ TiDB Data Migration (DM) 数据迁移工具可以将数据从不同类型的数

| 数据源 |级别 | 说明 |
| - | - | - |
| MySQL ≤ 5.5 | 未测试 |
| MySQL 5.6 | 正式支持 | |
| MySQL 5.7 | 正式支持 | |
| MySQL 8.0 | 正式支持 | 不支持 binlog 事务压缩 [Transaction_payload_event](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html)。 |
| MySQL 8.1 ~ 8.3 | 未测试 | |
| MySQL 8.4 | 不兼容 | 更多信息,请参考 [DM Issue #11020](https://github.com/pingcap/tiflow/issues/11020)。|
| MySQL 9.x | 未测试 | |
| MySQL ≤ 5.5 | 未测试 | |
| MySQL 5.6 | 正式支持 | |
| MySQL 5.7 | 正式支持 | |
| MySQL 8.0 | 正式支持 | 不支持 binlog 事务压缩 [Transaction_payload_event](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html)。 |
| MySQL 8.1 ~ 8.3 | 未测试 | |
| MySQL 8.4 | 不兼容 | 更多信息,请参考 [DM Issue #11020](https://github.com/pingcap/tiflow/issues/11020)。 |
| MySQL 9.x | 未测试 | |
| MariaDB < 10.1.2 | 不兼容 | 与时间类型的 binlog 不兼容。 |
| MariaDB 10.1.2 ~ 10.5.10 | 实验支持 | |
| MariaDB > 10.5.10 | 未测试 | 在绕过[前置检查](/dm/dm-precheck.md)后,理论上大多数情况下可以正常工作。参见 [MariaDB 说明](#mariadb-说明)。 |
| MariaDB > 10.5.10 | 未测试 | 在绕过[前置检查](/dm/dm-precheck.md)后,理论上大多数情况下可以正常工作。参见 [MariaDB 说明](#mariadb-说明)。 |

### 与外键 CASCADE 操作的不兼容性

Expand Down
3 changes: 2 additions & 1 deletion dm/dm-precheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ tiup dmctl check-task ./task.yaml

- 上游 MySQL 表结构的兼容性

- 检查上游表是否设置了外键。TiDB 不支持外键,如果上游表设置了外键,则返回警告。
- 检查上游表是否设置了外键。TiDB 对外键的支持并不全面,如果上游表设置了外键,则返回警告。
- 检查上游字符集是否与 TiDB 兼容,详见 [TiDB 支持的字符集](/character-set-and-collation.md)。
- 检查上游表中是否存在主键或唯一键约束(从 v1.0.7 版本引入)。

Expand Down Expand Up @@ -131,6 +131,7 @@ tiup dmctl check-task ./task.yaml
- 检查 binlog 是否开启(DM 要求 binlog 必须开启)。
- 检查是否有 `binlog_format=ROW`(DM 只支持 ROW 格式的 binlog 迁移)。
- 检查是否有 `binlog_row_image=FULL`(DM 只支持 `binlog_row_image=FULL`)。
- 检查是否有 `binlog_transaction_compression=OFF`(DM 不支持事务压缩)。
- 如果配置了 `binlog_do_db` 或者 `binlog_ignore_db`,那么检查需要迁移的库表,是否满足 `binlog_do_db` 和 `binlog_ignore_db` 的条件。

* (必须)检查上游是否处于 [Online-DDL](/dm/feature-online-ddl.md) 过程中,即创建了 `ghost` 表,但还未执行 `rename` 的阶段。如果处于 online-DDL 中,则检查报错,请等待 DDL 结束后重试。
Expand Down
Loading