Overview
This view displays the I/O statistics at the function level for the current tenant across all OBServer nodes. If the resource group corresponding to a background task at the function level does not have a resource management plan enabled, the displayed I/O information serves only as statistical reference, and the corresponding resources cannot be restricted.
Columns
Field Name |
Type |
Whether can be NULL |
Description |
|---|---|---|---|
| SVR_IP | varchar(46) | NO | Server IP Address |
| SVR_PORT | bigint(20) | NO | Server Port Number |
| TENANT_ID | bigint(20) | NO | Tenant ID |
| FUNCTION_NAME | varchar(32) | NO | The backend task name corresponding to the function:
|
| MODE | varchar(32) | NO | The read/write modes corresponding to I/O operations (requests for shared storage are remote requests, while requests of other types are local requests):
|
| SIZE | bigint(20) | NO | Average I/O Size |
| REAL_IOPS | bigint(20) | NO | Actual IOPS |
| REAL_MBPS | bigint(20) | NO | Actual bandwidth, in MB/s |
| SCHEDULE_US | bigint(20) | NO | Average I/O Scheduling Time, in μs |
| IO_DELAY_US | bigint(20) | NO | Average execution time of disk I/O, in μs |
| TOTAL_US | bigint(20) | NO | The overall average I/O execution time, in microseconds. |
Sample query
You can query the IO statistics of a function at the tenant level across all OBServer nodes.
obclient [oceanbase]> SELECT * FROM oceanbase.GV$OB_FUNCTION_IO_STAT LIMIT 5;
The query result is as follows:
+----------------+----------+-----------+------------------+--------------+------+-----------+-----------+-------------+-------------+----------+
| SVR_IP | SVR_PORT | TENANT_ID | FUNCTION_NAME | MODE | SIZE | REAL_IOPS | REAL_MBPS | SCHEDULE_US | IO_DELAY_US | TOTAL_US |
+----------------+----------+-----------+------------------+--------------+------+-----------+-----------+-------------+-------------+----------+
| 172.xx.xxx.xxx | 2882 | 0 | DEFAULT_FUNCTION | LOCAL READ | 0 | 0 | 0 | 0 | 0 | 0 |
| 172.xx.xxx.xxx | 2882 | 0 | DEFAULT_FUNCTION | LOCAL WRITE | 4096 | 2 | 0 | 20 | 142 | 178 |
| 172.xx.xxx.xxx | 2882 | 0 | DEFAULT_FUNCTION | REMOTE READ | 0 | 0 | 0 | 20 | 142 | 178 |
| 172.xx.xxx.xxx | 2882 | 0 | DEFAULT_FUNCTION | REMOTE WRITE | 0 | 0 | 0 | 20 | 142 | 178 |
| 172.xx.xxx.xxx | 2882 | 0 | COMPACTION_HIGH | LOCAL READ | 0 | 0 | 0 | 20 | 142 | 178 |
+----------------+----------+-----------+------------------+--------------+------+-----------+-----------+-------------+-------------+----------+
5 rows in set
References
View IO statistics at the function level on the current OBServer node: V$OB_FUNCTION_IO_STAT
View the real-time status of each resource group in a tenant:
For detailed configuration operations on resource isolation, see the following documents: