/
Adding Tables Using the Silent Flag

Adding Tables Using the Silent Flag

Problem Description

This article explains how to Add/Prepare tables to replication using the silent Flag. This suppresses the header messages which might be unwanted when executed by a script or batch process.

Solution

Adding tables into an existing Replication can be performed using the 

  • -silent

 flag to suppress the display of header information. For example:

  1. On the Source Machine where Replicate console is running, navigate to the DDC directory:

    $cd /home/oracle/REPPOC
  2. Add table test.t2 using:

    $./start-console.sh --silent prepare table test.t2

When replicating multiple tables you can simplify the process by creating a bash script. For example test.sh:

#!/bin/bash cd /home/oracle/REPPOC ./start-console.sh --silent prepare table test.t2 ./start-console.sh --silent prepare table test.t3 ./start-console.sh --silent prepare table test.t4

Executing test.sh outputs the following:

Other ways to add tables to a Replication include:

Ankit Arora January 23, 2015 14:09

Related content

Adding a Table in Replication Using PREPARE AS OF SCN Command
Adding a Table in Replication Using PREPARE AS OF SCN Command
More like this
Exclude Tables with Setup Wizard or Remove Tables from Replication
Exclude Tables with Setup Wizard or Remove Tables from Replication
More like this
Adding new object from a given SCN
Adding new object from a given SCN
More like this
Adding new object from a given SCN
Adding new object from a given SCN
More like this
Step 3 - Specify Schemas and Tables
Step 3 - Specify Schemas and Tables
More like this
Step 3 - Specify Schemas and Tables
Step 3 - Specify Schemas and Tables
More like this