Verifying that a Primary Database Object Is Marked for Replication

In a Sybase transaction replication system, both Replication Agent and Replication Server allow you to select the objects that you want to replicate. You do not need to replicate all objects or all data-changing operations in the primary database.

If a primary database object (such as a table or stored procedure) is not replicating, verify the object that you intended to replicate is marked.

  1. Log in to the Replication Agent instance with the administrator login.
  2. Determine if the object is already marked:
    • For a table:

      pdb_setreptable pdb_table

      where pdb_table is the name of the primary database table that you want to verify is marked for replication.

    • For a LOB column:

      pdb_setrepcol pdb_table, pdb_col
      • where pdb_table is the marked table that contains the LOB column.

      • where pdb_col is the LOB column.

    • For a stored procedure:

      pdb_setrepproc pdb_proc

      where pdb_proc is the name of the stored procedure in the primary database that you want to verify is marked for replication.

    • For DDL:

      pdb_setrepddl object

      where object is a table, procedure, or sequence name. See the Replication Agent Reference Manual for details on using the pdb_setrepddl command.

    • For sequences:

      pdb_setrepseq pdb_seq

      where pdb_seq is the name of the sequence that you want to verify is marked for replication.

Related concepts
Replication Agent Instance Availability Monitoring
Primary Database Log Access
Replication Agent Logs
Available Memory
Skipped DDL Commands
JVM Thread Dump
Enabling and Disabling Replication for LOB Columns
Marking and Unmarking Stored Procedures
Enabling and Disabling DDL Replication
Marking and Unmarking Oracle Sequences
Related tasks
Checking the Current Replication Agent Status
Using ra_statistics to Check Replication Agent Operations and Performance
Debugging LTL
Marking a Table in the Primary Database for Replication