Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Modifying Workload Queues

Updated on 2022-08-16 GMT+08:00

You can modify the parameters of a workload queue.

  1. Log in to the GaussDB(DWS) management console.
  2. On the displayed Clusters page, click the name of the target cluster.
  3. Switch to the Workload Management tab page.
  4. In the Workload Queue area on the left, click the name of the queue to be modified. The following configuration areas are displayed, including Short Query Configuration, Resource Configuration, Exception Rule, and Associated User.

  5. Modify the short query configuration. Set the parameters as required and click Save on the right.

    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

  6. Modify the resource configuration.

    1. Click Edit on the right and modify the parameters according to Table 1.
      Table 1 Workload queue parameters

      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

    2. Click OK.

  7. Modify the exception rules.

    1. Modify the parameters according to Table 2.
      NOTE:

      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.

      • If you select Terminate, you need to set the corresponding time or percentage.
      • If you select No restriction, the corresponding execution rule does not take effect.
      Table 2 Exception rule parameters

      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

    2. Click Save.

  8. Associate users.

    NOTE:
    • The resources used by a user to run jobs can be controlled only after the user is added to a queue.
    • A database user can be added to only one queue. Users removed from a queue can be added to another queue.
    • The administrator cannot be associated.
    1. Click Add on the right.
    2. Select the users to be added from the current user list. You can select multiple users at a time.

    3. Click OK.
    4. To delete a user, click Delete in the Operation column of the user.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback