Replication Agent objects

When you initialize Replication Agent using pdb_xlog init it creates objects that support replication in the primary database. For details, see the Replication Agent Primary Database Guide.

Java procedure objects

Replication Agent for UDB installs SYBRAUJAR.jar and SYBTRUNCJAR.jar into the following directories:

These Jar files implement several Java procedures in the UDB primary database. Table 4-1 lists the Java procedures that are created during the Replication Agent initialization and used in log truncation.

Table 4-1: Java procedures for truncation

Procedure

Database name

Retrieves the name of the log file that contains the current LSN

prefixget_log_name_

Retrieves the version of the get_log_name Java class

prefixget_version_str_

Truncates the database log file or files from the archive log directory

prefixtrunc_log_files_

Retrieves the version of the trunc_log_files Java class

prefixget_trunc_ver_str_

Getting actual names of the Replication objects

The Replication Agent instance generates the names of its database objects. To find the names of the Replication Agent objects, at the Replication Agent administration port, invoke the pdb_xlog command with no keywords:

pdb_xlog

The pdb_xlog command returns a list of objects created by the Replication Agent in the primary database.