For transactions against a table to be replicated, the primary table in the primary database must be marked for replication, and replication must be enabled for that table.
pdb_setreptable pdb_table
where pdb_table is the name of the primary database table
that you want to mark for replication.If pdb_setreptable returns information that the specified table is marked and replication is enabled, you need not continue this procedure.
If pdb_setreptable returns information that the specified table is marked but replication is disabled, skip step 3 and go to step 4 to enable replication for the table.
If pdb_setreptable returns information that the specified table is not marked, continue this procedure to mark the table for replication.
pdb_setreptable pdb_table, mark
pdb_setreptable pdb_table, mark, ownerwhere pdb_table is the name of the table in the primary database that you want to mark for replication.
If pdb_dflt_object_repl is set to true (the default), the table marked for replication with pdb_setreptable is ready for replication after you invoke pdb_setreptable successfully, and you can skip step 4 in this procedure.
If pdb_dflt_object_repl is false, you must enable replication for the table before replication can take place.
pdb_setreptable pdb_table, enable
pdb_setreptable all, {mark|enable}
where mark or enable are the keywords identifying the action to take against all user tables in the database.