Skip to content

Commit a6c3a57

Browse files
committed
polish
1 parent 0f004c1 commit a6c3a57

File tree

2 files changed

+49
-15
lines changed

2 files changed

+49
-15
lines changed

tidb-cloud/migrate-from-mysql-using-data-migration.md

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ If you only want to replicate ongoing binlog changes from your MySQL-compatible
2525
### Availability
2626

2727
- Currently, the Data Migration features is not available for {{{ .starter }}}.
28-
- If you don't see the [Data Migration](/tidb-cloud/migrate-from-mysql-using-data-migration.md#step-1-go-to-the-data-migration-page) entry for your <CustomContent plan="dedicated">{{{ .dedicated }}}</CustomContent><CustomContent plan="essential">{{{ .essential }}}</CustomContent> cluster in the [TiDB Cloud console](https://tidbcloud.com/), the feature might not be available in your region. To request support for your region, contact [TiDB Cloud Support](/tidb-cloud/tidb-cloud-support.md).
28+
<CustomContent plan="dedicated">
29+
- If you don't see the [Data Migration](/tidb-cloud/migrate-from-mysql-using-data-migration.md#step-1-go-to-the-data-migration-page) entry for your {{{ .dedicated }}}cluster in the [TiDB Cloud console](https://tidbcloud.com/), the feature might not be available in your region. To request support for your region, contact [TiDB Cloud Support](/tidb-cloud/tidb-cloud-support.md).
30+
</CustomContent>
2931
- Amazon Aurora MySQL writer instances support both existing data and incremental data migration. Amazon Aurora MySQL reader instances only support existing data migration and do not support incremental data migration.
3032

3133
### Maximum number of migration jobs
@@ -45,8 +47,12 @@ You can create up to 100 migration jobs on {{{ .essential }}} clusters for each
4547

4648
- The system databases will be filtered out and not migrated to TiDB Cloud even if you select all of the databases to migrate. That is, `mysql`, `information_schema`, `performance_schema`, and `sys` will not be migrated using this feature.
4749

50+
<CustomContent plan="dedicated">
51+
4852
- When you delete a cluster in TiDB Cloud, all migration jobs in that cluster are automatically deleted and not recoverable.
4953

54+
</CustomContent>
55+
5056
<CustomContent plan="essential">
5157

5258
### Limitations of Alibaba Cloud RDS
@@ -82,11 +88,15 @@ To prevent this, create the target tables in the downstream database before star
8288

8389
- During incremental replication (migrating ongoing changes to your cluster), if the migration job recovers from an abrupt error, it might open the safe mode for 60 seconds. During the safe mode, `INSERT` statements are migrated as `REPLACE`, `UPDATE` statements as `DELETE` and `REPLACE`, and then these transactions are migrated to the target TiDB Cloud cluster to ensure that all the data during the abrupt error has been migrated smoothly to the target TiDB Cloud cluster. In this scenario, for MySQL source tables without primary keys or non-null unique indexes, some data might be duplicated in the target TiDB Cloud cluster because the data might be inserted repeatedly into the target TiDB Cloud cluster.
8490

91+
<CustomContent plan="dedicated">
92+
8593
- In the following scenarios, if the migration job takes longer than 24 hours, do not purge binary logs in the source database. This allows Data Migration to get consecutive binary logs for incremental replication:
8694

8795
- During the existing data migration.
8896
- After the existing data migration is completed and when incremental data migration is started for the first time, the latency is not 0 ms.
8997

98+
</CustomContent>
99+
90100
## Prerequisites
91101

