You define a separate copy request for each of the distributions.
-
From the context menu of the Requests subbranch that you just defined, select New Request>Copy.
-
Specify a name for the request and accept the defaults for the rest of the fields on the Common tab of the Copy Request Properties dialog.
By accepting the defaults you indicate that you will send the data directly from source to target host using no special connection logon IDs.
For more information about any of these fields, select its editable area and click the F1-key for Help.
-
On the Copy tab of the Copy Request Properties dialog, you distinguish the two copy requests. For this example, you accept the defaults.
The table below describes the properties on the Copy Request Properties dialog for the Copy tab.
Property |
Description |
---|---|
Copy method |
Select Use load mode when possible (available for MS SQL Server, MySQL, Oracle, PostgreSQL and Teradata). This applies the database's fast load utility. See Fast Loader for more information. Note: When using the load option for a copy or Sync request, for any source control characters, Unicode characters in the range 0x0000 through and inclusive of 0x001F, in a CHAR or VARCHAR column, will be substituted with a space character when the data is applied to a Teradata target. |
Error mode |
This determines how the kernel handles errors when applying rows to a target server.
|
Commit cycle |
This determines how many row operations are applied at the target before a commit operation is performed. The default, Count, is to apply the number of rows you specify, commit the transaction, then repeat similar applies and commits until all the records are applied. Other options are:
|
Isolation level |
SQL transaction isolation level set at the source server. The exact set of options and the default may vary with the server DBMS. Example options are:
Rows being extracted cannot be updated by other concurrent transactions New rows that satisfy a search condition of the extraction cannot be added by other concurrent transaction |
Source locking |
Table locking approach used at the source during the copying. The default, By individual table, is to access and lock, one at a time, the source tables selected for copying in this request; and to commit and unlock the table after it is processed. The other option is:
|
Source table retrieval order is important |
Whether any referential integrity constraints on your source tables require them to be arranged and copied in parent-before-child order. The default option No, retrieve in any order specifies that the tables you are copying do not have referential integrity constraints. The other option is Yes, which retrieves in order of mappings indicates Source table retrieval order is important. Select this option if the tables you are copying have referential integrity constraints. In this case, parent tables must be copied before their child tables. To do this, map the parent tables before you map the child tables, because tables are copied in the order (top-to-bottom) in which their target table mappings appear in the Mappings branch of the distribution that contains the copy request. By default, this order is the time sequential order in which the table mappings are defined. Instead of being concerned with the order in which mappings are defined, you can rearrange the order in the target table mapping list by using your mouse to select, drag, and drop individual mappings. Note that this drag and drop functionality is enabled only if this copy request option (Yes, retrieve in order of mappings) has been selected. Additional options for ensuring that parent tables are copied before their child tables include using views of the source tables, or grouping parent and child tables in different copy requests and first executing the request to copy parent tables. If you arrange your tables in parent-before-child order, and you select Delete on target, refresh for Target apply mode on this tab, the target rows are deleted in child-before-parent order to preserve referential integrity. |
Target apply mode |
Defines how the kernel handles the existing target table data when applying the source rows.
To accommodate the requirement to preserve the existing target column values for the columns that are not being copied from the source, the second distribution in the example is moved by a copy request using the Target correct, merge apply mode. Use this option when columns from more than one source table are being copied to the same target table. |