The page has been translated by Gen AI.

ServiceWatch metric

MariaDB sends metrics to ServiceWatch. The metrics provided by basic monitoring are data collected at 1‑minute intervals.

Reference
Refer to the ServiceWatch guide for how to view metrics in ServiceWatch.

Basic Metrics

The following are the basic metrics for the namespace MariaDB(DBaaS).

The indicators whose names appear in bold below are the major indicators selected from the basic metrics provided by MariaDB(DBaaS). The key metrics are used to build service dashboards that are automatically created 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 itemsunitDetailed descriptionmeaningful statistics
CPUCPU UsagePercentCPU usage
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk UsagePercentDisk usage
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk Write BytesBytes/SecondWrite capacity (bytes/second) of block device
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk Read BytesBytes/SecondRead throughput (bytes/second) from block device
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk Write RequestsCount/SecondNumber of write requests on block device (requests per second)
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk Read RequestsCount/SecondNumber of read requests on block device (requests per second)
  • Total
  • Average
  • Maximum
  • Minimum
DiskAverage Disk I/O Queue SizeNoneAverage queue length of requests issued to the block device
  • Total
  • Average
  • Maximum
  • Minimum
DiskDisk I/O UtilizationPercentThe proportion of time the block device actually spent processing I/O operations.
  • Total
  • Average
  • Maximum
  • Minimum
MemoryMemory UsagePercentMemory usage
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Out BytesBytes/SecondAmount of data transferred from memory to swap area (bytes/second)
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Used BytesBytesSize of the currently used swap space
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Cached UsagePercentCached swap usage rate
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Total BytesBytesTotal swap space size configured on the system
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap In BytesBytes/SecondAmount read from swap area into memory (bytes/second)
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap UsagePercentCurrent usage ratio relative to total swap space
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Cached BytesBytesSize of pages that have been restored to memory but still have a copy in the swap area
  • Total
  • Average
  • Maximum
  • Minimum
MemorySwap Free BytesBytesSize of swap space that remains unused
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork In BytesBytes/SecondReceived capacity (bytes/second) on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork Out BytesBytes/SecondTransmitted capacity (bytes/second) on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkTCP ConnectionsCount/SecondTotal number of TCP connections currently established correctly
  • 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 packet drops received on the network interface
  • Total
  • Average
  • Maximum
  • Minimum
NetworkNetwork Out DroppedCountNumber of packet drops transmitted from 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 packet errors transmitted from the network interface
  • Total
  • Average
  • Maximum
  • Minimum
OSOS UptimeSecondsTime elapsed (seconds) since the system was last booted
  • Total
  • Average
  • Maximum
  • Minimum
Table. OS basic metrics

MariaDB basic metrics

Classification
Performance itemsunit
Detailed description
meaningful statistics
ActivelockActive locksCountNumber of transactions that have been in lock wait (Lock Wait) state for more than 1 minute (60 seconds) in the InnoDB storage engine
  • Total
  • Average
  • Maximum
  • Minimum
ActivesessionActive sessionsCountNumber of active sessions
  • Total
  • Average
  • Maximum
  • Minimum
ActivesessionConnection usagePercentDB connection session usage rate
  • Total
  • Average
  • Maximum
  • Minimum
ActivesessionConnectionsCountDB connection session
  • Total
  • Average
  • Maximum
  • Minimum
ActivesessionAborted ConnectionsCount/MinuteNumber of abnormally terminated connections
  • Total
  • Average
  • Maximum
  • Minimum
DatafileBinary log usedBytesTotal size (Bytes) occupied by the Binary Log file
  • Total
  • Average
  • Maximum
  • Minimum
DatafileRelay log usedBytesTotal size occupied by the Relay Log file (Bytes)
  • Total
  • Average
  • Maximum
  • Minimum
DatafileCurrent open filesCountNumber of file descriptors opened by the DB
  • Total
  • Average
  • Maximum
  • Minimum
DatafileMax open filesCountMaximum number of file descriptors the DB can open
  • Total
  • Average
  • Maximum
  • Minimum
DatafileOpen files usagePercentMaximum usage rate of DB files
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBInnoDB buffer pool hit ratioPercentThe proportion of data read directly from memory without accessing the disk
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBInnodb row lock wait transactionsCountCurrent number of InnoDB transactions waiting for a row lock
  • Total
  • Average
  • Maximum
  • Minimum
InnoDBInnoDB row lock timeMillisecondsTotal time waited 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/MinuteNumber 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 the redo log to disk
  • Total
  • Average
  • Maximum
  • Minimum
StateInstance stateNoneCheck Scalable DB status up/down
  • 1 - Up
  • 0 - Down
  • Total
  • Average
  • Maximum
  • Minimum
StateSlave behind master secondsSecondsReplica latency (unit: seconds)
  • Total
  • Average
  • Maximum
  • Minimum
StateSlave io thread running (Replica Only)NoneI/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 queriesCountNumber of queries exceeding the long_query_time configured in the DB
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsLong transaction timeSecondsLong Transaction time
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsWait locksCountNumber of sessions waiting for lock
  • Total
  • Average
  • Maximum
  • Minimum
TransactionsSQL Queries/MinuteCount/MinuteQueries executed per minute
  • Total
  • Average
  • Maximum
  • Minimum
Table. MariaDB basic metrics
Monitoring metrics
How-to guides