Table Mappings view
After defining a subscription in Management Console, you can use the Map Tables wizard to map source and target tables. Subscriptions can contain as many table mappings as necessary, and the number of table mappings you create depends on how many source tables you want CDC Replication to replicate to the target system. The table mappings that you create with the wizard are displayed in this view, and when you select a subscription with table mappings, the table mappings are loaded into the view.
Use the Table Mappings view to see a list of mapped source and target tables within a subscription. You can also view the mapping type, replication method, status, and prevent recursion parameter of each table mapping.
- View a list of mapped source and target tables within a subscription
- View a list of defined rule sets for use with DDL replication
- View the mapping type, replication method, status, and prevent recursion parameter of each table mapping
- Change the replication method of a table mapping
- Flag a source table for refresh before mirroring
- Mark a table capture point on a source table
- Park a table mapping from replication
- Change the refresh order on a table mapping
- Customize the kind of information you want to map to target columns in a subscription.
- Include or exclude rows or columns for replication.
- Add, modify, and delete a data translation.
- Specify how CDC Replication converts character sets on source and target columns during replication.
- Set how a target table responds to changes made on the source table.
- Control the truncation of the target table in response to a table-level clear or refresh operation so that all or some of the rows are preserved.
- Set member identifiers for multi-member source tables.
- Configure conflict detection and resolution.
- Configure user exits.
If you are mapping tables with both the source and target datastores of the CDC Replication Engine for Oracle databases version 6.5.1 or later, you are able to replicate DDL changes. The Table Mappings view will then have two displays: Direct Mappings and Rules. The Direct Mappings display will show the mappings created using the Map Tables wizard. The Rules display will show all rule sets defined for the selected subscription. For more information on replicating DDL changes and defining rule sets, see Replicating Data Definition Language (DDL) changes
At the bottom of the Table Mappings view, the Details area will display information about either the selected table mapping or selected rule. This information can be viewed by double-clicking on either the table mapping or the rule set name.
If a rule set has been selected, the Details area will display the details of the rule set.
If a table mapping has been selected, a number of tabs containing mapping information details are available. The specific tabs that are loaded for display will differ depending on which databases and which version of corresponding CDC Replication agents on the source and target systems for the selected table mapping. The following list contains descriptions for each of these tabs:
If you have been viewing multiple table mappings or rule sets, you can use the Recent Mappings list box to return to a previously selected item.
- Column Mappings
- Use this tab to perform the following tasks:
- Filtering
- Use this tab to perform the following tasks:
- Translation
- Use this tab in CDC Replication version 6.3, and earlier, to perform the following tasks:
- Encoding
- Use this tab in CDC Replication version 6.5, and later, to perform the following tasks:
- Conflicts
- Use this tab when you want CDC Replication to detect conflicts on target columns and resolve them:
- Operations
- Use this tab to specify the row-level or table-level operations you want CDC Replication to apply on a target table when there is a corresponding row-level or table-level operation on the source table.
- User Exits
- Use this tab when you want CDC Replication to detect conflicts on target columns and resolve them. You can perform the following tasks:
- Flat File
- Appears if you have an InfoSphere® DataStage® subscription that was created using the flat file method. It includes the following information:
- Direct Connect
- Appears if you have an InfoSphere DataStage subscription that was created using the direct connect method. It includes the following information:
- Cloudant
- Appears if you have a subscription containing table mappings for Cloudant®. It includes the following information:
- Web HDFS
- Appears if you have a subscription containing table mappings for Apache Hadoop using the Web HDFS. It includes the following information: