Help Docs

How to Monitor RDS PostgreSQL in Huawei Cloud

Site24x7 monitors RDS PostgreSQL environment in Huawei Cloud, with insights into CPU, memory, disk I/O, connections, replication lag, and query performance. These insights can help you to detect bottlenecks early and ensure reliable database operations.

Use cases

Replication safety: Mitigate failover risks by monitoring replication lag and slot growth. This ensures that standby nodes remain in sync and prevents Write-Ahead Logging (WAL) buildup.

TXID protection: Prevent unexpected shutdowns by overseeing transaction ID usage and implementing timely VACUUM operations before key limits are reached.

Query performance: Decrease latency by tracking slow queries and overall throughput. This helps identify inefficient queries before they negatively affect users.

Setup and configuration

RDS PostgreSQL resources are auto-discovered and monitored during the Huawei Cloud integration. To enable monitoring, follow the steps below:

  • Navigate to Cloud > Huawei > Add Huawei Monitor. Follow the steps to add a Huawei Cloud monitor.
  • While adding or editing a Huawei Cloud monitor, select RDS PostgreSQL from the Service/Resource Types drop-down and click Save.
  • Navigate to Cloud > Huawei, select the created Huawei monitor, and click RDS PostgreSQL to view the performance metrics.

Supported metrics

CPU and Memory

Metric name

Description

Units

CPU Utilization The percentage of CPU capacity currently consumed by the RDS PostgreSQL instance. Percentage
Memory Utilization The percentage of memory capacity currently consumed by the RDS PostgreSQL instance. Percentage
Swap Usage The percentage of swap space currently consumed by the instance. Percentage

Network

Metric name

Description

Units

Network Input Throughput The rate of data received by the instance over the network per second. Byte/second
Network Output Throughput The rate of data transmitted out of the instance over the network per second. Byte/second

Connections

Metric name

Description

Units

Database Connections The total number of connections currently established to the PostgreSQL instance. Count
Active Connections The number of connections currently executing a query or operation. Count
Connection Usage The percentage of available connection capacity currently in use. Percentage

Queries and Transactions

Metric name

Description

Units

Queries Per Second The rate of query statements executed on the instance per second. Count/second
Transactions Per Second The rate of transactions committed on the instance per second. Count/second
Maximum Used Transaction IDs The maximum number of transaction IDs currently consumed, indicating wraparound risk. Count
Slow SQL (1 Second) The number of SQL statements that exceeded 1 second execution time. Count

Replication

Metric name

Description

Units

Replication Lag The delay between the primary and standby node in applying replication data. Millisecond
Oldest Replication Slot Lag The amount of WAL data retained for the oldest replication slot. MB
Transaction Logs Usage The total size of transaction logs currently consumed on the instance. MB
Transaction Logs Generation Rate The rate at which new transaction logs are being generated per second. MB/second
WAL Size The total size of Write-Ahead Log data currently stored on the instance. GB

Disk and I/O

Metric name

Description

Units

IOPS The number of read and write I/O operations processed by the disk per second. Count
Disk Utilization The percentage of total disk storage currently consumed by the instance. Percentage
Disk Total Size The total disk storage capacity provisioned for the instance. GB
Disk Used Size The total disk storage currently consumed by the instance. GB
Disk Read Throughput The rate of data read from disk per second. Byte/second
Disk Write Throughput The rate of data written to disk per second. Byte/second
Disk I/O Usage The percentage of disk I/O capacity currently in use. Percentage

Dependency View

The Dependency View tab maps RDS for PostgreSQL groups based on your customer requirements. Contact support and share your requirements to help us prioritize dependency mapping for the RDS for PostgreSQL groups in your account.

Common monitored data

Outages

The Outages tab displays outage details, including start time, end time, duration, and related comments, to help track and review downtime events.

Notes

The Notes tab enables you to record descriptions, operational context, runbook steps, recent changes, and reference links to keep your team informed. Format the content using markdown syntax.

Log Report

The Log Report tab provides a unified view of the respective monitor's log status and supports CSV downloads for analysis and auditing.  

Alert Logs

The Alert Logs tab provides a comprehensive list of all alerts generated by the monitor. Easily track key details such as the monitored resource name, alert trigger time, root cause, and notification status. Learn more.

Threshold configuration

You can configure thresholds and alerts for all RDS PostgreSQL metrics to proactively detect performance degradation or connection issues.

  1. Go to Admin > Configuration Profiles > Threshold and Availability.
  2. Create or edit your Threshold Profile for RDS PostgreSQL.
  3. Assign the profile to the respective monitors to trigger alerts.

IT Automation

Use Site24x7's IT Automation to resolve common issues with RDS PostgreSQL performance:

  1. Go to Admin > IT Automation Templates. Then, click Add Automation Templates.
  2. Create an automation rule by selecting the automation Type (e.g., Server reboot, clear queue).
  3. Map the created rules to the RDS PostgreSQL, for automatic execution during alerts.

Configuration rules

Use Configuration Rules to simplify bulk setup across RDS PostgreSQL instances. Automatically assign Threshold Profiles, Notification Profiles, Tags, and Monitor Groups when new monitors are discovered.

Related articles

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!