Creating a Resource Pool
- Log in to the GaussDB(DWS) management console.
- Choose Clusters. Click the name of a cluster.
- Choose Resource Management Configurations.
- Click Add Resource Pool.
Up to 63 resource pools can be created.
- 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.
- Confirm the information and click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot