Using Heartbeat Tables to Determine the Latency of Change Data Flow

Using Heartbeat Tables to Determine the Latency of Change Data Flow

Analyzing Session Information in the Target Heartbeat Table

Analyzing Session Information in the Target Heartbeat Table

After you start a real-time CDC session that uses the heartbeat tables, the session writes a row of time stamp information to the PM_TGT_HEARTBEAT table each time the SRC_TSTAMP column in the PM_SRC_HEARTBEAT table is updated. You determine the frequency of the source updates.
If you configured multiple CDC sessions to include the heartbeat tables, the PM_TGT_HEARTBEAT table contains a session-specific row for each source update. You can query on a session name to find all rows for a particular session.
To monitor session performance or to troubleshoot suspected data latency issues, compare the time stamp values in a row for a session. Calculate the time difference between two different time stamps to determine the time delays during different processing phases. The following table describes what you can determine by comparing columns and calculating the difference between their time stamps:
Compare Columns
To Determine
SRC_TSTAMP and TGT_TSTAMP
The total time that the PowerCenter CDC session took to propagate an update end-to-end. Use this time interval as an indication of overall session performance for an update.
SRC_TSTAMP and CAPX_TSTAMP
The date and time when an update was written to the PM_SRC_HEARTBEAT table. These time stamps should be the same or nearly the same. If they are different, a PowerExchange change capture problem might exist.
CAPX_TSTAMP and MAP_TSTAMP
The time that the PowerCenter CDC session took to process an update to the PM_SRC_HEARTBEAT table. A large time interval might indicate a problem in either PowerExchange or the PowerCenter CDC session and workflow.
MAP_TSTAMP and TGT_TSTAMP
The time that the PowerCenter CDC session took to process and insert the change into the PM_TGT_HEARTBEAT table. A large time interval might indicate a delay in workflow processing.

0 COMMENTS

We’d like to hear from you!