Oracle Cloud PostgreSQL Node is an individual database instance node of a DB system in the OCI Database with PostgreSQL service in Oracle Cloud Infrastructure (OCI). Each DB system has a primary node and can have read replica nodes, and the OCI Monitoring service publishes telemetry for every node separately. Applications Manager's Oracle Cloud PostgreSQL Node monitor provides node-level visibility into CPU and memory utilization, buffer cache hit ratio, connections, data and WAL storage usage, replication lag and inactive replication slots, storage I/O and session statistics, along with the node's configuration and the DB system it belongs to, helping you pinpoint which node of a DB system is under pressure or lagging behind. In Applications Manager, the PostgreSQL Node monitor is a child of the Oracle Cloud monitor, alongside the Oracle Cloud PostgreSQL Database System monitor, and not a child of the DB system monitor. You can reach a node either from the Oracle Cloud monitor or from the Database Instances tab of its DB system monitor.
Oracle Cloud PostgreSQL Node monitors are discovered automatically by the Oracle Cloud monitor and cannot be added from the New Monitor page. If they are not listed, go to Monitor Actions → Edit Monitor, select PostgreSQL Nodes under Services, and update the monitor. To exclude them, clear PostgreSQL Nodes under Services and update the monitor.
Go to the Monitors Category View by clicking the Monitors tab. Click on the PostgreSQL Nodes available under Oracle Cloud in the Cloud Apps section. Displayed is the Oracle Cloud PostgreSQL Node bulk configuration view distributed into three tabs:
Clicking a monitor from the list will take you to the Oracle Cloud PostgreSQL Node dashboard, which consists of four tabs:
| Parameter | Description |
|---|---|
| STATUS | |
| Life Cycle State | The current state of the PostgreSQL Node. |
| PostgreSQL Database System OCID | The OCID of the PostgreSQL Database System that the PostgreSQL Node belongs to. Click the OCID to open the corresponding Oracle Cloud PostgreSQL Database System monitor. The Database Instances tab of that monitor links back to this node. |
| UTILIZATION | |
| CPU Utilization | The average CPU utilization, as a percentage of the number of CPUs the database is allowed to use, for the PostgreSQL Node (in %). |
| Memory Utilization | The average percentage of total RAM in use on the PostgreSQL Node (in %). |
| Buffer Cache Hit Ratio | The average percentage of pages found in the buffer cache without reading from disk on the PostgreSQL Node (in %). |
| DB CONNECTIONS | |
| DB Connections | The average number of database connections to the PostgreSQL Node. |
| STORAGE | |
| Used Storage | The average amount of storage used by the PostgreSQL Node (in GB). |
| WAL Storage | The average amount of WAL data storage used by the PostgreSQL Node (in GB). |
| REPLICATION LAG | |
| Replication Lag | The average replay LSN lag between the primary and the replica, indicating how much WAL data is pending replay on the replica, for the PostgreSQL Node (in MB). |
| INACTIVE REPLICATION SLOTS | |
| Inactive Replication Slots | The average number of replication slots that are inactive, with no subscriber consuming them, on the PostgreSQL Node. |
Note: I/O Statistics is mapped under Performance Polling and is disabled by default. To enable or disable metric collection, or to configure the polling interval, navigate to Settings → Performance Polling. Under the Optimize Data Collection tab, select Oracle Cloud PostgreSQL Node as the Monitor Type, choose I/O Statistics as the Metric Name, then set Default Polling Status and the polling interval as required. Until it is enabled, this tab shows an informational message instead of the metrics.
| Parameter | Description |
|---|---|
| DISK I/O | |
| Write IOPS | The average number of writes per second on the PostgreSQL Node. |
| Read IOPS | The average number of reads per second on the PostgreSQL Node. |
| LATENCY | |
| Write Latency | The average time taken to complete a write on the PostgreSQL Node (in ms). |
| Read Latency | The average time taken to complete a read on the PostgreSQL Node (in ms). |
| Average Read Latency | The average time taken for the database to fetch data when reading from storage on the PostgreSQL Node (in ms). |
| THROUGHPUT | |
| Write Throughput | The average amount of data written per second by the PostgreSQL Node (in KB/s). |
| Read Throughput | The average amount of data read per second by the PostgreSQL Node (in KB/s). |
Note: Session Statistics is mapped under Performance Polling and is disabled by default. To enable or disable metric collection, or to configure the polling interval, navigate to Settings → Performance Polling. Under the Optimize Data Collection tab, select Oracle Cloud PostgreSQL Node as the Monitor Type, choose Session Statistics as the Metric Name, then set Default Polling Status and the polling interval as required. Until it is enabled, this tab shows an informational message instead of the metrics.
| Parameter | Description |
|---|---|
| SESSIONS | |
| Active Sessions | The average number of active sessions connected to the PostgreSQL Node. |
| Idle Sessions | The average number of idle sessions on the PostgreSQL Node. |
| Idle in Transaction Sessions | The average number of sessions idle in a transaction, potentially causing locks or holding resources, on the PostgreSQL Node. |
| QUERIES | |
| Blocked Queries | The average number of queries waiting because of blocking by other sessions on the PostgreSQL Node. |
| Long Running Queries (Over 5 Minutes) | The average number of queries running longer than five minutes on the PostgreSQL Node. |
| DEADLOCKS | |
| Deadlocks | The average number of deadlocks, in which two or more transactions each wait for the other to release a locked row, on the PostgreSQL Node. |
| Parameter | Description |
|---|---|
| CONFIGURATION | |
| Lifecycle Details | A message describing the current state of the PostgreSQL Node in more detail, for example actionable information when it is in a Failed state. |
| Creation Date | The date and time when the PostgreSQL Node was created. |
| Last Updated | The date and time when the PostgreSQL Node was last updated. |
| Availability Domain | The availability domain in which the PostgreSQL Node is located. |
| Description | The description of the PostgreSQL Node. |
| DATABASE SYSTEM | |
| Compartment OCID | The OCID of the compartment that contains the database system of the PostgreSQL Node. |
| Database Version | The major and minor versions of the database software of the database system that the PostgreSQL Node belongs to. |
| Shape | The name of the shape of the database system that the PostgreSQL Node belongs to. |
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development