You can view the commands that the replication server sends to the replicate
database using the DSI buffer dump trace flags.
If the replicate database is an SAP database such as ASE, IQ, or uses an ECDA
gateway, use the
DSI_BUF_DUMP trace
flag:
trace "on", dsi, dsi_buf_dump go
If the replicate database uses an ExpressConnect for communication, use:
alter connection to replicate_data_server.replicate database set trace to 'econn,dsi_buf_dump,on' go
Note: Both
traces write their output to the Replication Server error
log.
If the DSI is down due to any error, you must resume the DSI for the traces
to produce output.
Note: The traces only work while the DSI thread is
up.
If the DSI fails to run the reason for the DSI error must be resolved before
additional data can be sent to the replicate database.
If the DSI remains active, create new transaction activity in the primary
database. Later, if the transactions appear in the trace output, the
commands are being delivered to the replicate database as expected.
If the commands do not appear, there is a problem earlier in the replication
path of the environment.
Note: You can use the DSI_BUF_DUMP trace
flag with any Replication Server. By contrast, the similar DSI_CMD_DUMP trace
flag is available only with the diagnostic version of Replication
Server. See the Replication Server Troubleshooting
Guide for more information about Replication Server trace flags.