Chat now with support
Chat with Support

SharePlex 9.0.1 - Administration Guide

About this Guide Conventions used in this guide Overview of SharePlex Run SharePlex Run multiple instances of SharePlex Execute commands in sp_ctrl Set SharePlex parameters Configure SharePlex to replicate data Configure replication to and from a container database Configure named queues Configure partitioned replication Configure SharePlex to maintain a change history target Configure a replication strategy Configure SharePlex to replicate Oracle DDL Set up error handling Transform data Configure SharePlex security features Activate replication in your production environment Monitor SharePlex Prevent and solve replication problems Repair out-of-sync Data Procedures to maintain Oracle high availability Make changes to an active replication environment Apply an Oracle application patch or upgrade Back up Oracle data on the source or target Tune the Capture process Tune the Post process Appendix A: Peer-To-Peer Diagram Appendix B: SharePlex environment variables

show capture

Use the show capture command to view statistics for the Capture process.

Basic Command

The basic show capture command shows an overview of the process, such as the data source, whether the process is running or stopped, and other basic information.

Detailed statistics

To view detailed statistics for the Capture process, use the show capture command with the [detail] option. That option shows detailed statistics that can help you assess the performance of the process, decide whether tuning parameters need to be adjusted, and detect problems or bottlenecks.

Detailed statistics for Oracle Capture

Statistic Description
Host The name of the local machine (source system).
System time The current time according to the system clock.
Source The name of the source Oracle instance.
Status

The status of the Capture process (running or stopped).

Since The time that Capture started.
Oracle current redo log The sequence number of the redo log to which Oracle is writing.
Capture current redo log The sequence number of the redo log that Capture is reading.
Capture log offset The location in the redo log of the record being processed by Capture.
Last redo record processed The record being processed by Capture or the last one processed if Capture is not currently replicating data.
Capture state

The state of the process, in relation to the replication work it performs: It can be one of the following:

  • INITIALIZING: Capture is starting up.
  • WAITING: Capture is reading the redo log and waiting for records that need to be replicated.
  • WAITING FOR LOGFILE: Capture is configured to wait and then try again if it cannot access the required log.
  • PROCESSING: Capture is processing a redo log record for replication.
  • STOPPED DUE TO MISSING ARCHIVE LOG: Capture is configured to stop when it cannot access the log that it needs.
Activation ID The internal identifying number of the configuration activation, which identifies the associated processes and queues.
Error count The number of records that were skipped due to Oracle errors since Capture started. Data from skipped records is not reflected in the target database.
Operations captured The number of redo records that Capture successfully processed for replication since it started.
Transactions captured The number of committed Oracle transactions whose operations Capture successfully replicated since it started.
Concurrent sessions The number of Oracle sessions being processed at the same time.
HWM concurrent sessions The largest number of concurrent Oracle sessions since Capture started.
Checkpoints performed The number of checkpoints to save the state of Capture since Capture started. Frequent checkpointing generates additional overhead on the system, but infrequent checkpoints cause SharePlex to recover less quickly from a system or instance failure. By default, Capture checkpoints every 20,000 seconds, but it can be adjusted with the SP_OCT_CHECKPOINT_FREQ parameter.
Total operations processed The number of all Oracle operations and SharePlex internal operations processed by Capture since it started, including records captured for replication and records for objects not in the configuration.
Total transactions completed

The number of committed Oracle transactions processed by Capture since it started, including transactions captured for replication and transactions for objects not in the replication configuration.

Total Kbytes read The size in kilobytes of the data that was processed by Capture since it started.
Redo records in progress The number of records that Capture is processing.
Redo records processed The total number of redo records processed.
Redo records ignored The number of records that Capture ignored because they are not associated with objects in the configuration.
Redo records - last HRID The head row ID value for the last chained row processed by Capture.

Note: The show capture detail output for RAC systems will vary slightly from what is described here. The information is essentially the same, but is necessarily presented differently.

Detailed statistics for SQL Server Capture

Statistic Description
Host The name of the local machine (source system).
System time The current time according to the system clock.
Source The name of the source SQL Server database.
Status

The status of the Capture process (running or stopped).

Operations captured The number of operations that Capture sent to the Read process.
Since The time that Capture started.
Last change processed The record being processed by Capture or the last one processed if Capture is not currently replicating data.
Capture state

The state of the process, in relation to the replication work it performs: It can be one of the following:

  • INITIALIZING: Capture is starting up.
  • WAITING: Capture is reading the transaction data and waiting for change records that need to be replicated.
  • PROCESSING: Capture is processing a change record for replication.
  • STOPPED: Capture is configured to stop when it cannot access the change record that it needs.
Activation ID The internal identifying number of the configuration activation, which identifies the associated processes and queues.
Operations captured The number of change records that Capture successfully processed for replication since it started.
Transactions captured The number of committed transactions whose operations Capture successfully replicated since it started.
Checkpoints performed The number of checkpoints to save the state of Capture since Capture started. Frequent checkpointing generates additional overhead on the system, but infrequent checkpoints cause SharePlex to recover less quickly from a system or instance failure. By default, Capture checkpoints every 20,000 seconds, but it can be adjusted with the SP_OCT_CHECKPOINT_FREQ parameter.

Usage

Supported sources: Oracle and SQL Server
Supported targets: All
Authorization level: Viewer (3)
Issued for: source system
Related commands: show export, show import, show post, show read
Syntax
Basic command Command options Remote options
show capture

[detail] [for datasource]

[ on host |

on host:portnumber |

on login/password@host |

on login/password@host:portnumber ]

Syntax description

Component Description
show capture
  • Shows the state of the Capture process and a summary of the operations captured.
  • detail

    Shows detailed statistics that can help you tune Capture’s performance and diagnose problems.

    Example:

    sp_ctrl(sysA)> show capture detail

    for datasource

    This option shows Capture statistics only for a specific datasource.

    datasource is expressed as o.SID or r.database, where SID is an ORACLE_SID or database is the name of a SQL Server database.

    Examples:

    sp_ctrl(sysA)> show capture for o.oraA

    sp_ctrl(sysA)> show capture for r.mssdb

    Remote options

    These options enable you to issue the command on a remote machine and to script commands that include a login name, password, port number, or combination of those items.

    Option Description
    on host

    Execute the command on a remote system (one other than the one where the current sp_ctrl session is running). You are prompted for login credentials for the remote system. If used, must be the last component of the command syntax.

    Example: sp_ctrl(sysB)>status on SysA

    on host:portnumber

    Execute the command on a remote system when a remote login and port number must be provided. If used, must be the last component of the command syntax.

    Example: sp_ctrl(sysB)>status on SysA:8304

    on login/password@host

    Execute the command on a remote system when a remote login, password, and host name must be provided. If used, must be the last component of the command syntax.

    Example: sp_ctrl(sysB)>status on john/spot5489@SysA

    on login/password@host:portnumber

    Execute the command on a remote system when a remote login, password, host name, and port number must be provided. If used, must be the last component of the command syntax.

    Example: sp_ctrl(sysB)>status on john/spot5489@SysA:8304

    Related Documents

    The document was helpful.

    Select Rating

    I easily found the information I needed.

    Select Rating