Note
This view is available starting with V4.2.1.
Overview
Displays detailed system statistics for all tenants.
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
View detailed system statistics for all tenants.
obclient [oceanbase]> SELECT * FROM oceanbase.CDB_WR_SYSSTAT limit 1;
The return result is as follows:
+------------+-----------+---------+----------------+----------+---------+--------+
| CLUSTER_ID | TENANT_ID | SNAP_ID | SVR_IP | SVR_PORT | STAT_ID | VALUE |
+------------+-----------+---------+----------------+----------+---------+--------+
| 4000 | 1 | 114 | xx.xx.xx.xx | 2882 | 10000 | 228856 |
+------------+-----------+---------+----------------+----------+---------+--------+
1 row in set (0.036 sec)
