Note
This view was introduced in OceanBase Database V1.4.
Purpose
The GV$SYSSTAT view displays the information about tenant-level statistical events on all OBServer nodes.
Note
If you want to use this view, you must set the enable_perf_event variable to `True` to enable monitoring.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CON_ID | bigint(20) | NO | The ID of the tenant. |
| SVR_IP | varchar(46) | NO | The IP address of the OBServer node where the information is located. |
| SVR_PORT | bigint(20) | NO | The port number of the OBServer node where the information is stored. |
| STATISTIC# | bigint(20) | NO | The subscript of the statistical event. |
| NAME | varchar(64) | NO | The name of the statistical event. |
| CLASS | bigint(20) | NO | The class to which the statistical event belongs. |
| VALUE | bigint(20) | NO | The value of the statistical event. |
| VALUE_TYPE | varchar(16) | NO | The type of the statistical value. Valid values:ADD: indicates a sum value.SET: indicates an update value. |
| STAT_ID | bigint(20) | NO | The ID of the statistical event. |