Note
This view is available starting with V4.3.4.
Purpose
This view displays the I/O statistics at the Function level for the current tenant on the current OBServer node. If the resource group corresponding to the background task at the Function level has not enabled the resource management plan, the displayed I/O information is only for statistical reference, and the corresponding resources cannot be limited.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| SVR_IP | varchar(46) | NO | The IP address of the server. |
| SVR_PORT | bigint(20) | NO | The port number of the server. |
| TENANT_ID | bigint(20) | NO | The tenant ID. |
| FUNCTION_NAME | varchar(32) | NO | The name of the background task corresponding to the Function:
|
| MODE | varchar(32) | NO | The read/write mode corresponding to the I/O operation. Shared storage requests are remote requests, and other types of requests are local requests:
|
| SIZE | bigint(20) | NO | The average I/O size. |
| REAL_IOPS | bigint(20) | NO | The actual IOPS. |
| REAL_MBPS | bigint(20) | NO | The actual bandwidth, in MB/s. |
| SCHEDULE_US | bigint(20) | NO | The average I/O scheduling time, in microseconds. |
| IO_DELAY_US | bigint(20) | NO | The average disk I/O execution time, in microseconds. |
| TOTAL_US | bigint(20) | NO | The overall average I/O execution time, in microseconds. |
Sample query
Query the I/O statistics at the Function level for the current tenant on the current OBServer node.
obclient [SYS]> SELECT * FROM SYS.V$OB_FUNCTION_IO_STAT WHERE ROWNUM >= 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
Query the I/O statistics at the Function level for all tenants on all nodes: GV$OB_FUNCTION_IO_STAT
Query the real-time status of each resource group for the tenant:
For more information about resource isolation, see the following topics: