Replication Server gathers statistics using over a hundred different counters. By default, most counters are active, and current values can be viewed at any time using the admin statistics command. Counter values can also be flushed (or saved) to the RSSD, where they can be calculated and viewed using standard Transact-SQL statements.
Replication Server does not automatically flush statistics to the RSSD because it would fill up the RSSD quickly. The counter configuration is designed to limit the output sent to the RSSD. Several commands and configuration parameters allow you to control which counter metrics are flushed to the RSSD and when.
The thread daemon, dSTATS, controls flushing. Three system tables contain information about counters:
rs_statcounters – contains descriptive information about each counter. Values in this table do not change.
rs_statrun – describes each sampling period (or run).
rs_statdetail – contains metrics from each run.
See the Replication Server Reference Manual for information about system tables.