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 ItemUnitDetailed DescriptionMeaningful Statistics
CPUCPU UsagePercentCPU Usage
  • Total
  • Average
  • Max
  • Min
DiskDisk UsagePercentDisk Usage
  • Total
  • Average
  • Max
  • Min
DiskDisk Write BytesBytes/SecondWrite throughput (bytes/second) for block devices
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk Read BytesBytes/SecondRead volume from block devices (bytes/second)
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk Write RequestsCount/SecondNumber of write requests per second (requests/second) on a block device
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk Read RequestsCount/SecondNumber of read requests on the block device (requests/second)
  • Total
  • Average
  • Maximum
  • Minimum
DiskAverage Disk I/O Queue SizeERRORAverage queue length of requests issued to a block device
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk I/O UtilizationPercentThe percentage of time the block device actually processed I/O operations
  • Total
  • Average
  • Maximum
  • Minimum
MemoryMemory UsagePercentMemory Usage
  • Total
  • Average
  • Max
  • Min
MemorySwap Out BytesBytes/SecondAmount of capacity swapped out from memory to the swap area (bytes/second)
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Used BytesBytesSize of the swap space currently in use
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Cached UsagePercentCached swap usage
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Total BytesBytesThe total size of the swap space configured on the system
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap In BytesBytes/SecondAmount of data read from the swap area into memory (bytes/second)
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap UsagePercentPercentage of current usage relative to total swap space
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Cached BytesBytesThe size of a page that has been restored to memory but still has a copy remaining in the swap area
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Free BytesBytesThe size of the remaining unused swap space
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork In BytesBytes/SecondReceived capacity (bytes per second) on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork Out BytesBytes/SecondTransmitted capacity (bytes per second) on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkTCP ConnectionsCount/SecondThe total number of currently established TCP connections
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork In PacketsCountNumber of packets received on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork Out PacketsCountNumber of packets transmitted on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork In DroppedCountNumber of dropped packets received on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork Out DroppedCountNumber of dropped packets transmitted on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork In ErrorsCountNumber of packet errors received on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork Out ErrorsCountNumber of transmitted packet errors on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
OSOS UptimeSecondsThe number of seconds elapsed since the system last booted
  • Total
  • Average
  • Maximum
  • Minimum
Table. OS baseline metrics

PostgreSQL (DBaaS) Basic Metrics

Category
Performance ItemUnitDetailed DescriptionMeaningful Statistics
FrozenxidDB age maxERRORThe time when the oldest transaction started
  • Total
  • Average
  • Max
  • Min
LocksActive locks (total)CountThe total of all currently active locks
  • Total
  • Average
  • Maximum
  • Minimum
LocksExclusive locksCountNumber of exclusive locks that other sessions cannot access
  • Total
  • Average
  • Max
  • Min
LocksRow exclusive locksCountRow-level exclusive lock, used during DML (INSERT/UPDATE/DELETE)
  • Total
  • Average
  • Maximum
  • Minimum
LocksRow share locksCountRow-level shared locks, used in SELECT … FOR UPDATE, etc.
  • Total
  • Average
  • Maximum
  • Minimum
LocksShare locksCountShared lock on the entire object, used in read-only transactions
  • Total
  • Average
  • Maximum
  • Minimum
LocksShare row exclusive locksCountLocks that apply both shared and exclusive modes simultaneously
  • Total
  • Average
  • Maximum
  • Minimum
LocksShare update exclusive locksCountLock for shared updates only, used for rapidly changing data
  • Total
  • Average
  • Maximum
  • Minimum
LocksWait Locks (long)CountNumber of lock requests pending for a long time
  • Total
  • Average
  • Maximum
  • Minimum
LocksWait Locks (total)CountThe number of all lock requests currently pending
  • Total
  • Average
  • Maximum
  • Minimum
ReplicationApply Lag TimeSecondsReplication latency (Primary → Standby)
  • Total
  • Average
  • Maximum
  • Minimum
ReplicationCheck no ReplicationCountIndicators for confirming the absence of replication settings
  • Total
  • Average
  • Maximum
  • Minimum
ReplicationCheck replicationCountMetrics for verifying that the replication status is normal
  • Total
  • Average
  • Maximum
  • Minimum
SessionsActive sessionsCountThe number of sessions currently connected to and working on the database
  • Total
  • Average
  • Max
  • Min
SessionsIdle in transaction sessionsCountThe number of sessions currently waiting after a transaction has been started
  • Total
  • Average
  • Maximum
  • Minimum
SessionsIdle sessionsCountThe number of sessions that are connected but not performing any work
  • Total
  • Average
  • Maximum
  • Minimum
SessionsTotal sessionsCountTotal number of sessions connected to the database (active + idle)
  • Total
  • Average
  • Maximum
  • Minimum
SessionsWaiting sessionCountNumber of sessions waiting for locks, resources, and so on
  • Total
  • Average
  • Maximum
  • Minimum
SessionsConnection usagePercentRatio of current connections to the allowed limit
  • Total
  • Average
  • Maximum
  • Minimum
SessionsConnection usage (Total)CountNumber of connections in use in the entire connection pool
  • Total
  • Average
  • Max
  • Min
StateInstance stateERRORDB Operational Status
  • up: 1
  • down: 0
  • Total
  • Average
  • Maximum
  • Minimum
TablespaceTablespace UsedMegabytesCurrent tablespace usage
  • Total
  • Average
  • Maximum
  • Minimum
TablespaceTablespace Total UsedMegabytesUsed size of the entire tablespace
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsTransaction Time maxSecondsDuration of the longest-running transaction
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsTransaction Time max totalCountNumber of long transactions
  • Total
  • Average
  • Maximum
  • Minimum
Table. PostgreSQL (DBaaS) basic metrics
Monitoring metrics
How-to guides