Skip to content

Commit c85d807

Browse files
Merge pull request #257599 from aditivgupta/DDL
changes
2 parents 097cb21 + 52542df commit c85d807

3 files changed

+29
-3
lines changed

articles/dms/concepts-migrate-azure-mysql-replicate-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To complete the replicate changes migration successfully, ensure that the follow
5151

5252
- When performing a replicate changes migration, the name of the database on the target server must be the same as the name on the source server.
5353
- Support is limited to the ROW binlog format.
54-
- DDL changes replication is supported only when you have selected the option for migrating entire server on DMS UI.
54+
- DDL changes replication is supported only when migrating to a v8.0 Azure Database for MySQL Flexible Server target server and when you have selected the option for **Replicate data definition and administration statements for selected objects** on DMS UI. The replication feature supports replicating data definition and administration statements that occur after the initial load and are logged in the binary log to the target.
5555
- Renaming databases or tables is not supported when replicating changes.
5656

5757
## Next steps

articles/dms/tutorial-mysql-azure-external-to-flex-online-portal.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,20 @@ As you prepare for the migration, be sure to consider the following limitations.
6464
* Currently, DMS doesn't support migrating the DEFINER clause for objects. All object types with definers on the source are dropped and after the migration, the default definer for all objects that support a definer clause and that are created during schema migration, will be set to the login used to run the migration.
6565
* Currently, DMS only supports migrating a schema as part of data movement. If nothing is selected for data movement, the schema migration won't occur. Note that selecting a table for schema migration also selects it for data movement.
6666
* Online migration support is limited to the ROW binlog format.
67-
* Online migration only replicates DML changes; replicating DDL changes isn't supported. Don't make any schema changes to the source while replication is in progress, if DMS detects DDL while replicating, it will generate a warning that can be viewed in the Azure portal.
67+
* Online migration now supports DDL statement replication when migrating to a v8.0 Azure Database for MySQL Flexible Server target server. For target server engine version v5.x, DDL statement replication is not supported currently.
68+
* Statement replication is supported for databases, tables, and schema objects (views, routines, triggers) selected for schema migration when configuring an Azure DMS migration activity. Data definition and administration statements for databases, tables, and schema objects that aren’t selected won’t be replicated. Selecting an entire server for migration will replicate statements for any tables, databases, and schema objects that are created on the source server after the initial load has completed.
69+
* Azure DMS statement replication supports all of the Data Definition statements listed [here](https://dev.mysql.com/doc/refman/8.0/en/sql-data-definition-statements.html), with the exception of the following commands:
70+
• LOGFILE GROUP statements
71+
• SERVER statements
72+
• SPATIAL REFERENCE SYSTEM statements
73+
• TABLESPACE statements
74+
* Azure DMS statement replication supports all of the Data Administration – Account Management statements listed [here](https://dev.mysql.com/doc/refman/8.0/en/account-management-statements.html), with the exception of the following commands:
75+
* SET DEFAULT ROLE
76+
* SET PASSWORD
77+
* Azure DMS statement replication supports all of the Data Administration – Table Maintenance statements listed [here](https://dev.mysql.com/doc/refman/8.0/en/table-maintenance-statements.html), with the exception of the following commands:
78+
* REPAIR TABLE
79+
* ANALYZE TABLE
80+
* CHECKSUM TABLE
6881

6982
## Best practices for creating a flexible server for faster data loads using DMS
7083

articles/dms/tutorial-mysql-azure-single-to-flex-online-portal.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,20 @@ As you prepare for the migration, be sure to consider the following limitations.
6565
* Currently, DMS doesn't support migrating the DEFINER clause for objects. All object types with definers on the source are dropped and after the migration, the default definer for all objects that support a definer clause and that are created during schema migration, will be set to the login used to run the migration.
6666
* Currently, DMS only supports migrating a schema as part of data movement. If nothing is selected for data movement, the schema migration won't occur. Note that selecting a table for schema migration also selects it for data movement.
6767
* Online migration support is limited to the ROW binlog format.
68-
* Online migration only replicates DML changes; replicating DDL changes isn't supported. Don't make any schema changes to the source while replication is in progress, if DMS detects DDL while replicating, it will generate a warning that can be viewed in the Azure portal.
68+
* Online migration now supports DDL statement replication when migrating to a v8.0 Azure Database for MySQL Flexible Server target server. For target server engine version v5.x, DDL statement replication is not supported currently.
69+
* Statement replication is supported for databases, tables, and schema objects (views, routines, triggers) selected for schema migration when configuring an Azure DMS migration activity. Data definition and administration statements for databases, tables, and schema objects that aren’t selected won’t be replicated. Selecting an entire server for migration will replicate statements for any tables, databases, and schema objects that are created on the source server after the initial load has completed.
70+
* Azure DMS statement replication supports all of the Data Definition statements listed [here](https://dev.mysql.com/doc/refman/8.0/en/sql-data-definition-statements.html), with the exception of the following commands:
71+
• LOGFILE GROUP statements
72+
• SERVER statements
73+
• SPATIAL REFERENCE SYSTEM statements
74+
• TABLESPACE statements
75+
* Azure DMS statement replication supports all of the Data Administration – Account Management statements listed [here](https://dev.mysql.com/doc/refman/8.0/en/account-management-statements.html), with the exception of the following commands:
76+
* SET DEFAULT ROLE
77+
* SET PASSWORD
78+
* Azure DMS statement replication supports all of the Data Administration – Table Maintenance statements listed [here](https://dev.mysql.com/doc/refman/8.0/en/table-maintenance-statements.html), with the exception of the following commands:
79+
* REPAIR TABLE
80+
* ANALYZE TABLE
81+
* CHECKSUM TABLE
6982

7083
## Best practices for creating a flexible server for faster data loads using DMS
7184

0 commit comments

Comments
 (0)