Note
This view is available starting with V4.2.1.
Overview
Displays the name of the system statistic item for this tenant.
Columns
Column |
Type |
Is NULL |
Description |
|---|---|---|---|
| CLUSTER_ID | bigint(20) | NO | Cluster ID |
| TENANT_ID | bigint(20) | NO | Tenant ID |
| STAT_ID | bigint(20) | NO | Statistical Item ID |
| STAT_NAME | varchar(64) | NO | Statistical Item Name |
Sample query
Query the name of the system statistic item for the current tenant and display the first record.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_WR_STATNAME LIMIT 1\G
The query result is as follows:
*************************** 1. row ***************************
CLUSTER_ID: 10001
TENANT_ID: 1
STAT_ID: 10000
STAT_NAME: rpc packet in
1 row in set (0.021 sec)
