Note
This view is introduced since OceanBase Database V1.4.
Purpose
The GV$SYSSTAT view displays the system-level statistical events on all OBServer nodes.
where
STATISTIC#indicates the No. of a statistical item. The No. of a statistical item may vary based on the OceanBase Database version.STAT_IDindicates the ID of a statistical item. The ID of a statistical item remains constant in different OceanBase Database versions.
Note
To use this view, make sure that monitoring is enabled by setting the system variable enable_perf_event to True.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CON_ID | NUMBER | NO | The ID of the tenant. |
| SVR_IP | VARCHAR2(46) | NO | The IP address of the server where the information is located. |
| SVR_PORT | NUMBER(38) | NO | The port number of the server where the information is located. |
| STATISTIC# | NUMBER | NO | The No. of a statistical item. |
| NAME | VARCHAR2(64) | NO | The name of the statistical event. |
| CLASS | NUMBER | NO | The class to which the statistical event belongs. |
| VALUE | NUMBER | NO | The value of the statistical item. |
| STAT_ID | NUMBER | NO | The ID of the statistical event. |