The page has been translated by Gen AI.
ServiceWatch metrics
PostgreSQL (DBaaS) sends metrics to ServiceWatch. The metrics provided by basic monitoring are collected at a 1-minute interval.
Reference
To view metrics in ServiceWatch, refer to the ServiceWatch guide.
Basic Metrics
The following are the default metrics for the PostgreSQL(DBaaS) namespace.
The metrics whose names are shown in bold below are the key metrics selected from the default metrics provided by PostgreSQL(DBaaS). Key metrics are used to build service-specific dashboards that are automatically created in ServiceWatch.
Each metric specifies which statistical values are meaningful when querying that metric, as described in the user guide. Among the meaningful statistics, the values displayed in bold are the primary statistics. You can view key metrics through key statistics on the service dashboard.
OS Basic Metrics
Category | Performance Item | 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 (bytes/second) for block devices |
|
| Disk | Disk Read Bytes | Bytes/Second | Read volume from block devices (bytes/second) |
|
| Disk | Disk Write Requests | Count/Second | Number of write requests per second (requests/second) on a block device |
|
| Disk | Disk Read Requests | Count/Second | Number of read requests on the block device (requests/second) |
|
| Disk | Average Disk I/O Queue Size | ERROR | Average queue length of requests issued to a block device |
|
| Disk | Disk I/O Utilization | Percent | The percentage of time the block device actually processed I/O operations |
|
| Memory | Memory Usage | Percent | Memory Usage |
|
| Memory | Swap Out Bytes | Bytes/Second | Amount of capacity swapped out from memory to the swap area (bytes/second) |
|
| Memory | Swap Used Bytes | Bytes | Size of the swap space currently in use |
|
| Memory | Swap Cached Usage | Percent | Cached swap usage |
|
| Memory | Swap Total Bytes | Bytes | The total size of the swap space configured on the system |
|
| Memory | Swap In Bytes | Bytes/Second | Amount of data read from the swap area into memory (bytes/second) |
|
| Memory | Swap Usage | Percent | Percentage of current usage relative to total swap space |
|
| Memory | Swap Cached Bytes | Bytes | The size of a page that has been restored to memory but still has a copy remaining in the swap area |
|
| Memory | Swap Free Bytes | Bytes | The size of the remaining unused swap space |
|
| Network | Network In Bytes | Bytes/Second | Received capacity (bytes per second) on the network interface |
|
| Network | Network Out Bytes | Bytes/Second | Transmitted capacity (bytes per second) on the network interface |
|
| Network | TCP Connections | Count/Second | The total number of currently 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 dropped packets received on the network interface |
|
| Network | Network Out Dropped | Count | Number of dropped packets transmitted on the network interface |
|
| Network | Network In Errors | Count | Number of packet errors received on the network interface |
|
| Network | Network Out Errors | Count | Number of transmitted packet errors on the network interface |
|
| OS | OS Uptime | Seconds | The number of seconds elapsed since the system last booted |
|
Table. OS baseline metrics
PostgreSQL (DBaaS) Basic Metrics
Category | Performance Item | Unit | Detailed Description | Meaningful Statistics |
|---|---|---|---|---|
| Frozenxid | DB age max | ERROR | The time when the oldest transaction started |
|
| Locks | Active locks (total) | Count | The total of all currently active locks |
|
| Locks | Exclusive locks | Count | Number of exclusive locks that other sessions cannot access |
|
| Locks | Row exclusive locks | Count | Row-level exclusive lock, used during DML (INSERT/UPDATE/DELETE) |
|
| Locks | Row share locks | Count | Row-level shared locks, used in SELECT … FOR UPDATE, etc. |
|
| Locks | Share locks | Count | Shared lock on the entire object, used in read-only transactions |
|
| Locks | Share row exclusive locks | Count | Locks that apply both shared and exclusive modes simultaneously |
|
| Locks | Share update exclusive locks | Count | Lock for shared updates only, used for rapidly changing data |
|
| Locks | Wait Locks (long) | Count | Number of lock requests pending for a long time |
|
| Locks | Wait Locks (total) | Count | The number of all lock requests currently pending |
|
| Replication | Apply Lag Time | Seconds | Replication latency (Primary → Standby) |
|
| Replication | Check no Replication | Count | Indicators for confirming the absence of replication settings |
|
| Replication | Check replication | Count | Metrics for verifying that the replication status is normal |
|
| Sessions | Active sessions | Count | The number of sessions currently connected to and working on the database |
|
| Sessions | Idle in transaction sessions | Count | The number of sessions currently waiting after a transaction has been started |
|
| Sessions | Idle sessions | Count | The number of sessions that are connected but not 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, and so on |
|
| Sessions | Connection usage | Percent | Ratio of current connections to the allowed limit |
|
| Sessions | Connection usage (Total) | Count | Number of connections in use in the entire connection pool |
|
| State | Instance state | ERROR | DB Operational Status
|
|
| Tablespace | Tablespace Used | Megabytes | Current tablespace usage |
|
| Tablespace | Tablespace Total Used | Megabytes | Used size of the entire tablespace |
|
| Transactions | Transaction Time max | Seconds | Duration of the longest-running transaction |
|
| Transactions | Transaction Time max total | Count | Number of long transactions |
|
Table. PostgreSQL (DBaaS) basic metrics