The page has been translated by Gen AI.

ServiceWatch metrics

MariaDB 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 MariaDB(DBaaS) namespace.

The metrics whose names are shown in bold below are the key metrics selected from the default metrics provided by MariaDB(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/SecondAmount of data read 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 per second (requests/second) on a block device
  • 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
  • Maximum
  • Minimum
MemorySwap Out BytesBytes/SecondAmount of capacity swapped out from memory to the swap area (bytes/second)
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Used BytesBytesThe size 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

MariaDB Basic Metrics

Category
Performance ItemUnit
Detailed Description
Meaningful Statistics
ActivelockActive locksCountThe number of transactions in a lock wait state for more than 1 minute (60 seconds) in the InnoDB storage engine
  • Total
  • Average
  • Maximum
  • Minimum
Active sessionActive sessionsCountNumber of active sessions
  • Total
  • Average
  • Maximum
  • Minimum
Active sessionConnection usagePercentDB Connection Session Usage
  • Total
  • Average
  • Maximum
  • Minimum
Active sessionConnectionsCountDB connection session
  • Total
  • Average
  • Maximum
  • Minimum
Active sessionAborted ConnectionsCount/MinuteNumber of abnormally terminated connections
  • Total
  • Average
  • Maximum
  • Minimum
DatafileBinary log usedBytesTotal size (in bytes) occupied by the Binary Log file
  • Total
  • Average
  • Maximum
  • Minimum
DatafileRelay log usedBytesTotal size (in bytes) occupied by the Relay Log file
  • Total
  • Average
  • Maximum
  • Minimum
DatafileCurrent open filesCountThe number of file descriptors opened by the DB
  • Total
  • Average
  • Maximum
  • Minimum
DatafileMax open filesCountThe maximum number of file descriptors that the DB can open
  • Total
  • Average
  • Maximum
  • Minimum
DatafileOpen files usagePercentDB file maximum count usage
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBInnoDB buffer pool hit ratioPercentThe percentage of data read directly from memory without accessing the disk
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBInnoDB row lock wait transactionsCountThe number of InnoDB transactions currently waiting for a row lock
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBInnoDB row lock timeMillisecondsTotal time spent waiting due to InnoDB row locks (in milliseconds)
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBInnoDB deadlocksCount/MinuteNumber of transactions rolled back due to deadlock
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBTable lock waitsCount/MinuteThe number of times a wait occurred to acquire a table lock
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBTemp disk tablesCount/MinuteNumber of Temp Tables created on disk
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBInnodb log waitsCountNumber of times waited to write Redo logs to disk
  • Total
  • Average
  • Maximum
  • Minimum
StateInstance stateERRORCheck MariaDB status up/down
  • 1 - Up
  • 0 - Down
  • Total
  • Average
  • Maximum
  • Minimum
StateSlave behind master secondsSecondsReplication lag (unit: seconds)
  • Total
  • Average
  • Maximum
  • Minimum
StateSlave IO thread running (Replica Only)ERRORI/O Thread Status
  • 1: Running
  • 0: Down
  • Total
  • Average
  • Maximum
  • Minimum
StateSlave SQL thread running (Replica Only)NoneSQL Thread status
  • 1: Running
  • 0: Down
  • Total
  • Average
  • Maximum
  • Minimum
TablespaceTablespace usedMegabytesTablespace Usage
  • Total
  • Average
  • Maximum
  • Minimum
TablespaceTablespace used (TOTAL)MegabytesTablespace Usage (Total)
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsSlow queriesCountThe number of queries that take longer than the long_query_time configured in the database
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsLong transaction timeSecondsLong Transaction Time
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsWait locksCountNumber of sessions waiting for a lock
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsSQL Queries/MinuteCount/MinuteQueries per minute
  • Total
  • Average
  • Maximum
  • Minimum
Table. MariaDB basic metrics
Monitoring Metrics
How-to guides