statd
Metrics for MariaDB Xpand
This page is part of MariaDB's Documentation.
The parent of this page is: Monitoring for MariaDB Xpand
Topics on this page:
Overview
The following is a list of frequently used stats available from statd_metadata.name
.
Statistics are available as either counters or gauges. Counters are additive whereas a gauge captures a statistic at a given point of time and can be used to graph movement of that statistic.
Use the REGEXP
function to query the following statistics. This example queries transactions per second from the prior 24 hours:
sql> USE clustrix_statd;
sql> SELECT timestamp, value, name
FROM clustrix_statd.statd_history
NATURAL JOIN clustrix_statd.statd_metadata
WHERE name REGEXP 'tps$'
AND timestamp > now() - interval 1 day
ORDER BY timestamp DESC;
Connections
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.stats.connections | connections | Total number of connections to the cluster | Number of connections | counter |
Diagnostic
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.containers.count | containers.count | Number of containers in use by Xpand | Container Count | gauge |
clustrix.cluster.nodes_ | nodes_ | Number of nodes currently online and in the cluster | Number of nodes online | gauge |
clustrix.stats.bigc_ | bigc_ | XID value through which garbage collection will clean up | BigC value by node | gauge |
clustrix.stats.fc_ | fc_ | Total time all queries spent waiting for flow control (inter-node communication) | Time waiting on flow control | counter |
clustrix.stats.key_ | key_ | Number of times the PD Cache issued update keys. This statistic is sometimes useful for support. | PD Cache keys updated | counter |
clustrix.stats.layer_ | layer_ | Size is bytes of layer merge operations by node | Layer merge bytes by node | counter |
clustrix.stats.layer_ | layer_ | Number of rows merged by layer merge operations by node | Layer merge rows by node | counter |
clustrix.stats.pdcache_ | pdcache_ | Number of times the PD Cache fetched new PDs | PD Cache fetches by node | counter |
clustrix.stats.pdcache_ | pdcache_ | Number of times the PD Cache loaded new PDs | PD Cache loaded by node | counter |
clustrix.stats.qpc_ | qpc_ | Number of times a query was missed by the QPC | Query Plan Cache, misses | counter |
clustrix.stats.qpc_ | qpc_ | Number of times the QPC recompiled queries | Query Plan Cache, recompiles | counter |
clustrix.stats.queries_ | queries_ | Number of queries on the cluster not using any index | Queries not using indexes | counter |
clustrix.stats.walltime_ | walltime_ | Total wall time (elapsed) of read or write queries | Wall time of read or write queries | counter |
Monitoring
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.rebalancer_ | rebalancer_ | Metrics for various Rebalancer actions | Various Rebalancer actions. | counter |
clustrix.cluster.total_ | cluster.total_ | The total number of nodes configured for your cluster (not just in quorum) | Total number of nodes | gauge |
Networking
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.io.network.latency_ | latency_ | Network latency average per node | Network Latency avg by node | gauge |
clustrix.io.network.latency_ | latency_ | Network latency min/max/avg | Network latency min/max/avg | gauge |
Performance
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.activity.core0.node.nn |
| TIL CPU core-0 utilization by node | Til CPU Core-0 by node | gauge |
clustrix.activity.til_ |
| Average core utilization for the cluster, excluding core-0 | Average Til CPU | gauge |
clustrix.activity.til_ |
| Average TIL core (non core-0) utilization per node in a cluster | Average Til CPU by node | gauge |
clustrix.activity.til_ |
| TIL CPU core (non core-0) utilization min/max/avg | Til CPU min/max/avg by node | gauge |
clustrix.activity.til_ |
| Max core utilization for the cluster, excluding core-0 | Max Til CPU | gauge |
clustrix.activity.til_ |
| Average TIL core (non core-0) utilization per node in a cluster | Max Til CPU by node | gauge |
clustrix.cpu.load_ |
| CPU Core min/max database utilization only | Database CPU min/max | gauge |
clustrix.cpu.load.node.nn.cpu.0 |
| CPU Core-0 by node database utilization only | Database CPU Core only core-0 by node | gauge |
clustrix.cpu.load.node.nn.cpu.nn |
| CPU Cores excluding core-0 by node database utilization only | Database CPU core excluding core-0 by node | gauge |
clustrix.lockman.wait_ |
| Total time all queries spent waiting on locks | Time waiting on query locks | gauge |
clustrix.qps |
| Cluster wide Queries per second | Cluster QPS | gauge |
clustrix.response_ |
| Cluster query read latency, number of queries divided by runtime | Cluster read latency | gauge |
clustrix.response_ |
| Cluster query write latency, number of queries divided by runtime | Cluster write latency | gauge |
clustrix.stats.executing_ |
| The number of sessions currently executing | Sessions currently executing | gauge |
clustrix.stats.qps_ |
| Queries per second by node | QPS by node | counter |
clustrix.stats.tm_ |
| The total amount of time queries spent waiting due to the fair scheduler | Fair Scheduler wait time | counter |
clustrix.stats.tps_ |
| Transactions per second by node | TPS by node | counter |
clustrix.tps |
| Cluster wide Transactions per second | Cluster TPS | gauge |
Queries
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.stats.Com_ | Com_ | Number of queries separated by query type | Queries by type | counter |
clustrix.stats.Com_ | Com_ | Amount of run time by query type | Time per query type | gauge |
clustrix.stats.runtime_ | runtime_ | Total runtime of read queries | Runtime of read queries | counter |
clustrix.stats.runtime_ | runtime_ | Total runtime of write queries | Runtime of write queries | counter |
Replication
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.replication.slave.relay_ | relay_ | Size in bytes of the relay logs for the replication slave | Relay log bytes for all slaves | gauge |
clustrix.replication.slave.bytes_ | slave.bytes_ | Bytes read by the replication slave | Bytes read by slave | counter |
clustrix.replication.slave.events_ | events_ | Number of events read by the replication slave | Events read by slave | counter |
clustrix.replication.slave.seconds_ | seconds_ | Seconds behind master value for all replication slaves | Slave seconds behind master | gauge |
Rows
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.containers.rows_ | rows_ | Number of rows read by node at the container level | Rows read by node, container | counter |
clustrix.containers.rows_ | rows_ | Number of rows written by node at the container level | Rows written by node, container | counter |
clustrix.containers.rows_ | rows_ | Number of rows deleted, inserted and updated at the container level | Rows, deleted, inserted, updated | counter |
clustrix.containers.rows_ | containers.rows_ | Number of rows read and written at the container level | Rows read and written, container | counter |
clustrix.containers.rows_ | rows_ | Number of rows deletes at the container level | Rows deleted, container level | counter |
clustrix.containers.rows_ | rows_ | Number of rows inserted at the container level | Rows inserted, container level | counter |
clustrix.containers.rows_ | containers.rows_ | Number of rows read at the container level | Rows read, container level | counter |
clustrix.containers.rows_ | rows_ | Number of rows updated at the container level | Rows updated, container level | counter |
clustrix.containers.rows_ | rows_ | Number of rows written at the container level | Rows written, container level | counter |
clustrix.stats.tm_ | tm_ | Number of rows written by queries | Rows written, transaction manager | counter |
clustrix.stats.tm_ | tm_ | Number of rows read by queries | Rows read, transaction manager | counter |
Storage
Metric Name | REGEXP | Description | Measures | Graph as |
---|---|---|---|---|
clustrix.capacity.disks.(avg|max|min)_ | [avg|max|min]_ | The min/max/avg disk capacity used | Percentage of disks in use | gauge |
clustrix.io.disk.bytes_ | disk.bytes_ | Not applicable for virtual environments (i.e. i3s). | Bytes read at the kernel level | counter |
clustrix.io.disk.bytes_ | disk.bytes_ | Not applicable for virtual environments (i.e. i3s). | Bytes written at the kernel level | counter |
clustrix.io.disk.pct_ | disk.pct_ | Disk utilization metric for individual physical disks hosting the vdev file (e.g. through an md RAID device) | Disk utilization | gauge |
clustrix.io.disk.read_ | read_ | Average read latency from IO time over the same period | Storage read latency, kernel level by node | gauge |
clustrix.io.disk.write_ | write_ | Average write latency from IO time over the same period | Storage write latency, kernel level by node | gauge |
clustrix.io.vdevs.bytes_ | bytes_ | Device1 bytes read, cluster level | Device1 bytes read, cluster level | counter |
clustrix.io.vdev.bytes_ | bytes_ | Device1 bytes read by node | Device1 bytes read by node | counter |
clustrix.io.vdevs.bytes_ | bytes_ | Device1 bytes read per second | Device1 bytes read per second | gauge |
clustrix.io.vdevs.bytes_ | bytes_ | Device1 bytes written, cluster level | Device1 bytes written, cluster level | counter |
clustrix.io.vdev.bytes_ | bytes_ | Device1 bytes written by node | Device1 bytes written by node | counter |
clustrix.io.vdevs.bytes_ | bytes_ | Device1 bytes written per second | Device1 bytes written per second | gauge |
clustrix.io.vdev.read_ | read_ | Device1 read latency by node | Device1 read latency by node | gauge |
clustrix.io.vdev.sync_ | sync_ | Device1 sync latency by node | Device1 sync latency by node | gauge |
clustrix.io.vdev.write_ | write_ | Device1 write latency by node | Device1 write latency by node | gauge |