This section applies only to MRS 3.2.0 or later.
On FusionInsight Manager, cluster administrators can create a ClickHouse tenant and associate it with a logical cluster. After a system user is bound to the tenant, the system user has the permissions on the logical cluster of the tenant.
Parameter |
Description |
---|---|
Cluster |
Cluster for which you want to create a tenant |
Name |
|
Tenant Resource Type |
Select Leaf Tenant Resource.
NOTE:
Create a ClickHouse tenant. Tenant Resource Type can only be Leaf Tenant. |
Computing Resource |
Dynamic compute resources for the current tenant
|
Configuration Mode |
Configuration mode of compute resource parameters
|
Default Resource Pool Capacity (%) |
Percentage of compute resources used by the current tenant in the default resource pool. The value ranges from 0 to 100%. |
Weight |
Resource allocation weight. The value ranges from 0 to 100. |
Minimum Resource |
Resources guaranteed for the tenant (preemption supported). The value can be a percentage or an absolute value of the parent tenant's resources. When a tenant has a light workload, the resources of the tenant are automatically allocated to other tenants. When the available tenant resources are less than the value of Minimum Resource, the tenant can preempt the resources that have been lent to other tenants. |
Maximum Resource |
Maximum resources that can be used by the tenant. The tenant cannot obtain more resources than the value configured. The value can be a percentage or an absolute value of the parent tenant's resources. |
Reserved Resource |
Resources reserved for the tenant resource. The reserved resources cannot be used by other tenants even if no job is running in the current tenant resources. The value can be a percentage or an absolute value of the parent tenant's resources. |
Storage Resource |
Storage resources for the current tenant.
|
Quota |
Quota for files and directories |
Space Quota |
Quota for the HDFS storage space used by the current tenant
|
Storage Path |
HDFS storage directory for the tenant
|
Service |
|
Description |
Description of the current tenant |
After modifying the resource quota of the ClickHouse tenant, you need to log in to the ClickHouse client again for the modification to take effect.
Parameter |
Description |
---|---|
Service |
Select ClickHouse. |
Association Type |
Select Shared. |
Associate Logical Cluster |
If the logical cluster function is not enabled for ClickHouse, default_cluster is selected by default. If the function is enabled, select the logical cluster to which you want to associate. |
CPU Priority |
The CPU priority ranges from –20 to 19. This value is associated with the NICE value of the OS. A smaller value indicates a higher CPU priority. For details about how to enable the CPU priority, see Enabling the CPU Priority Feature. |
Memory |
The maximum value of this parameter is 100, in percentage. For example, if this parameter is set to 80, the total memory that can be used by the current tenant is calculated as follows: Available memory x 80%. |
After the ClickHouse service is disassociated from a tenant, the tenant and its users no longer have the permissions on the ClickHouse logical cluster.