This table lists the commands that Replication Agent supports. The Target column indicates when the command is used for “All” targets or specific targets: Oracle, Microsoft SQL Server (MSSQL), or IBM DB2 (UDB).
Command Name |
Target |
Description |
---|---|---|
All |
Returns the path to the Replication Agent system log file. |
|
Oracle |
Returns or sets the system change number (SCN), indicating the point at which the primary database was last dumped. |
|
All |
Returns a list of Replication Agent capabilities. |
|
All |
Returns the current date and time from the primary data server. |
|
All |
Executes the specified SQL statement in the current database. |
|
All |
Returns the current value of the database generation ID; updates the value of the database generation ID. |
|
All |
Returns a list of all the columns in the specified table. |
|
All |
Returns a list of all the databases in the primary data server. |
|
All |
Returns a list of all the columns that make up the primary keys in the specified table. |
|
Oracle MSSQL |
Returns a list of the properties for the specified procedure. |
|
Oracle MSSQL |
Returns a list of all the procedures in the specified database. |
|
All |
Returns the name of the database specified for SQL statement execution. |
|
All |
Returns a list of all the tables in the specified database. |
|
Oracle MSSQL |
Returns a list of owners whose objects will be filtered for initialization; adds or removes owners to or from the list. |
|
Oracle |
Returns and modifies a list of database users whose primary database user names will be replaced with the corresponding operating system user name in LTL sent to Replication Server®. |
|
All |
Specifies the database to be used for SQL statement execution. |
|
All |
Returns replication marking status; enables or disables replication for all marked columns or a specified column. |
|
Oracle MSSQL |
Returns DDL replication status; enables or disables replication for DDL statements. |
|
Oracle MSSQL |
Changes and reports stored procedure marking status. |
|
Oracle |
Changes and reports sequence replication marking status. |
|
All |
Changes and reports table replication marking status. |
|
All |
Returns, adds, or removes record identifiers from a list of records to skip in processing. |
|
Oracle |
Filters all activity on an Oracle instance redo log thread or threads during replication, and displays a list of threads being filtered. |
|
All |
Truncates the Replication Agent primary database transaction log. |
|
All |
Returns the type and version of the primary data server. |
|
All |
Returns names of transaction log objects; creates Replication Agent system objects in the primary database; removes Replication Agent system objects from the primary database. |
|
All |
Stops current Log Reader activity after all data remaining in the transaction log and Replication Agent internal queues is processed and puts Replication Agent in Admin state. |
|
All |
Returns the names of Replication Agent system objects; creates Replication Agent system objects in the primary database; or removes Replication Agent system objects from the primary database. |
|
All |
Returns help information for configuration parameters; sets the value of a configuration parameter. |
|
All |
Returns the current date and time from the Replication Agent server. |
|
MSSQL |
Changes the raw disk device read offset for a log device recorded in the Replication Agent System Database (RASD). |
|
MSSQL |
Changes the disk device path for a log device recorded in the RASD. |
|
All |
Prepares Replication Agent to downgrade to an earlier version. |
|
All |
Completes the version downgrade process initiated by the instance from which Replication Agent is being downgraded. |
|
All |
Prepares Replication Agent for a version downgrade. |
|
All |
Records a dump marker in the primary database transaction log. |
|
Oracle |
Returns information for use in troubleshooting a specific database transaction. |
|
All |
Returns help information for Replication Agent commands. |
|
Oracle |
Displays a list of metadata for all managed archive logs, for a specific redo log thread, or for archive logs for a specific redo log thread. |
|
All |
Returns information about articles from the RASD. |
|
Oracle MSSQL |
Returns information about the primary database from the RASD. |
|
Oracle MSSQL |
Returns information about primary database log devices from the RASD. |
|
MSSQL |
Returns device offset information about primary database log devices from the RASD log device repository. |
|
All |
Returns information about fields (columns in tables, or input parameters in stored procedures) from the RASD. |
|
All |
Returns LTM locator field values. |
|
All |
Returns information for use in troubleshooting a specific database transaction log operation. |
|
Oracle |
Returns a list of all open transactions. |
|
Oracle MSSQL |
Returns information about primary database users from the RASD. |
|
All |
Returns license information for Replication Agent and its licensed features. |
|
All |
Returns and changes the current value of the LTM Locator stored by Replication Agent. |
|
All |
Returns the maintenance user for the Replication Agent connection. |
|
All |
Records a marker in the primary database transaction log. |
|
All |
Performs any necessary migration and downgrade tasks between releases of Replication Agent. |
|
Oracle |
Removes the first open transaction from the list of open transactions. |
|
All |
Enables or disables autocorrection for marked tables. |
|
All |
Sets the Replication Agent admin user login and password. |
|
All |
Returns statistics for either a specified Replication Agent component or all components, and resets statistics for all components. |
|
All |
Starts and stops the statistics tracking thread. |
|
All |
Adds or removes a group of statistics from the tracking list, replaces the tracking list, and displays a list of statistics currently being tracked. |
|
All |
Returns the current Replication Agent state. |
|
All |
Truncates older versions of primary database articles in the system data repository in the RASD. |
|
Oracle |
Truncates old lists of DDL commands that are filtered in the RASD. |
|
Oracle MSSQL |
Truncates older versions of primary database users in the system data repository in the RASD. |
|
Oracle MSSQL |
Updates the log device repository in the RASD. |
|
Oracle |
Reloads user information from the primary database to the RASD. |
|
All |
Returns the Replication Agent version. |
|
All |
Returns Replication Agent, primary data server, Replication Server, and communications driver versions. |
|
Oracle MSSQL |
Backs up the Replication Agent System Database (RASD). |
|
Oracle MSSQL |
Displays a list of RASD backups. |
|
Oracle MSSQL |
Removes RASD backups. |
|
Oracle MSSQL |
Restores the Replication Agent System Database (RASD). |
|
Oracle MSSQL |
Returns a list of the repository truncation weekly schedule; also adds or removes a specific schedule. |
|
All |
Starts replication for the current active log and puts Replication Agent in Replicating state. |
|
Oracle MSSQL |
Creates a replication definition at Replication Server for a marked table and procedure, or for all marked tables and procedures. |
|
Oracle MSSQL |
A replication definition at the configured Replication Server for a table and procedure is dropped. |
|
All |
Supports Replication Server rs_ticket processing by placing an rs_ticket marker in the primary database transaction log. |
|
MSSQL |
Creates or removes Replication Agent system objects in the Microsoft SQL Server system resource database. This command is used for first-time initialization of Replication Agent for Microsoft SQL Server and should be run before pdb_xlog init. |
|
All |
Shuts down Replication Agent. |
|
All |
Immediately stops all Log Reader activity, drops connections, and puts Replication Agent in Admin state. |
|
All |
Tests Replication Agent connectivity. |
|
All |
Returns current trace flag settings; changes a specified trace flag. |