CDM supports table-to-table migration. This section describes how to use CDM to migrate data from Oracle to Data Warehouse Service (DWS). The procedure is as follows:
The key configurations are as follows:
If SSL encryption is configured for the access channel of a local data source, CDM cannot connect to the data source using the EIP.
Parameter |
Description |
Example Value |
---|---|---|
Name |
Enter a unique link name. |
oracle_link |
Database Server |
Database server domain name or IP address |
192.168.0.1 |
Port |
Oracle database port |
3306 |
Connection Type |
Type of the Oracle database link |
Service Name |
Database Name |
Name of the database to be connected |
db_user |
Username |
User who has the read permission of the Oracle database |
admin |
Password |
Password used for logging in to the Oracle database |
- |
Use Agent |
Whether to extract data from the data source through an agent |
Yes |
Agent |
Click Select and select the agent created in Connecting to an Agent. |
- |
Oracle Version |
The latest version is used by default. If the version is incompatible, select another version. |
Later than 12.1 |
Driver Version |
A driver version that adapts to the Oracle database |
- |
Fetch Size |
Number of rows obtained by each request |
1000 |
Link Attributes |
Custom attributes of the link |
useCompression=true |
Reference Sign |
Delimiter used to separate referenced table names or column names This parameter is left blank by default. |
' |
Parameter |
Description |
Example Value |
---|---|---|
Name |
Enter a unique link name. |
dwslink |
Database Server |
IP address or domain name of the DWS database |
192.168.0.3 |
Port |
DWS database port |
8000 |
Database Name |
Name of the DWS database |
db_demo |
Username |
User who has the read, write, and delete permissions on the DWS database |
dbadmin |
Password |
Password of the user |
- |
Use Agent |
Whether to extract data from the data source through an agent |
Yes |
Agent |
Click Select and select the agent created in Connecting to an Agent. |
- |
Import Mode |
COPY: Migrate the source data to the DWS management node and then copy the data to DataNodes. To access DWS through the Internet, select COPY. |
COPY |
On the Historical Record page, click Log to view the job logs.
If the migration times out because writing data to the destination costs a long time, reduce the value of the Fetch Size parameter.