You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: best-practices/_index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ Learn best practices for designing schemas in TiDB, including managing DDL opera
23
23
| ------------------- | ----------- |
24
24
|[Manage DDL](/best-practices/ddl-introduction.md)| Best practices for managing Data Definition Language (DDL) operations in TiDB. |
25
25
|[Use UUIDs as Primary Keys](/best-practices/uuid.md)| Best practices for storing and indexing UUIDs (Universally Unique Identifiers) efficiently when using UUIDs as primary keys. |
26
+
|[Use TiDB Partitioned Tables](/best-practices/tidb-partitioned-tables-best-practices.md)| Best practices for using TiDB partitioned tables to improve performance, simplify data management, and efficiently handle large-scale datasets. |
26
27
|[Optimize Multi-Column Indexes](/best-practices/multi-column-index-best-practices.md)| Best practices for designing and using multi-column indexes in TiDB to improve query performance. |
27
28
|[Manage Indexes and Identify Unused Indexes](/best-practices/index-management-best-practices.md)| Best practices for managing and optimizing indexes, identifying and removing unused indexes in TiDB to optimize performance. |
Copy file name to clipboardExpand all lines: dm/dm-compatibility-catalog.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,18 @@ DM supports migrating data from different sources to TiDB clusters. Based on the
14
14
15
15
## Data sources
16
16
17
-
| Data source | Compatibility level | Note |
18
-
| - | - | - |
19
-
| MySQL ≤ 5.5 | Not tested ||
20
-
| MySQL 5.6 | GA ||
21
-
| MySQL 5.7 | GA ||
22
-
| MySQL 8.0 | GA | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html). |
23
-
| MySQL 8.1 ~ 8.3 | Not tested | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html). |
24
-
| MySQL 8.4 | Experimental (supported starting from TiDB v8.5.6) | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.4/en/binary-log-transaction-compression.html). |
25
-
| MySQL 9.x | Not tested ||
26
-
| MariaDB < 10.1.2 | Incompatible | Incompatible with binlog of the time type. |
27
-
| MariaDB 10.1.2 ~ 10.5.10 | Experimental ||
28
-
| MariaDB > 10.5.10 | Not tested | Expected to work in most cases after bypassing the [precheck](/dm/dm-precheck.md). See [MariaDB notes](#mariadb-notes). |
| MySQL 8.0 | GA| Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html). |
23
+
| MySQL 8.1 ~ 8.3 | Not tested| Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html). |
24
+
| MySQL 8.4 | Experimental (supported starting from TiDB v8.5.6) | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.4/en/binary-log-transaction-compression.html). |
25
+
| MySQL 9.x | Not tested ||
26
+
| MariaDB < 10.1.2 | Incompatible| Incompatible with binlog of the time type. |
27
+
| MariaDB 10.1.2 ~ 10.5.10 | Experimental ||
28
+
| MariaDB > 10.5.10 | Not tested| Expected to work in most cases after bypassing the [precheck](/dm/dm-precheck.md). See [MariaDB notes](#mariadb-notes). |
Copy file name to clipboardExpand all lines: dm/dm-precheck.md
+16-15Lines changed: 16 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,7 @@ For the incremental data migration mode (`task-mode: incremental`), in addition
131
131
- Check whether binlog is enabled (required by DM).
132
132
- Check whether `binlog_format=ROW` is configured (DM only supports the migration of binlog in the ROW format).
133
133
- Check whether `binlog_row_image=FULL` is configured (DM only supports `binlog_row_image=FULL`).
134
+
- Check whether `binlog_transaction_compression=OFF` is configured (DM does not support transaction compression).
134
135
- If `binlog_do_db` or `binlog_ignore_db` is configured, check whether the database tables to be migrated meet the conditions of `binlog_do_db` and `binlog_ignore_db`.
135
136
136
137
* (Mandatory) Check if the upstream database is in an [Online-DDL](/dm/feature-online-ddl.md) process (in which the `ghost` table is created but the `rename` phase is not executed yet). If the upstream is in the online-DDL process, the precheck returns an error. In this case, wait until the DDL to complete and retry.
@@ -143,21 +144,21 @@ For the full and incremental data migration mode (`task-mode: all`), in addition
143
144
144
145
Prechecks can find potential risks in your environments. It is not recommended to ignore check items. If your data migration task has special needs, you can use the [`ignore-checking-items` configuration item](/dm/task-configuration-file-full.md#task-configuration-file-template-advanced) to skip some check items.
145
146
146
-
| Check item | Description |
147
-
| :---------- | :------------ |
148
-
|`dump_privilege`| Checks the dump privilege of the user in the upstream MySQL instance. |
149
-
|`replication_privilege`| Checks the replication privilege of the user in the upstream MySQL instance. |
150
-
|`version`| Checks the version of the upstream database. |
151
-
|`server_id`| Checks whether server_id is configured in the upstream database. |
152
-
|`binlog_enable`| Checks whether binlog is enabled in the upstream database. |
153
-
|`table_schema`| Checks the compatibility of the table schemas in the upstream MySQL tables. |
154
-
|`schema_of_shard_tables`| Checks the consistency of the table schemas in the upstream MySQL multi-instance shards. |
155
-
|`auto_increment_ID`| Checks whether the auto-increment primary key conflicts in the upstream MySQL multi-instance shards. |
156
-
|`online_ddl`| Checks whether the upstream is in the process of [online-DDL](/dm/feature-online-ddl.md). |
157
-
|`empty_region`| Checks the number of empty Regions in the downstream database for physical import. |
158
-
|`region_distribution`| Checks the distribution of Regions in the downstream database for physical import. |
159
-
|`downstream_version`| Checks the versions of TiDB, PD, and TiKV in the downstream database. |
160
-
|`free_space`| Checks the free space of the downstream database. |
147
+
| Check item | Description |
148
+
| :--------------------------| :------------ |
149
+
|`dump_privilege`| Checks the dump privilege of the user in the upstream MySQL instance. |
150
+
|`replication_privilege`| Checks the replication privilege of the user in the upstream MySQL instance. |
151
+
|`version`| Checks the version of the upstream database. |
152
+
|`server_id`| Checks whether server_id is configured in the upstream database. |
153
+
|`binlog_enable`| Checks whether binlog is enabled in the upstream database. |
154
+
|`table_schema`| Checks the compatibility of the table schemas in the upstream MySQL tables. |
155
+
|`schema_of_shard_tables`| Checks the consistency of the table schemas in the upstream MySQL multi-instance shards. |
156
+
|`auto_increment_ID`| Checks whether the auto-increment primary key conflicts in the upstream MySQL multi-instance shards. |
157
+
|`online_ddl`| Checks whether the upstream is in the process of [online-DDL](/dm/feature-online-ddl.md). |
158
+
|`empty_region`| Checks the number of empty Regions in the downstream database for physical import. |
159
+
|`region_distribution`| Checks the distribution of Regions in the downstream database for physical import. |
160
+
|`downstream_version`| Checks the versions of TiDB, PD, and TiKV in the downstream database. |
161
+
|`free_space`| Checks the free space of the downstream database. |
161
162
|`downstream_mutex_features`| Checks whether the downstream database is running tasks that are incompatible with physical import. |
-[Troubleshoot a TiFlash Cluster](/tiflash/troubleshoot-tiflash.md)
110
110
111
-
You are also welcome to create [GitHub Issues](https://github.com/pingcap/tiflash/issues) or submit your questions on [AskTUG](https://asktug.com/).
111
+
You are also welcome to create [GitHub Issues](https://github.com/pingcap/tiflash/issues) or ask the community on [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc) or [Slack](https://slack.tidb.io/invite?team=tidb-community&channel=everyone&ref=pingcap-docs).
Copy file name to clipboardExpand all lines: mysql-schema/mysql-schema.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ These system tables contain grant information about user accounts and their priv
33
33
*`tidb_server_version`: the version information of TiDB when it is initialized. Note that this value is read-only and cannot be modified.
34
34
*`system_tz`: the system time zone of TiDB.
35
35
*`new_collation_enabled`: whether TiDB has enabled the [new framework for collations](/character-set-and-collation.md#new-framework-for-collations). Note that this value is read-only and cannot be modified.
36
+
*`cluster_id` (New in v8.5.6): the unique identifier of the TiDB cluster. Note that this value is read-only and cannot be modified.
0 commit comments