Overview
Displays the unit specifications of all tenants.
Columns
Field Name |
Type |
Whether can be NULL |
Description |
|---|---|---|---|
| UNIT_CONFIG_ID | bigint(20) | NO | Unit Specification ID |
| NAME | varchar(128) | NO | Unit Specification Name |
| CREATE_TIME | timestamp(6) | YES | Unit Specification Creation Time |
| MODIFY_TIME | timestamp(6) | YES | Information Update Time |
| MAX_CPU | double | NO | Maximum CPU Specification |
| MIN_CPU | double | NO | Minimum CPU Specification |
| MEMORY_SIZE | bigint(20) | NO | Memory specification, in bytes |
| LOG_DISK_SIZE | bigint(20) | NO | Log disk specification, in bytes |
| DATA_DISK_SIZE | bigint(20) | NO | The size of the local cache available to the unit, in bytes. |
| MAX_IOPS | bigint(20) | NO | Maximum Disk IOPS Specification |
| MIN_IOPS | bigint(20) | NO | Minimum Disk IOPS Specification |
| IOPS_WEIGHT | bigint(20) | NO | IOPS Weight |
| MAX_NET_bandWIDTH | bigint(20) | NO | The maximum network bandwidth of a unit, in bytes. |
| NET_bandWIDTH_WEIGHT | bigint(20) | NO | The weight value of the unit's network bandwidth. |
Sample query
The system tenant queries the unit specifications of all tenants.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_UNIT_CONFIGS;
The query result is as follows:
+----------------+-----------------+----------------------------+----------------------------+---------+---------+-------------+---------------+----------------+---------------------+---------------------+-------------+---------------------+----------------------+
| UNIT_CONFIG_ID | NAME | CREATE_TIME | MODIFY_TIME | MAX_CPU | MIN_CPU | MEMORY_SIZE | LOG_DISK_SIZE | DATA_DISK_SIZE | MAX_IOPS | MIN_IOPS | IOPS_WEIGHT | MAX_NET_BANDWIDTH | NET_BANDWIDTH_WEIGHT |
+----------------+-----------------+----------------------------+----------------------------+---------+---------+-------------+---------------+----------------+---------------------+---------------------+-------------+---------------------+----------------------+
| 1 | sys_unit_config | 2025-06-23 15:04:26.845106 | 2025-06-23 15:04:26.845106 | 4 | 4 | 5368709120 | 17448304640 | NULL | 9223372036854775807 | 9223372036854775807 | 4 | 9223372036854775807 | 4 |
| 1001 | unit001 | 2025-06-23 15:16:05.453176 | 2025-06-23 15:16:05.453176 | 2 | 2 | 6442450944 | 19327352832 | NULL | 9223372036854775807 | 9223372036854775807 | 2 | 9223372036854775807 | 2 |
+----------------+-----------------+----------------------------+----------------------------+---------+---------+-------------+---------------+----------------+---------------------+---------------------+-------------+---------------------+----------------------+
2 rows in set