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

GLOBAL_WAL_SENDER_STATUS

Updated on 2024-06-03 GMT+08:00

GLOBAL_WAL_SENDER_STATUS displays the redo log transfer and replay status of the primary DN in the current cluster. This view can be viewed only by the users with monitor admin and sysadmin permission.

Table 1 GLOBAL_WAL_SENDER_STATUS columns

Name

Type

Description

nodename

text

Name of the primary node

source_ip

text

IP address of the primary node

source_port

integer

Port of the primary node

dest_ip

text

IP address of the standby node

dest_port

integer

Port of the standby node

sender_pid

integer

PID of the sending thread

local_role

text

Type of the primary node

  • UNKNOWN_MODE: The status is unknown.
  • NORMAL_MODE: single-host node type.
  • PRIMARY_MODE: The node is a primary node.
  • STANDBY_MODE: The node is a standby node.
  • CASCADE_STANDBY_MODE: The node is a cascaded standby node.
  • PENDING_MODE: The node is in the arbitration phase.
  • RECOVERY_MODE: The node is in the restoration phase.
  • STANDBY_CLUSTER_MODE: The node is a standby cluster node.
  • MAIN_STANDBY_MODE: main standby cluster node.
NOTE:

The expected values of the primary node type are NORMAL_MODE, PRIMARY_MODE, PENDING_MODE, and RECOVERY_MODE. If other node types are displayed, contact Huawei technical support.

peer_role

text

Type of the standby node

  • UNKNOWN_MODE: The status is unknown.
  • NORMAL_MODE: single-host node type.
  • PRIMARY_MODE: The node is a primary node.
  • STANDBY_MODE: The node is a standby node.
  • CASCADE_STANDBY_MODE: The node is a cascaded standby node.
  • PENDING_MODE: The node is in the arbitration phase.
  • RECOVERY_MODE: The node is in the restoration phase.
  • STANDBY_CLUSTER_MODE: The node is a standby cluster node.
  • MAIN_STANDBY_MODE: main standby cluster node.
NOTE:

The expected values of the standby node type are NORMAL_MODE, STANDBY_MODE, CASCADE_STANDBY_MODE, PENDING_MODE, RECOVERY_MODE, STANDBY_CLUSTER_MODE, and MAIN_STANDBY_MODE. If other node types are displayed, contact Huawei technical support.

peer_state

text

Status of the standby node

  • UNKNOWN_STATE: The node status is unknown.
  • NORMAL_STATE: The node is started properly.
  • NEEDREPAIR_STATE: The current node needs to be repaired.
  • STARTING_STATE: The node is being started.
  • WAITING_STATE: The node is waiting to be upgraded.
  • DEMOTING_STATE: The node is being downgraded.
  • PROMOTING_STATE: The standby node is being upgraded to the primary node.
  • BUILDING_STATE: The standby node fails to be started and needs to be rebuilt.
  • CATCHUP_STATE: The standby node is catching up with the primary node.
  • COREDUMP_STATE: The node breaks down.

state

text

WAL sender status

  • WALSNDSTATE_STARTUP: startup state.
  • WALSNDSTATE_BACKUP: backup state.
  • WALSNDSTATE_CATCHUP: catch-up state.
  • WALSNDSTATE_STREAMING: streaming replication state.

sender_sent_location

text

Sending position of the primary node

sender_write_location

text

Writing position of the primary node

sender_flush_location

text

Location where the master node writes the cache to the disk.

sender_replay_location

text

Redo position of the primary node

receiver_received_location

text

Receiving position of the standby node

receiver_write_location

text

Writing position of the standby node

receiver_flush_location

text

Location where the standby node writes the cache to the disk.

receiver_replay_location

text

Redo location of the standby node

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