Category | Description |
Limits on the source database | Bandwidth requirements: The server to which the source database belongs must have sufficient outbound bandwidth. Otherwise, the data migration speed decreases. If the source database is an Oracle RAC database connected over Express Connect, you must specify a VIP for the database when you configure the source database. If the source database is an Oracle RAC database connected over Express Connect, VPN Gateway, Smart Access Gateway, Database Gateway, or Cloud Enterprise Network (CEN), you can use a single VIP rather than a Single Client Access Name (SCAN) IP address when you configure the source database. After you specify the VIP, node failover is not supported for the Oracle RAC database. If a field in the source Oracle database contains an empty string of the VARCHAR2 type, which is evaluated as null in the Oracle database, and the corresponding field in the destination database has a NOT NULL constraint, the migration task fails. Requirements for the objects to be migrated: The tables to be migrated must have PRIMARY KEY or UNIQUE constraints, and all fields must be unique. Otherwise, the destination database may contain duplicate data records. If the version of your Oracle database is 12c or later, the names of the tables to be migrated cannot exceed 30 bytes in length. If you select tables as the objects to be migrated and you need to modify the tables in the destination database, such as renaming tables or columns, up to 1,000 tables can be migrated in a single data migration task. If you run a task to migrate more than 1,000 tables, a request error occurs. In this case, we recommend that you configure multiple tasks to migrate the tables in batches, or configure a task to migrate the entire database.
To perform incremental migration, you must make sure that the following requirements are met: The redo logging and archive logging must be enabled. If you perform only incremental data migration, the redo logs and archive logs of the source database must be stored for more than 24 hours. If you perform both full data migration and incremental data migration, the redo logs and archive logs of the source database must be stored for at least seven days. After full data migration is complete, you can set the retention period to more than 24 hours. Otherwise, Data Transmission Service (DTS) may fail to obtain the redo logs and archive logs and the task may fail. In extreme cases, data inconsistency or loss may occur. Make sure that you set the retention period of redo logs and archive logs based on the preceding requirements. Otherwise, the Service Level Agreement (SLA) of DTS does not guarantee service reliability or performance.
Limits on operations to be performed on the source database: During schema migration and full data migration, do not perform DDL operations to change the schemas of databases or tables. Otherwise, the data migration task fails. If you perform only full data migration, do not write data to the source database during data migration. Otherwise, data inconsistency may occur between the source and destination databases. To ensure data consistency, we recommend that you select schema migration, full data migration, and incremental data migration as the migration types. During data migration, do not update LONGTEXT fields. Otherwise, the data migration task fails.
|
Other limits | Before you migrate data, evaluate the impact of data migration on the performance of the source and destination databases. We recommend that you migrate data during off-peak hours. During full data migration, DTS uses read and write resources of the source and destination databases. This may increase the loads of the database servers. During full data migration, concurrent INSERT operations cause fragmentation in the tables of the destination cluster. After full data migration is complete, the size of used tablespace of the destination cluster is larger than that of the source database. DTS attempts to resume the data migration task that failed within the last seven days. Before you switch workloads to the destination cluster, you must stop or release the failed tasks. You can also execute the REVOKE statement to revoke the write permissions from the accounts that are used by DTS to access the destination database. Otherwise, the data in the source database overwrites the data in the destination database after the data migration task is resumed. If DDL statements fail to be executed in the destination database, the DTS task continues to run. You can view the DDL statements that fail to be executed in task logs. For more information about how to view task logs, see View task logs. Make sure that the character sets of the source and destination databases are compatible. Otherwise, data inconsistency may occur or the migration task may fail. We recommend that you use the schema migration feature of DTS. Otherwise, the migration task may fail due to incompatible data types. The time zones of the source and destination databases must be the same.
|
Special cases | If the destination database runs on a PolarDB for MySQL cluster, take note of the following limits: Table names in the PolarDB for MySQL cluster are case-insensitive. If a table name in the source Oracle database contains uppercase letters, PolarDB for MySQL converts all uppercase letters to lowercase letters before a table is created. If the source Oracle database contains identical table names that differ only in capitalization, these table names are identified as duplicates. As a result, the "The object already exists" message may be displayed during schema migration. To prevent name conflicts in the destination database, you can use the object name mapping feature to capitalize the table names when you configure the objects to be migrated. For more information, see Object name mapping. DTS automatically creates a database in the PolarDB for MySQL cluster. However, if the name of the source database does not meet the requirements of PolarDB for MySQL, you must create a database in the PolarDB for MySQL cluster before you configure the data migration task. For more information, see Database management operations.
|