Planning Resources

Before configuring resource load management, plan tenant resources based on service models. After services run for a period of time, you can adjust the configurations based on resource usage.

Assume that two departments in a large enterprise use the same cluster. openGauss puts system resources used by the same department in a group to isolate resources for different departments. Table 1 describes the resource plan.

Table 1 Tenant resource plan

Tenant Name

Parameter

Example Value

Tenant A

Sub-Class Cgroup

class_a

Workload Cgroup

  • workload_a1
  • workload_a2

Group resource pool

resource_pool_a

Service resource pool

  • resource_pool_a1
  • resource_pool_a2

Group user

tenant_a

Service user

  • tenant_a1
  • tenant_a2

Tenant B

Sub-Class Cgroup

class_b

Workload Cgroup

  • workload_b1
  • workload_b2

Group resource pool

resource_pool_b

Service resource pool

  • resource_pool_b1
  • resource_pool_b2

Group user

tenant_b

Service user

  • tenant_b1
  • tenant_b2
Feedback
编组 3备份
    openGauss 2024-05-07 00:46:52
    cancel