Skip to end of metadata
Go to start of metadata

The query corresponding to each monitoring element to check the replication information is as follows.

Replication Sender Information

This shows information about the replication sender threads.

  • Main Column Description
ColumnDescription
REP_NAMEThe name of the replication object
REMOTE_IPThe IP address of the remote server to be replicated
REMOTE_REP_PORTThe replication port number of the remote server that is the replication target is determined by the properties of the remote server
STATUSSender's current status is 1 to be normal. STOP (0), RUN (1), RETRY (2)
REPL_MODESender's current replication mode
NETWORKWhether there is a network error. OK (0), ERROR (1)
XSNThe SN (Serial Number / Redo Log Serial Number) that the sender last sent, which is the same as REP_SN in v $ repgap.

Replication Receiver Information

This shows information about the replication receiver threads.

  • Main Column Description

ColumnDescription
REMOTE_IPThe IP address of the remote server that is the replication target
REMOTE_REP_PORTThe port number to which the sender of the remote server, which is the subject of Replication. Because it is not specifically set, it is different from time to time.
APPLY_XSNThe SN of the remote server that the receiver is currently reflecting

Replication Gap

This checks the replication gap information.

  • Main Column Description

 

ColumnDescription
REP_SNThe last SN sent by the sender, same as XSN of v$repsender
REP_LAST_SNThe SN most recently logged by the local server transaction
REP_GAPThe degree of asynchronousness at intervals between REP_LAST_SN and REP_SN. (Ie, REP_LAST_SN - REP_SN)
READ_FILE_NOThe redo log file number that sender last accessed for replication is not updated when reading the redo log buffer for replication in memory, so the old redo log file number may appear even if there is no replication gap. Therefore, the value of this column is meaningful only when there is a replication gap.
START_FLAGThe driving state of replication is generally 0. 
NORMAL (0), QUICK (1), SYNC (2), SYNC_ONLY (3), SYNC RUN (4), SYNC END (5), RECOVERY (6), OFFLINE (7)

Overall Status of Replication

  • Main Column Description

ColumnDescription
RESTART_XSNThe SN reflected by the remote server, which is the target of replication, means the retransmission starting point when replication is restarted
SENDERWhether the sender works
RECEIVERWhether the receiver works

Measure of Accumulated Redo Log Files due to failure to perform Replication

  • Main Column Description

ColumnDescription
LOGFILE_FOR_REPWhen the sender is reading a replication-only redo log buffer, it represents a percentage of "logs to be transferred from a replication-only redo log buffer" and when the sender is reading the redo log file directly, it represents "number of redo log files to be replicated". (MB conversion is possible indirectly depending on the application.)
If this value appears only as a percentage, it can be a good thing because the replication is performed only in the redo log buffer for replication (When transmitting very quickly, negative numbers may com out instantaneously, but this can be ignored).
 
However, if the number of redo log files is frequently monitored, increase the size of the redo log buffer dedicated to replication defined by the property REPLICATION_LOG_BUFFER_SIZE to the default value of 30 or more. Or the REPLICATION_PREFETCH_LOGFILE_COUNT property - which means the number of redo log files to be cached in memory for the sender - should be increased in advance.

List of Tables to be Replicated

This shows the table listed in the replicated object.

  • Main Column Description

ColumnDescription
LOCAL_TBLThis is output in the form of 'username.tablename' as the target table of replication of the local server.
REMOTE_TBLThis is output in the form of 'username.tablename' as the target table of replication of the remote server.

 

 

  • No labels