rs_ticket

Description

A stored procedure in the primary database that works with replicate database stored procedure rs_ticket_report to measure the amount of time it takes for a command to move from the primary database to the replicate database. You can use this information to monitor Replication Server performance, module heartbeat, replication health and table-level quiesce.

Syntax

rs_ticket h1 [, h2 [, h3 [, h4]]]

Parameters

h1 [, h2 [, h3 [, h4]]]

Short varchar strings. Header information.

Examples

Example 1

Executes rs_ticket at regular intervals:

Exec rs_ticket 'heartbeat'

Example 2

To measure performance, execute the following from the primary database:

Exec rs_ticket 'start'
Execute replication benchmarks
Exec rs_ticket 'stop'

Usage

See also

rs_ticket_report stored procedure, rs_ticket_report function string