Updated on 2024-06-11 GMT+08:00

Creating a Resource Pool

  1. Log in to the GaussDB(DWS) management console.
  2. Choose Clusters. Click the name of a cluster.
  3. Choose Resource Management Configurations.
  4. Click Add Resource Pool.

    Up to 63 resource pools can be created.

  5. Refer to Table 1 to configure the resource pool.

    Table 1 Resource pool parameters

    Parameter

    Description

    Mandatory

    Default Value

    Name

    Resource pool name

    Yes

    -

    CPU Resource (%)

    • CPU share: Percentage of CPU time that can be used by users associated with the current resource pool to execute jobs. The value is an integer ranging from 1 to 99.
    • CPU limit: Maximum percentage of CPU cores used by a database user in a resource pool. The value is an integer ranging from 0 to 100. 0 indicates no limit.
    NOTE:
    • The sum of the parameter values of all the resource pools cannot exceed 99%. If there is only one resource pool, the CPU share parameter does not take effect.
    • The CPU share parameter takes effect only when CPU contention occurs. For example, resource pools A and B are bound to CPU 1. If A and B are both running, the parameter takes effect. If there is only A running, the parameter does not take effect.
    • The sum of the CPU limits of all the resource pools cannot exceed 100%. The default value is 0.

    Yes

    -

    Memory Resource (%)

    Percentage of the memory that can be used by a resource pool.

    CAUTION:

    You can manage memory and query concurrency separately or jointly. Under joint management, jobs can be delivered only when both the memory and concurrency conditions are met.

    Yes

    0 (not limited)

    Storage Resource (MB)

    Size of the available space for permanent tables.

    CAUTION:

    This parameter indicates the total tablespace of all DNs in a resource pool. Available space of a single DN = Configured value/Number of DNs.

    Yes

    -1 (not limited)

    Query Concurrency

    Maximum number of concurrent queries in a resource pool.

    CAUTION:

    You can manage memory and query concurrency separately or jointly. Under joint management, jobs can be delivered only when both the memory and concurrency conditions are met.

    Yes

    10

    The CPU usage limit is supported only by clusters of version 8.1.3 or later.

  6. Confirm the information and click OK.