9.6.4.1.1 Controlling Fine-Grained Metric Collection
The metricFGCollIntvlInSec attribute controls
fine-grained metric collection.
-
To enable fine-grained metric collection, you must set the collection interval to a value between 1 and 60 seconds.
For example:
DBMCLI> ALTER DBSERVER metricFGCollIntvlInSec=1The
metricFGCollIntvlInSecsetting is related to the automatic upload frequency specified in themetricStreamIntvlInSecattribute. When automatic metric upload and fine-grained collection are both enabled (metricStreamIntvlInSec>0andmetricFGCollIntvlInSec>0),metricStreamIntvlInSecmust be between 5 and 30 timesmetricFGCollIntvlInSec. For example, ifmetricStreamIntvlInSec=60, thenmetricFGCollIntvlInSecmust be between 2 and 12. -
To disable fine-grained metric collection on a server, set
metricFGCollIntvlInSec=0.For example:
DBMCLI> ALTER DBSERVER metricFGCollIntvlInSec=0Fine-grained metric collection can be disabled only when automatic metric upload is disabled (
metricStreamIntvlInSec=0) or the automatic upload frequency is between 5 and 30 minutes (metricStreamIntvlInSecis between 300 and 1800).
Parent topic: Using Fine-Grained Metrics