Overview
v$unit displays the metainformation of the units on the current OBServer.
Related tables/views
gv$unit
Field description
| Field name | Type | Nullable | Description |
|---|---|---|---|
| unit_id | BIGINT(20) | No | The ID of the unit. |
| unit_config_id | BIGINT(20) | No | The ID of the configuration of the unit. |
| unit_config_name | varchar(128) | No | The name of the configuration of the unit. |
| resource_pool_id | BIGINT(20) | No | The ID of the resource pool to which the unit belongs. |
| resource_pool_name | varchar(128) | No | The name of the resource pool to which the unit belongs. |
| zone | varchar(128) | No | The zone where the unit is located. |
| tenant_id | BIGINT(20) | No | The ID of the tenant. |
| tenant_name | varchar(128) | No | The name of the tenant. |
| svr_ip | varchar(32) | No | The IP address of the OBServer. |
| svr_port | BIGINT(20) | No | The port number of the OBServer. |
| migrate_from_svr_ip | varchar(32) | No | The IP address of the source server from which the unit data was migrated. |
| migrate_from_svr_port | BIGINT(20) | No | The port number of the source server from which the unit data was migrated. |
| max_cpu | DOUBLE | No | The maximum number of virtual CPUs in the unit. |
| min_cpu | DOUBLE | No | The minimum number of virtual CPUs in the unit. |
| max_memory | BIGINT(20) | No | The maximum memory that the unit can occupy. |
| min_memory | BIGINT(20) | No | The minimum memory usage of the unit. |
| max_iops | BIGINT(20) | No | The maximum input/output operations per second (IOPS) of the unit. |
| min_iops | BIGINT(20) | No | The minimum IOPS of the unit. |
| max_disk_size | BIGINT(20) | No | The maximum disk space that the unit can occupy. |
| max_session_num | BIGINT(20) | No | The maximum number of sessions in the unit. |