@@ -11,27 +11,27 @@ summary: 学习 TiDB Data Migration 相关术语
1111
1212### Binlog
1313
14- 在 TiDB DM 中,Binlog 通常指 MySQL/MariaDB 生成的 binary log 文件,具体请参考 [ MySQL Binary Log] ( https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_replication.html ) 与 [ MariaDB Binary Log] ( https://mariadb.com/kb/en/library/ binary-log/ ) 。
14+ 在 TiDB DM 中,Binlog 通常指 MySQL/MariaDB 生成的 binary log 文件,具体请参考 [ MySQL Binary Log] ( https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_replication.html ) 与 [ MariaDB Binary Log] ( https://mariadb.com/docs/server/server-management/server-monitoring-logs/ binary-log ) 。
1515
1616### Binlog event
1717
18- MySQL/MariaDB 生成的 Binlog 文件中的数据变更信息,具体请参考 [ MySQL Binlog Event] ( https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_replication_binlog_event.html ) 与 [ MariaDB Binlog Event] ( https://mariadb.com/kb/en/library/ 1-binlog-events/ ) 。
18+ MySQL/MariaDB 生成的 Binlog 文件中的数据变更信息,具体请参考 [ MySQL Binlog Event] ( https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_replication_binlog_event.html ) 与 [ MariaDB Binlog Event] ( https://mariadb.com/docs/server/reference/clientserver-protocol/replication-protocol/ 1-binlog-events ) 。
1919
2020### Binlog event filter
2121
2222比 Block & allow table list 更加细粒度的过滤功能,具体可参考 [ Binlog Event Filter] ( /dm/dm-binlog-event-filter.md ) 。
2323
2424### Binlog position
2525
26- 特定 Binlog event 在 Binlog 文件中的位置偏移信息,具体请参考 [ MySQL ` SHOW BINLOG EVENTS ` ] ( https://dev.mysql.com/doc/refman/8.0/en/show-binlog-events.html ) 与 [ MariaDB ` SHOW BINLOG EVENTS ` ] ( https://mariadb.com/kb/en/library/ show-binlog-events/ ) 。
26+ 特定 Binlog event 在 Binlog 文件中的位置偏移信息,具体请参考 [ MySQL ` SHOW BINLOG EVENTS ` ] ( https://dev.mysql.com/doc/refman/8.0/en/show-binlog-events.html ) 与 [ MariaDB ` SHOW BINLOG EVENTS ` ] ( https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/ show/show -binlog-events ) 。
2727
2828### Binlog replication 处理单元/ sync 处理单元
2929
3030DM-worker 内部用于读取上游 Binlog 或本地 Relay log 并迁移到下游的处理单元,每个 Subtask 对应一个 Binlog replication 处理单元。在当前文档中,有时也称作 Sync 处理单元。
3131
3232### Block & allow table list
3333
34- 针对上游数据库实例表的黑白名单过滤功能,具体可参考 [ Block & Allow Table Lists] ( /dm/dm-block-allow-table-lists.md ) 。该功能与 [ MySQL Replication Filtering] ( https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html ) 及 [ MariaDB Replication Filters] ( https://mariadb.com/kb/en/library/ replication-filters/ ) 类似。
34+ 针对上游数据库实例表的黑白名单过滤功能,具体可参考 [ Block & Allow Table Lists] ( /dm/dm-block-allow-table-lists.md ) 。该功能与 [ MySQL Replication Filtering] ( https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html ) 及 [ MariaDB Replication Filters] ( https://mariadb.com/docs/server/ha-and-performance/standard- replication/replication -filters ) 类似。
3535
3636### Bound
3737
@@ -66,7 +66,7 @@ DM-worker 内部用于从上游导出全量数据的处理单元,每个 Subtas
6666
6767### GTID
6868
69- MySQL/MariaDB 的全局事务 ID,当启用该功能后会在 Binlog 文件中记录 GTID 相关信息,多个 GTID 即组成为 GTID Set,具体请参考 [ MySQL GTID Format and Storage] ( https://dev.mysql.com/doc/refman/8.0/en/replication-gtids-concepts.html ) 与 [ MariaDB Global Transaction ID] ( https://mariadb.com/kb/en/library/gtid/ ) 。
69+ MySQL/MariaDB 的全局事务 ID,当启用该功能后会在 Binlog 文件中记录 GTID 相关信息,多个 GTID 即组成为 GTID Set,具体请参考 [ MySQL GTID Format and Storage] ( https://dev.mysql.com/doc/refman/8.0/en/replication-gtids-concepts.html ) 与 [ MariaDB Global Transaction ID] ( https://mariadb.com/docs/server/ha-and-performance/standard-replication/gtid ) 。
7070
7171## L
7272
@@ -86,7 +86,7 @@ DM-worker 内部用于将全量导出数据导入到下游的处理单元,每
8686
8787### Relay log
8888
89- DM-worker 从上游 MySQL/MariaDB 拉取 Binlog 后存储在本地的文件,当前其格式为标准的 Binlog 格式,可使用版本兼容的 [ mysqlbinlog] ( https://dev.mysql.com/doc/refman/8.0/en/mysqlbinlog.html ) 等工具进行解析。其作用与 [ MySQL Relay Log] ( https://dev.mysql.com/doc/refman/8.0/en/replica-logs-relaylog.html ) 及 [ MariaDB Relay Log] ( https://mariadb.com/kb/en/library/relay- log/ ) 相近。
89+ DM-worker 从上游 MySQL/MariaDB 拉取 Binlog 后存储在本地的文件,当前其格式为标准的 Binlog 格式,可使用版本兼容的 [ mysqlbinlog] ( https://dev.mysql.com/doc/refman/8.0/en/mysqlbinlog.html ) 等工具进行解析。其作用与 [ MySQL Relay Log] ( https://dev.mysql.com/doc/refman/8.0/en/replica-logs-relaylog.html ) 及 [ MariaDB Relay Log] ( https://mariadb.com/docs/server/server-management/server-monitoring-logs/binary- log/relay-log ) 相近。
9090
9191有关 TiDB DM 内 Relay log 的目录结构、初始迁移规则、数据清理等内容,可参考 [ TiDB DM Relay Log] ( /dm/relay-log.md ) 。
9292
0 commit comments