@@ -13,27 +13,27 @@ summary: 学习 TiDB Data Migration 相关术语
13
13
14
14
### Binlog
15
15
16
- 在 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/ ) 。
16
+ 在 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 ) 。
17
17
18
18
### Binlog event
19
19
20
- 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/ ) 。
20
+ 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 ) 。
21
21
22
22
### Binlog event filter
23
23
24
24
比 Block & allow table list 更加细粒度的过滤功能,具体可参考 [ Binlog Event Filter] ( /dm/dm-binlog-event-filter.md ) 。
25
25
26
26
### Binlog position
27
27
28
- 特定 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/ ) 。
28
+ 特定 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 ) 。
29
29
30
30
### Binlog replication 处理单元/ sync 处理单元
31
31
32
32
DM-worker 内部用于读取上游 Binlog 或本地 Relay log 并迁移到下游的处理单元,每个 Subtask 对应一个 Binlog replication 处理单元。在当前文档中,有时也称作 Sync 处理单元。
33
33
34
34
### Block & allow table list
35
35
36
- 针对上游数据库实例表的黑白名单过滤功能,具体可参考 [ 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/ ) 类似。
36
+ 针对上游数据库实例表的黑白名单过滤功能,具体可参考 [ 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 ) 类似。
37
37
38
38
### Bound
39
39
@@ -68,7 +68,7 @@ DM-worker 内部用于从上游导出全量数据的处理单元,每个 Subtas
68
68
69
69
### GTID
70
70
71
- 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/ ) 。
71
+ 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 ) 。
72
72
73
73
## L
74
74
@@ -88,7 +88,7 @@ DM-worker 内部用于将全量导出数据导入到下游的处理单元,每
88
88
89
89
### Relay log
90
90
91
- 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/ ) 相近。
91
+ 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 ) 相近。
92
92
93
93
有关 TiDB DM 内 Relay log 的目录结构、初始迁移规则、数据清理等内容,可参考 [ TiDB DM Relay Log] ( /dm/relay-log.md ) 。
94
94
0 commit comments