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

PG_SESSION_WLMSTAT

Updated on 2022-07-29 GMT+08:00

PG_SESSION_WLMSTAT displays the corresponding load management information about the task currently executed by the user.

Table 1 PG_SESSION_WLMSTAT columns

Column

Type

Description

datid

oid

OID of the database this backend is connected to

datname

name

Name of the database the backend is connected to

threadid

bigint

ID of the backend thread

processid

integer

Thread PID of the backend

usesysid

oid

OID of the user who logged into the backend

appname

text

Name of the application that is connected to the backend

usename

name

Name of the user logged in to the backend

priority

bigint

Priority of Cgroup where the statement is located

attribute

text

Statement attributes

  • Ordinary: default attribute of a statement before it is parsed by the database
  • Simple: simple statements
  • Complicated: complicated statements
  • Internal: internal statement of the database

block_time

bigint

Pending duration of the statements by now (unit: s)

elapsed_time

bigint

Actual execution duration of the statements by now (unit: s)

total_cpu_time

bigint

Total CPU usage duration of the statement on the DN in the last period (unit: s)

cpu_skew_percent

integer

CPU usage inclination ratio of the statement on the DN in the last period

statement_mem

integer

Estimated memory required for statement execution. This column is reserved.

active_points

integer

Number of concurrently active points occupied by the statement in the resource pool

dop_value

integer

DOP value obtained by the statement from the resource pool

control_group

text

Cgroup currently used by the statement

status

text

Status of a statement, including:

  • pending
  • running
  • finished (If enqueue is set to StoredProc or Transaction, this state indicates that only a part of jobs in the statement have been executed. This state persists until the finish of this statement.)
  • aborted: terminated unexpectedly
  • active: normal status except for those above
  • unknown: unknown status

enqueue

text

Current queuing status of the statements, including:

  • Global: queuing in the global queue
  • Respool: queuing in the resource pool queue
  • CentralQueue: queuing on the CCN
  • Transaction: being in a transaction block
  • StoredProc: being in a stored procedure
  • None: not in a queue
  • Forced None: being forcibly executed (transaction block statement or stored procedure statement are) because the statement waiting time exceeds the specified value

resource_pool

name

Current resource pool where the statements are located.

query

text

Text of this backend's most recent query If state is active, this column shows the executing query. In all other states, it shows the last query that was executed.

isplana

bool

In logical cluster mode, indicates whether a statement occupies the resources of other logical clusters. The default value is f (does not occupy).

node_group

text

Logical cluster of the user running the statement

lane

text

Fast or slow lane for statement queries.

  • fast: fast lane
  • slow: slow lane
  • none: not controlled

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