You can modify the parameters of a workload queue.
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 |
Value |
---|---|---|
Name |
Name of a workload queue. |
queue_test |
CPU Resource (%) |
Percentage of the CPU time slice that can be used by database users in a queue for job execution. |
20 |
Memory Resource (%) |
Percentage of the memory usage by a queue. 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. |
20 |
Storage Resource (MB) |
Size of the available space for permanent tables. CAUTION:
This parameter indicates the total tablespace of all DNs in a queue. Available space of a single DN = Configured value/Number of DNs. |
1024 |
Query Concurrency |
Maximum number of concurrent queries in a queue. 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. |
10 |
Exception rules allow you to control exceptions of jobs executed by users in a queue. Currently, you can configure the parameters listed in Table 2.
Parameter |
Description |
Value |
---|---|---|
Blocking Time |
Job blocking duration, in seconds. The duration includes the total time spent in global and local concurrent queuing. For example, if the blocking time is set to 300s, a job executed by a user in the queue will be terminated after being blocked for 300 seconds. |
1200 |
Execution Time |
Execution duration of a job, in seconds. The time indicates the duration from the start point of execution to the current time point. For example, if Time required for execution is set to 100s, a job executed by a user in the queue will be terminated after being executed for more than 100 seconds. |
2400 |
Total CPU time on all DNs |
Total CPU time spent in executing a job on all DNs, in seconds. |
100 |
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. |
2400 |
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. |
90 |