Skip to content
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
4 changes: 3 additions & 1 deletion .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ https://github\.com/.*/issues/?
https://github\.com/.*/pull/?
https://github\.com/.*/pull/[0-9]+
https://github\.com/.*/issues/[0-9]+
https://github\.com/pingcap/tiflow/blob/master/dm/docs/.*
https://github\.com/\$user/(docs|docs-cn)
https://.*github.*/%7B%7B%7B%20.tidb_operator_version%20%7D%7D%7D
https?://\$?\{host}/dashboard.*
http://xn--\$?\{ip}-m86ht9t5l1bhz9ayu7b:3000.*
http://ip:2379.*
Expand All @@ -14,7 +17,6 @@ file://.*?http:/\$%7BPD_IP%7D:\$%7BPD_PORT%7D/dashboard.*
http://\{grafana-ip\}:3000
http://\{pd-ip\}:2379/dashboard
http://localhost:\d+/
https://github\.com/\$user/(docs|docs-cn)
https://linux\.die\.net/man.*
https://dev\.mysql\.com/doc/.+/5.7/en/.*
https://dev\.mysql\.com/doc/.+/8\.0/en/.*
Expand Down
20 changes: 10 additions & 10 deletions dm/dm-compatibility-catalog.md
Comment thread
hfxsd marked this conversation as resolved.
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 | 未测试 | 不支持 [binlog 事务压缩 (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html)。 |
| MySQL 8.4 | 实验支持(适用于从 v8.5.6 起的 TiDB 版本) | 不支持 [binlog 事务压缩 (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.4/en/binary-log-transaction-compression.html)。 |
| 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-说明)。 |
| 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 | 未测试 | 不支持 [binlog 事务压缩 (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html)。 |
| MySQL 8.4 | 实验支持(适用于从 v8.5.6 起的 TiDB 版本) | 不支持 [binlog 事务压缩 (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.4/en/binary-log-transaction-compression.html)。 |
| 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-说明)。 |

### 外键 `CASCADE` 操作

Expand Down
1 change: 1 addition & 0 deletions dm/dm-precheck.md
Original file line number Diff line number Diff line change
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