92102
Before migrating, check whether your data source is supported, enable binary logging in your MySQL-compatible database, ensure network connectivity, and grant required privileges for both the source database and the target TiDB Cloud cluster database.
@@ -209,8 +219,6 @@ For detailed instructions, see [Configure database flags](https://cloud.google.c
209219
210220
</details>
211221
212-
<CustomContent plan="essential">
213-
214222
<details>
215223
<summary> Configure Alibaba Cloud RDS MySQL</summary>
216224
@@ -234,8 +242,6 @@ For detailed instructions, see [Set instance parameters](https://www.alibabaclou
234242
235243
</details>
236244
237-
</CustomContent>
238-
239245
### Ensure network connectivity
240246
241247
Before creating a migration job, you need to plan and set up proper network connectivity between your source MySQL instance, the TiDB Cloud Data Migration (DM) service, and your target TiDB Cloud cluster.
@@ -274,10 +280,7 @@ Regardless of the connection method, it is strongly recommended to use TLS/SSL f
274280
- Amazon Aurora MySQL or Amazon RDS MySQL: [Using SSL/TLS to encrypt a connection to a DB instance or cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html)
275281
- Azure Database for MySQL - Flexible Server: [Connect with encrypted connections](https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-connect-tls-ssl)
276282
- Google Cloud SQL for MySQL: [Manage SSL/TLS certificates](https://cloud.google.com/sql/docs/mysql/manage-ssl-instance)
277-
278-
<CustomContent plan="essential">
279283
- Alibaba Cloud RDS MySQL: [Configure the SSL encryption feature](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/configure-a-cloud-certificate-to-enable-ssl-encryption)
280-
</CustomContent>
281284
282285
</details>
283286
@@ -494,7 +497,7 @@ On the **Create Migration Job** page, configure the source and target connection
494497
</CustomContent>
495498
<CustomContent plan="essential">
496499

497-
- **Public IP**: available for all cloud providers (recommended for testing and proof-of-concept migrations).
500+
- **Public**: available for all cloud providers (recommended for testing and proof-of-concept migrations).
498501
- **Private Link**: available for AWS and Alibaba Cloud only (recommended for production workloads requiring private connectivity).
499502

500503
</CustomContent>
@@ -639,7 +642,7 @@ For detailed instructions about incremental data migration, see [Migrate Only In
639642

640643
- If you click **All**, the migration job will migrate the existing data from the whole source database instance to TiDB Cloud and migrate ongoing changes after the full migration. Note that it happens only if you have selected the **Existing data migration** and **Incremental data migration** checkboxes in the previous step.
641644
- If you click **Customize** and select some databases, the migration job will migrate the existing data and migrate ongoing changes of the selected databases to TiDB Cloud. Note that it happens only if you have selected the **Existing data migration** and **Incremental data migration** checkboxes in the previous step.
642-
- If you click **Customize** and select some tables under a dataset name, the migration job will only migrate the existing data and migrate ongoing changes of the selected tables. Tables created afterwards in the same database will not be migrated.
645+
- If you click **Customize** and select some tables under a database name, the migration job will only migrate the existing data and migrate ongoing changes of the selected tables. Tables created afterwards in the same database will not be migrated.
643646

644647
2. Click **Next**.
645648

@@ -655,6 +658,24 @@ For more information about precheck items, see [Migration Task Precheck](https:/
655658

656659
If all check items show **Pass**, click **Next**.
657660

661+
<CustomContent plan="essential">
662+
663+
## Step 6: View the migration progress
664+
665+
After the migration job is created, you can view the migration progress on the **Migration Job Details** page. The migration progress is displayed in the **Stage and Status** area.
666+
667+
You can pause or delete a migration job when it is running.
668+
669+
If a migration job has failed, you can resume it after solving the problem.
670+
671+
You can delete a migration job in any status.
672+
673+
If you encounter any problems during the migration, see [Migration errors and solutions](/tidb-cloud/tidb-cloud-dm-precheck-and-troubleshooting.md#migration-errors-and-solutions).
674+
675+
</CustomContent>
676+
677+
<CustomContent plan="dedicated">
678+
658679
## Step 6: Choose a spec and start migration
659680

660681
On the **Choose a Spec and Start Migration** page, select an appropriate migration specification according to your performance requirements. For more information about the specifications, see [Specifications for Data Migration](/tidb-cloud/tidb-cloud-billing-dm.md#specifications-for-data-migration).
@@ -673,8 +694,6 @@ You can delete a migration job in any status.
673694

674695
If you encounter any problems during the migration, see [Migration errors and solutions](/tidb-cloud/tidb-cloud-dm-precheck-and-troubleshooting.md#migration-errors-and-solutions).
675696

676-
<CustomContent plan="dedicated">
677-
678697
## Scale a migration job specification
679698

680699
TiDB Cloud Dedicated supports scaling up or down a migration job specification to meet your performance and cost requirements in different scenarios.

tidb-cloud/migrate-incremental-data-from-mysql-using-data-migration.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ If the result is `ON` or `ON_PERMISSIVE`, the GTID mode is successfully enabled.
7272

7373
For more information, see [Parameters for GTID-based replication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-replication-gtid.html#mysql-replication-gtid.parameters).
7474

75-
<CustomContent plan="dedicated">
76-
7775
### For Google Cloud SQL for MySQL
7876

7977
The GTID mode is enabled for Google Cloud SQL for MySQL by default. You can check if the GTID mode has been successfully enabled by executing the following SQL statement:
@@ -96,7 +94,6 @@ SHOW VARIABLES LIKE 'binlog_row_image';
9694

9795
If the result is not `FULL`, you need to configure this parameter for your Azure Database for MySQL instance using the [Azure portal](https://portal.azure.com/) or [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/).
9896

99-
</CustomContent>
10097

10198
### For Alibaba Cloud RDS MySQL
10299

@@ -273,6 +270,24 @@ For more information about precheck items, see [Migration Task Precheck](https:/
273270

274271
If all check items show **Pass**, click **Next**.
275272

273+
<CustomContent plan="essential">
274+
275+
## Step 6: View the migration progress
276+
277+
After the migration job is created, you can view the migration progress on the **Migration Job Details** page. The migration progress is displayed in the **Stage and Status** area.
278+
279+
You can pause or delete a migration job when it is running.
280+
281+
If a migration job has failed, you can resume it after solving the problem.
282+
283+
You can delete a migration job in any status.
284+
285+
If you encounter any problems during the migration, see [Migration errors and solutions](/tidb-cloud/tidb-cloud-dm-precheck-and-troubleshooting.md#migration-errors-and-solutions).
286+
287+
</CustomContent>
288+
289+
<CustomContent plan="dedicated">
290+
276291
## Step 6: Choose a spec and start migration
277292

278293
On the **Choose a Spec and Start Migration** page, select an appropriate migration specification according to your performance requirements. For more information about the specifications, see [Specifications for Data Migration](/tidb-cloud/tidb-cloud-billing-dm.md#specifications-for-data-migration).

0 commit comments

Comments
 (0)