You can modify the parameters of a resource pool on the resource management page.
Parameter |
Description |
Value |
---|---|---|
Short Query Acceleration |
Whether to enable short query acceleration. This function is enabled by default. |
Enable |
Concurrent Short Queries |
A short query is a job whose estimated memory used for execution is less than 32 MB. The default value -1 indicates that the job is not controlled. |
10 |
Parameter |
Description |
Mandatory |
Default Value |
---|---|---|---|
Name |
Resource pool name |
Yes |
- |
CPU Resource (%) |
NOTE:
|
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) |
Complex Statement 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 |
Network Bandwidth Weight |
Weight for network scheduling. The value is an integer ranging from 1 to 2147483647. The default value is -1. CAUTION:
Only cluster 8.2.1 and later versions support the network bandwidth weight. |
Yes |
-1 (not limited) |
The CPU usage limit is supported only by clusters of version 8.1.3 or later.
Parameter |
Description |
Value Range (0 Means No Limit) |
Operation |
---|---|---|---|
Blocking Time |
Job blocking time. It refers to the total time spent in global and local concurrent queuing. The unit is second. For example, if the blocking time is set to 300s, a job executed by a user in the resource pool will be terminated after being blocked for 300 seconds. |
An integer in the range 1 to 2,147,483,647. The value 0 indicates no limit. |
Terminated, Downgraded, or Not limited |
Execution Time |
Time that has been spent in executing the job, in seconds. For example, if Time required for execution is set to 100s, a job executed by a user in the resource pool will be terminated after being executed for more than 100 seconds. |
An integer in the range 1 to 2,147,483,647. The value 0 indicates no limit. |
Terminated, Downgraded, or Not limited |
Total CPU time on all DNs. |
Total CPU time spent in executing a job on all DNs, in seconds. |
An integer in the range 1 to 2,147,483,647. The value 0 indicates no limit. |
Terminated, Downgraded, or Not limited |
Interval for Checking CPU Skew Rate |
Interval for checking the CPU skew, in seconds. This parameter must be set together with Total CPU Time on All DNs. |
An integer in the range 1 to 2,147,483,647. The value 0 indicates no limit. |
Terminated, Downgraded, or Not limited |
Total CPU Time Skew Rate on All DNs |
CPU time skew rate of a job executed on DNs. The value depends on the setting of Interval for Checking CPU Skew Rate. |
An integer in the range 1 to 100. The value 0 indicates no limit. |
Terminated, Downgraded, or Not limited |
Data Spilled to Disk Per DN |
Allowed maximum job data spilled to disks on a DN. The unit is MB. NOTE:
This rule is supported only by clusters of version 8.2.0 or later. |
An integer in the range 1 to 2,147,483,647. The value 0 indicates no limit. |
Terminated, Downgraded, or Not limited |
Average CPU Usage Per DN |
Average CPU usage of a job on each DN. If Interval for Checking CPU Skew Rate is configured, the interval takes effect for this parameter. If the interval is not configured, the check interval is 30 seconds by default. NOTE:
This rule is supported only by clusters of version 8.2.0 or later. |
An integer in the range 1 to 100. The value 0 indicates no limit. |
Terminated, Downgraded, or Not limited |
Maximum Bandwidth on a Single DN |
Maximum network bandwidth (MB) for a job on a single DN. NOTE:
This rule is supported only by clusters of version 8.2.1 or later. |
An integer in the range 1 to 2,147,483,647. The value 0 indicates no limit. |
Terminated, Downgraded, or Not limited |
Exception rules allow you to control exceptions of jobs executed by users in a resource pool. Currently, you can configure the parameters listed in Table 2.