LAGSTATS
Valid for
Extract, Replicat
Description
Use LAGSTATS to periodically collect, and optionally report, lag and other performance-related statistics to the report file.
Syntax
LAGSTATS [, INTERVALunitnum_units] [, THRESHOLDunitnum_units] [, REPORT]
-
INTERVALunitnum_units -
The interval for which data is collected and optionally reported. For example,
INTERVALSECONDS 30collects statistics for the last thirty seconds; statistics related to peaks and averages are reset every thirty seconds.unitcan be one of:-
MSECS(milliseconds) -
CSECS(centiseconds) -
SECONDS -
MINUTES -
HOURS -
DAYS
-
-
THRESHOLDunitnum_units -
Reports percentages of records processed above or below a time lag threshold. For example,
THRESHOLDMSECS 500reports the percentage of records replicated on the target database within 500 milliseconds of entry into the source database. You can specify up to four thresholds. -
REPORT -
Statistics are output to the report file whenever a reporting interval is passed. If
REPORTis not specified, you can retrieve statistics with the GGSCISENDcommand, using theLAGSNAPSHOToption.