The page has been translated by Gen AI.

ServiceWatch Metrics

MariaDB sends metrics to ServiceWatch. The metrics provided by default monitoring are data collected at a 1-minute interval.

Reference
How to check metrics in ServiceWatch, refer to the ServiceWatch guide.

Basic Indicators

The following are the basic metrics for the MariaDB namespace.

OS Basic Metrics

CategoryPerformance ItemDetailed DescriptionUnitMeaningful Statistics
CPUCPU UsageCPU UsagePercent
DiskDisk UsageDisk Usage RatePercent
DiskDisk Write BytesWrite capacity on block device (bytes/second)Bytes/Second
DiskDisk Read BytesAmount read from block device (bytes/second)Bytes/Second
DiskDisk Write RequestNumber of write requests on block device (requests/second)Count/Second
DiskDisk Read RequestsNumber of read requests on block device (requests/second)Count/Second
DiskAverage Disk I/O Queue SizeAverage queue length of requests issued to the block deviceNone
DiskDisk I/O UtilizationBlock device’s actual time spent processing I/O operationsPercent
MemoryMemory UsageMemory Usage RatePercent
NetworkNetwork In BytesReceived capacity on the network interface (bytes/second)Bytes/Second
NetworkNetwork Out BytesTransmitted capacity from network interface (bytes/second)Bytes/Second
NetworkTCP ConnectionsTotal number of TCP connections currently established correctlyCount/Second
NetworkNetwork In PacketsNumber of packets received on the network interfaceCount
NetworkNetwork Out PacketsNumber of packets transmitted from the network interfaceCount
NetworkNetwork In DroppedNumber of packet drops received on the network interfaceCount
NetworkNetwork Out DroppedNumber of packet drops transmitted from the network interfaceCount
NetworkNetwork In ErrorsNumber of packet errors received on the network interfaceCount
NetworkNetwork Out ErrorsNumber of packet errors transmitted from the network interfaceCount
Table. OS Basic Metrics

MariaDB Basic Metrics

CategoryPerformance ItemDetailed DescriptionUnitMeaningful Statistics
ActivelockActive locksNumber of active locksCount
ActivesessionActive sessionsNumber of active sessionsCount
ActivesessionConnection usageDB connection session usage ratePercent
ActivesessionConnectionsDB connection sessionCount
ActivesessionConnections(MAX)Maximum number of connections that can be attached to the DBCount
DatafileBinary log usedbinary log usage (MB)Megabytes
DatafileOpen filesNumber of DB files in open stateCount
DatafileOpen files(MAX)Number of DB files that can be openedCount
DatafileOpen files usageDB file maximum count usage ratePercent
DatafileRelay log usedRelay log usage (MB)Megabytes
InnoDBInnoDB buffer pool hit ratioPercent
InnoDBInnoDB row lock waitsNumber of InnoDB transactions currently waiting for a lock (Lock-wait)Count
InnoDBInnoDB row lock timeTotal time waited due to InnoDB row lock (in milliseconds)Count
InnoDBInnoDB deadlocksNumber of transactions rolled back due to deadlock occurrence (cumulative)Count
InnoDBInnoDB table locks waitsNumber of times waiting occurred to acquire table lock (cumulative)Count
StateInstance stateMariaDB Process status up/down checkCount
StateSlave behind master seconds (Replica Only)Replica delay (unit: seconds)Seconds
StateReplica Thread running (Replica Only)
StateReplica io thread running (Replica Only)
StateReplica SQL thread running (Replica Only)
TablespaceTablespace usedTablespace usageMegabytes
TablespaceTablespace used (TOTAL)Tablespace usage (total)Megabytes
TransactionsSlow queriesNumber of slow queriesCount
TransactionsTransaction timeLong Transaction timeSeconds
TransactionsWait locksNumber of sessions waiting for lockCount
TransactionsSQL Queries/SecTotal number (cumulative) of all queries (statements) received from clients since the server startedCount
Table. MariaDB Basic Metrics
Monitoring Metrics
How-to guides