You have several options for gathering data. You can choose whether to sample data over a long period of time, a short period of time (seconds), or a single occurrence.
You can collect counter statistics in either of two ways:
By executing admin stats with the display option, which instructs Replication Server to collect information for a specified time period and then, at the end of that time period, to display the information collected on the computer screen.
By executing admin stats with the save option, which instructs Replication Server to collect information for a specified number of observations within a specified time period, and save that information to the RSSD.
By default, information is not collected from the counters until you turn them on. You can turn them on for a specific time period when you execute admin stats. You can also turn on sampling for an indefinite time period by setting the stats_sampling configuration parameter on.
Turning on sample collection activates all counters. However, you can display or save statistics only for those counters or modules that are of interest.
Statistics shown on the computer screen record the number of events and computed values—such as averages and rates—for a single observation period. When statistics are sent to the RSSD, Replication Server saves raw values—such as observations, totals, last value, and maximum value—for multiple consecutive observation periods. You can then compute averages and rates from these stored values.