ServiceWatch metric
PostgreSQL (DBaaS) sends metrics to ServiceWatch. The metrics provided by basic monitoring are data collected at 1‑minute intervals.
Basic Metrics
The following are the basic metrics for the PostgreSQL(DBaaS) namespace.
The indicators whose names are displayed in bold below are the key indicators selected from the basic metrics provided by PostgreSQL(DBaaS). Key metrics are used to configure service dashboards that are automatically built for each service in ServiceWatch.
Each metric provides guidance in the user guide on which statistical values are meaningful when viewing that metric, and among the meaningful statistics, the values shown in bold are the primary statistics. In the service dashboard, you can view key metrics through primary statistical values.
OS Basic Metrics
Classification | Performance items | unit | Detailed description | meaningful statistics |
|---|---|---|---|---|
| CPU | CPU Usage | Percent | CPU usage |
|
| Disk | Disk Usage | Percent | Disk usage |
|
| Disk | Disk Write Bytes | Bytes/Second | Write throughput on block device (bytes/second) |
|
| Disk | Disk Read Bytes | Bytes/Second | Read throughput from block device (bytes/second) |
|
| Disk | Disk Write Requests | Count/Second | Number of write requests on block device (requests per second) |
|
| Disk | Disk Read Requests | Count/Second | Number of read requests on block device (requests per second) |
|
| Disk | Average Disk I/O Queue Size | None | Average queue length of requests issued to the block device |
|
| Disk | Disk I/O Utilization | Percent | The proportion of time the block device actually performed I/O operations |
|
| Memory | Memory Usage | Percent | Memory usage |
|
| Memory | Swap Out Bytes | Bytes/Second | Data transferred from memory to swap area (bytes/second) |
|
| Memory | Swap Used Bytes | Bytes | Current swap space size |
|
| Memory | Swap Cached Usage | Percent | Cache swap utilization |
|
| Memory | Swap Total Bytes | Bytes | Total swap space size configured on the system |
|
| Memory | Swap In Bytes | Bytes/Second | Amount read from swap area to memory (bytes/second) |
|
| Memory | Swap Usage | Percent | Current usage ratio relative to total swap space |
|
| Memory | Swap Cached Bytes | Bytes | Size of pages that have been restored to memory but still have a copy in the swap area |
|
| Memory | Swap Free Bytes | Bytes | Size of swap space that remains unused |
|
| Network | Network In Bytes | Bytes/Second | Received capacity (bytes/second) on the network interface |
|
| Network | Network Out Bytes | Bytes/Second | 네트워크 인터페이스에서 송신된 용량(바이트/초) |
|
| Network | TCP Connections | Count/Second | Total number of properly established TCP connections |
|
| Network | Network In Packets | Count | Number of packets received on the network interface |
|
| Network | Network Out Packets | Count | Number of packets transmitted on the network interface |
|
| Network | Network In Dropped | Count | Number of packet drops received on the network interface |
|
| Network | Network Out Dropped | Count | Number of packet drops transmitted from the network interface |
|
| Network | Network In Errors | Count | Number of packet errors received on the network interface |
|
| Network | Network Out Errors | Count | Number of packet errors transmitted from the network interface |
|
| OS | OS Uptime | Seconds | Time elapsed (seconds) since the system was last booted |
|
PostgreSQL(DBaaS) basic metrics
Classification | Performance items | unit | Detailed description | meaningful statistics |
|---|---|---|---|---|
| Frozenxid | DB age max | None | The point in time when the oldest transaction started (time) |
|
| Locks | Active locks (total) | Count | Total of all currently active locks |
|
| Locks | Exclusive locks | Count | Number of exclusive locks that other sessions cannot access at all |
|
| Locks | Row exclusive locks | Count | Row-level exclusive lock, used during DML (INSERT/UPDATE/DELETE) |
|
| Locks | Row share locks | Count | Row-level shared lock, used in SELECT … FOR UPDATE, etc. |
|
| Locks | Share locks | Count | Shared lock on the entire object, used for read‑only transactions |
|
| Locks | Share row exclusive locks | Count | Lock that applies both shared and row‑exclusive. |
|
| Locks | Share update exclusive locks | Count | Shared update-only lock, used for rapidly changing data |
|
| Locks | Wait Locks (long) | Count | Number of lock requests waiting for a long time |
|
| Locks | Wait Locks (total) | Count | Number of all pending lock requests |
|
| Replication | Apply Lag Time | Seconds | Replication latency (Primary → Standby) |
|
| Replication | Check no Replication | Count | Indicator confirming the absence of replication settings |
|
| Replication | Check replication | Count | Metric to verify that the replication status is normal |
|
| Sessions | Active sessions | Count | Number of sessions currently connected to the database and active |
|
| Sessions | Idle in transaction sessions | Count | Transaction started, but currently there are waiting sessions |
|
| Sessions | Idle sessions | Count | Number of sessions that are maintaining a connection without performing any work |
|
| Sessions | Total sessions | Count | Total number of sessions connected to the database (active + idle) |
|
| Sessions | Waiting session | Count | Number of sessions waiting for locks, resources, etc. |
|
| Sessions | Connection usage | Percent | Allowed limit ratio relative to the current number of connections |
|
| Sessions | Connection usage (Total) | Count | Number of connections currently in use in the entire connection pool |
|
| State | Instance state | None | DB operation status
|
|
| Tablespace | Tablespace Used | Megabytes | Current tablespace capacity in use |
|
| Tablespace | Tablespace Total Used | Megabytes | Usage ratio (%) of total tablespace |
|
| Transactions | Transaction Time max | Seconds | Duration of the longest-running transaction |
|
| Transactions | Transaction Time max total | Count | Number of long transactions |
|