Note
This view is introduced since OceanBase Database V4.0.0.
Purpose
The V$OB_IO_BENCHMARK view displays the disk calibration data used by the I/O module on the current node.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| SVR_IP | varchar(46) | NO | The IP address of the OBServer node. |
| SVR_PORT | bigint(20) | NO | The port number of the OBServer node. |
| STORAGE_NAME | varchar(1024) | NO | The storage name, for example, DATA or REDO. |
| MODE | varchar(256) | NO | The I/O mode, for example, READ or WRITE. |
| SIZE | bigint(20) | NO | The I/O size, in bytes. |
| IOPS | bigint(20) | NO | The number of processed I/O requests per second. |
| MBPS | bigint(20) | NO | The disk bandwidth, in Mbit/s. |
| LATENCY | bigint(20) | NO | The response time, in μs. |
Sample query
View the disk calibration data used by the I/O module on the current node. Display the first 10 records.
obclient [oceanbase]> SELECT * FROM oceanbase.V$OB_IO_BENCHMARK LIMIT 10;
The query result is as follows:
+----------------+----------+--------------+------+---------+--------+------+---------+
| SVR_IP | SVR_PORT | STORAGE_NAME | MODE | SIZE | IOPS | MBPS | LATENCY |
+----------------+----------+--------------+------+---------+--------+------+---------+
| 172.xx.xxx.xxx | 2882 | DATA | READ | 4096 | 126002 | 492 | 126 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 8192 | 115242 | 900 | 138 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 16384 | 109285 | 1707 | 146 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 32768 | 88949 | 2779 | 179 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 65536 | 68702 | 4293 | 232 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 131072 | 48018 | 6002 | 332 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 262144 | 29904 | 7476 | 534 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 524288 | 16730 | 8365 | 956 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 1048576 | 9077 | 9077 | 1762 |
| 172.xx.xxx.xxx | 2882 | DATA | READ | 2097152 | 4770 | 9540 | 3355 |
+----------------+----------+--------------+------+---------+--------+------+---------+
10 rows in set
References
To view the disk calibration data used by the I/O module on all OBServer nodes, see GV$OB_IO_BENCHMARK.
To view the disk I/O calibration status, you can query either of the following views:
For more information about how to calibrate disk performance, see Calibrate disk performance.