ra_add_table

Adds a table for replication with materialization options.

Syntax

ra_add_table modelName, primaryTable, replicateTable, 
create=[true|false], 
replace=[true|false], 
materialize=[true|false], 
deferReplication=[true|false]

Parameters

Examples

Usage

  • Set the materialize parameter to populate the replicate table from the primary table before beginning trigger-based replication.

    Note: In the CDC strategy, the materialize parameter populates the replicated CDC tables.
  • Use a wildcard to specify table names. For example, you can use an asterisk (*) to specify “TABLE_PREFIX*”, which includes all tables that start with TABLE_PREFIX for replication. If you use the wildcard, the replicateTable parameter must be set to “*”.