Step 3 - Replicated tables ======================================== The third step is to choose the schemas and tables to be replicated. If the databases are reachable, the tables are checked for existence, datatype support, etc., schemas are queried for tables. Note that all messages are merely hints/warnings and may be ignored if issues are rectified before the scripts are actually executed. Note the following assumptions are made in this wizard – which can be modified by editing the resulting script: 1. All replicated tables have a primary key defined. 2. All columns of the tables and all tables of the specified schemas are replicated, and if DDL support is enabled, whenever a new column/table is added, this should be replicate as well. 3. If an apply conflict arises, the default option is to try again repeatedly, until a different option is given or the underlying issue is resolved. 4. If an apply conflict arises, no more data will be replicated until the issue is resolved or ignored. You can also specify some advanced options: 1. Rename schemas or tables. 2. Specify filtering conditions. 3. (tables only) Configure Change Data Capture; this does not maintain a copy of the source table, but logs all operations instead. This is useful for ETL or as an audit trail. As this usually means adding new columns (timestamps, old/new values etc.) and starting with empty target tables, the best way for setup of target tables is to create or run DDL (instead of Data Pump). Following tables are defined for replication pairs: 1: orcl (Oracle) ==> test11202 (Oracle), DDL: yes, suffix: (no suffix), prepare: single-scn No tables defined. 2: test11202 (Oracle) ==> orcl (Oracle), DDL: yes, suffix: 1, prepare: single-scn No tables defined. Enter number of replication pair to modify it, or "done": [1] To replicate an entire schema (all tables), please enter the schemas to be replicated. Enter through a comma-delimited list, or enter one by one. Hit Enter when finished Enter the list of schemas: [] avi Enter the list of schemas: [] To replicate individual tables, please enter the table names. Do not enter tables in quotes (" "). Enter through a comma-delimited list, or enter one by one. Hit Enter when finished. Please use fully qualified names (ie owner.table_name). Enter the list of tables: [] scott.avi_objects Enter the list of tables: [] To replicate PL/SQL for schema(s), please enter the schemas to be replicated. Note that specifying any entry will cause additional privileges to be granted to dbvrep. Enter through a comma-delimited list, or enter one by one. Hit Enter when finished Enter the list of schemas: [] Specify rename name or filter condition for any of the specified schemas (yes/no): [no] Specify rename name, filter condition, CDC/Audit/ETL for any of the specified tables (yes/no): [no] Following tables are defined for replication pairs: 1: orcl (Oracle) ==> test11202 (Oracle), DDL: yes, suffix: (no suffix), prepare: single-scn AVI(tables), SCOTT.AVI_OBJECTS 2: test11202 (Oracle) ==> orcl (Oracle), DDL: yes, suffix: 1, prepare: single-scn No tables defined. Enter number of replication pair to modify it, or "done": [2] To replicate an entire schema (all tables), please enter the schemas to be replicated. Enter through a comma-delimited list, or enter one by one. Hit Enter when finished Enter the list of schemas: [] avi Enter the list of schemas: [] To replicate individual tables, please enter the table names. Do not enter tables in quotes (" "). Enter through a comma-delimited list, or enter one by one. Hit Enter when finished. Please use fully qualified names (ie owner.table_name). Enter the list of tables: [] scott.avi_objects Enter the list of tables: [] To replicate PL/SQL for schema(s), please enter the schemas to be replicated. Note that specifying any entry will cause additional privileges to be granted to dbvrep. Enter through a comma-delimited list, or enter one by one. Hit Enter when finished Enter the list of schemas: [] Specify rename name or filter condition for any of the specified schemas (yes/no): [no] Specify rename name, filter condition, CDC/Audit/ETL for any of the specified tables (yes/no): [no] Following tables are defined for replication pairs: 1: orcl (Oracle) ==> test11202 (Oracle), DDL: yes, suffix: (no suffix), prepare: single-scn AVI(tables), SCOTT.AVI_OBJECTS 2: test11202 (Oracle) ==> orcl (Oracle), DDL: yes, suffix: 1, prepare: single-scn AVI(tables), SCOTT.AVI_OBJECTS Enter number of replication pair to modify it, or "done": [done] |