Note
This view is available starting with V4.2.1.
Overview
Displays the detailed system statistics of the current tenant.
Columns
Column |
Type |
Is NULL |
Description |
|---|---|---|---|
| CLUSTER_ID | bigint(20) | NO | Cluster ID |
| TENANT_ID | bigint(20) | NO | Tenant ID |
| SNAP_ID | bigint(20) | NO | Snapshot ID |
| SVR_IP | varchar(46) | NO | Node IP |
| SVR_PORT | bigint(20) | NO | Node Port |
| STAT_ID | bigint(20) | NO | Statistical Item ID |
| VALUE | bigint(20) | YES | Value of the statistic |
Sample query
Query the detailed system statistics of the current tenant and display the first record.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_WR_SYSSTAT LIMIT 1\G
The query result is as follows:
*************************** 1. row ***************************
CLUSTER_ID: 10001
TENANT_ID: 1
SNAP_ID: 1
SVR_IP: xx.xx.xx.xx
SVR_PORT: 2882
STAT_ID: 10000
VALUE: 156046
1 row in set (0.007 sec)
