Retrieves a set of tickets from the rms_ticket_history table for the heartbeat process and date and time range specified. The ticket output includes a set of date and time fields for each step in the replication process. The date and time are synchronized to the replicate data server system time.
get heartbeat tickets from pds.pdb to rds.rdb [start date time] [end date time] [last num_tickets]
get heartbeat tickets from inventory_pds.vendor to inventory_dss.vendor
get heartbeat tickets from inventory_pds.vendor to inventory_dss.vendor start Oct 29, 2005 12:00am end Nov 3, 2005 12:00am
get heartbeat tickets from inventory_pds.vendor to inventory_dss.vendor start 10/29 1:30pm
get heartbeat tickets from inventory_pds.vendor to inventory_dss.vendor last 500
The start and end parameters support multiple date and time formats; for example, you can enter the date in the format MM/DD/YYYY (such as 10/29/2005), or in the format MMM DD, YYYY (such as Oct 29, 2005). The time fields support an entry without seconds or milliseconds, as well as localized date and time formats.
All dates in the result set are synchronized to the replicate data server system time. Before the result set is generated, the RMS retrieves the date and time from the data servers and Replication Servers, and adjusts the time by the difference between the server’s time and the RMS system’s time.
The get heartbeat tickets command returns the following result set:
Column |
Type |
Description |
---|---|---|
Primary |
varchar |
The name of the primary data server and database. |
Replicate |
varchar |
The name of the replicate data server and database. |
PDB |
datetime |
The time that the rs_ticket stored procedure was executed at the primary database. |
EXEC |
datetime |
The time the ticket passed through the primary Replication Server executor thread. |
Bytes |
int |
Total bytes the executor thread received from the RepAgent or Replication Agent. |
DIST |
datetime |
The time the ticket passed through the primary Replication Server distributor thread. |
DSI |
datetime |
The time the ticket passed through the replicate Replication Server DSI thread. |
RDB |
datetime |
The time the ticket arrived at the replicate data server. The result set is sorted by the RDB field. |