Note
This view is available starting with V4.3.3.
Purpose
This view displays the real-time status of each resource group in the current tenant on the current OBServer node.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The tenant ID. |
| SVR_IP | varchar(46) | NO | The IP address of the server. |
| SVR_PORT | bigint(20) | NO | The port number of the server. |
| GROUP_ID | bigint(20) | NO | The ID of the corresponding resource group. |
| GROUP_NAME | varchar(128) | NO | The name of the corresponding resource group. |
| MODE | varchar(128) | NO | The read/write mode. Valid values:
|
| MIN_IOPS | bigint(20) | NO | The minimum IOPS in the resource group. |
| MAX_IOPS | bigint(20) | NO | The maximum IOPS in the resource group. |
| NORM_IOPS | bigint(20) | NO | The current IOPS (converted to the value corresponding to 16 KB reads).
Note
|
| REAL_IOPS | bigint(20) | NO | The current IOPS. |
| MAX_NET_BANDWIDTH | bigint(20) | NO | The maximum network bandwidth in the resource group, in bytes. |
| MAX_NET_BANDWIDTH_DISPLAY | varchar(128) | NO | The maximum network bandwidth in the resource group after conversion. The format is similar to 10 GB/s, 10 MB/s, and so on. |
| REAL_NET_BANDWIDTH | bigint(20) | NO | The current network bandwidth, in bytes. |
| REAL_NET_BANDWIDTH_DISPLAY | varchar(128) | NO | The current network bandwidth after conversion. The format is similar to 10 GB/s, 10 MB/s, and so on. |
Sample query
Query the real-time status of each resource group in the current tenant on the current OBServer node.
obclient [oceanbase]> SELECT * FROM oceanbase.V$OB_GROUP_IO_STAT LIMIT 1\G
The query result is as follows:
*************************** 1. row ***************************
TENANT_ID: 1002
SVR_IP: 172.xx.xxx.xxx
SVR_PORT: 2882
GROUP_ID: 0
GROUP_NAME: OTHER_GROUP
MODE: READ
MIN_IOPS: 9223372036854775807
MAX_IOPS: 9223372036854775807
NORM_IOPS: 0
REAL_IOPS: 0
MAX_NET_BANDWIDTH: 9223372036854775807
MAX_NET_BANDWIDTH_DISPLAY: unlimited
REAL_NET_BANDWIDTH: 0
REAL_NET_BANDWIDTH_DISPLAY: 0B/s
1 row in set
References
Query the real-time status of each resource group in the current tenant on all nodes: GV$OB_GROUP_IO_STAT
Query the following views to view the I/O statistics at the function level:
