Purpose
v$unit displays the metadata of the units on the current OBServer node.
Related tables/views
gv$unit
Fields
| Field | 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. |
| 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. |
| svr_port | bigint(20) | NO | The port number of the server. |
| 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 CPU cores in the unit. |
| min_cpu | double | NO | The minimum number of virtual CPU cores 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. |