Galera Cluster Status Variables
Viewing Galera Cluster Status Variables
Galera status variables can be viewed with the SHOW STATUS statement.
SHOW STATUS LIKE 'wsrep%';See also the Full list of MariaDB options, system and status variables.
List of Galera Cluster status variables
MariaDB Galera Cluster has the following status variables:
wsrep_applier_thread_count
wsrep_applier_thread_countDescription: Stores the current number of applier threads to make clear how many slave threads of this type there are.
wsrep_apply_oooe
wsrep_apply_oooeDescription: How often write sets have been applied out of order, an indicator of parallelization efficiency.
wsrep_apply_oool
wsrep_apply_ooolDescription: How often write sets with a higher sequence number were applied before ones with a lower sequence number, implying slow write sets.
wsrep_apply_window
wsrep_apply_windowDescription: Average distance between highest and lowest concurrently applied seqno.
wsrep_cert_deps_distance
wsrep_cert_deps_distanceDescription: Average distance between the highest and the lowest sequence numbers that can possibly be applied in parallel, or the potential degree of parallelization.
wsrep_cert_index_size
wsrep_cert_index_sizeDescription: The number of entries in the certification index.
wsrep_cert_interval
wsrep_cert_intervalDescription: Average number of transactions received while a transaction replicates.
wsrep_cluster_capabilities
wsrep_cluster_capabilitiesDescription:
wsrep_cluster_conf_id
wsrep_cluster_conf_idDescription: Total number of cluster membership changes that have taken place.
wsrep_cluster_size
wsrep_cluster_sizeDescription: Number of nodes currently in the cluster.
wsrep_cluster_state_uuid
wsrep_cluster_state_uuidDescription: UUID state of the cluster. If it matches the value in wsrep_local_state_uuid, the local and cluster nodes are in sync.
wsrep_cluster_status
wsrep_cluster_statusDescription: Cluster component status. Possible values are
PRIMARY(primary group configuration, quorum present),NON_PRIMARY(non-primary group configuration, quorum lost), orDISCONNECTED(not connected to group, retrying).
wsrep_cluster_weight
wsrep_cluster_weightDescription: The total weight of the current members in the cluster. The value is counted as a sum of pc.weight of the nodes in the current primary component.
wsrep_commit_oooe
wsrep_commit_oooeDescription: How often a transaction was committed out of order.
wsrep_commit_oool
wsrep_commit_ooolDescription: No meaning.
wsrep_commit_window
wsrep_commit_windowDescription: Average distance between highest and lowest concurrently committed seqno.
wsrep_connected
wsrep_connectedDescription: Whether or not MariaDB is connected to the wsrep provider. Possible values are
ONorOFF.
wsrep_desync_count
wsrep_desync_countDescription: Returns the number of operations in progress that require the node to temporarily desync from the cluster.
wsrep_evs_delayed
wsrep_evs_delayedDescription: Provides a comma separated list of all the nodes this node has registered on its delayed list.
wsrep_evs_evict_list
wsrep_evs_evict_listDescription: Lists the UUID’s of all nodes evicted from the cluster. Evicted nodes cannot rejoin the cluster until you restart their mysqld processes.
wsrep_evs_repl_latency
wsrep_evs_repl_latencyDescription: This status variable provides figures for the replication latency on group communication. It measures latency (in seconds) from the time point when a message is sent out to the time point when a message is received. As replication is a group operation, this essentially gives you the slowest ACK and longest RTT in the cluster. The format is min/avg/max/stddev
wsrep_evs_state
wsrep_evs_stateDescription: Shows the internal state of the EVS protocol.
wsrep_flow_control_paused
wsrep_flow_control_pausedDescription: The fraction of time since the last FLUSH STATUS command that replication was paused due to flow control.
wsrep_flow_control_paused_ns
wsrep_flow_control_paused_nsDescription: The total time spent in a paused state measured in nanoseconds.
wsrep_flow_control_recv
wsrep_flow_control_recvDescription: Number of FC_PAUSE events received as well as sent since the most recent status query.
wsrep_flow_control_sent
wsrep_flow_control_sentDescription: Number of FC_PAUSE events sent since the most recent status query
wsrep_gcomm_uuid
wsrep_gcomm_uuidDescription: The UUID assigned to the node.
wsrep_incoming_addresses
wsrep_incoming_addressesDescription: Comma-separated list of incoming server addresses in the cluster component.
wsrep_last_committed
wsrep_last_committedDescription: Sequence number of the most recently committed transaction.
wsrep_local_bf_aborts
wsrep_local_bf_abortsDescription: Total number of local transactions aborted by slave transactions while being executed
wsrep_local_cached_downto
wsrep_local_cached_downtoDescription: The lowest sequence number, or seqno, in the write-set cache (GCache).
wsrep_local_cert_failures
wsrep_local_cert_failuresDescription: Total number of local transactions that failed the certification test.
wsrep_local_commits
wsrep_local_commitsDescription: Total number of local transactions committed on the node.
wsrep_local_index
wsrep_local_indexDescription: The node's index in the cluster. The index is zero-based.
wsrep_local_recv_queue
wsrep_local_recv_queueDescription: Current length of the receive queue, which is the number of write sets waiting to be applied.
wsrep_local_recv_queue_avg
wsrep_local_recv_queue_avgDescription: Average length of the receive queue since the most recent status query. If this value is noticeably larger than zero, the node is likely to be overloaded and cannot apply the write sets as quickly as they arrive, resulting in replication throttling.
wsrep_local_recv_queue_max
wsrep_local_recv_queue_maxDescription: The maximum length of the recv queue since the last FLUSH STATUS command.
wsrep_local_recv_queue_min
wsrep_local_recv_queue_minDescription: The minimum length of the recv queue since the last FLUSH STATUS command.
wsrep_local_replays
wsrep_local_replaysDescription: Total number of transaction replays due to asymmetric lock granularity.
wsrep_local_send_queue
wsrep_local_send_queueDescription: Current length of the send queue, which is the number of write sets waiting to be sent.
wsrep_local_send_queue_avg
wsrep_local_send_queue_avgDescription: Average length of the send queue since the most recent status query. If this value is noticeably larger than zero, there are most likely network throughput or replication throttling issues.
wsrep_local_send_queue_max
wsrep_local_send_queue_maxDescription: The maximum length of the send queue since the last FLUSH STATUS command.
wsrep_local_send_queue_min
wsrep_local_send_queue_minDescription: The minimum length of the send queue since the last FLUSH STATUS command.
wsrep_local_state
wsrep_local_stateDescription: Internal Galera Cluster FSM state number.
wsrep_local_state_comment
wsrep_local_state_commentDescription: Human-readable explanation of the state.
wsrep_local_state_uuid
wsrep_local_state_uuidDescription: The node's UUID state. If it matches the value in wsrep_cluster_state_uuid, the local and cluster nodes are in sync.
wsrep_open_connections
wsrep_open_connectionsDescription: The number of open connection objects inside the wsrep provider.
wsrep_open_transactions
wsrep_open_transactionsDescription: The number of locally running transactions that have been registered inside the wsrep provider. This means transactions that have made operations that have caused write set population to happen. Transactions that are read-only are not counted.
wsrep_protocol_version
wsrep_protocol_versionDescription: The wsrep protocol version being used.
wsrep_provider_name
wsrep_provider_nameDescription: The name of the provider. The default is "Galera".
wsrep_provider_vendor
wsrep_provider_vendorDescription: The vendor string.
wsrep_provider_version
wsrep_provider_versionDescription: The version number of the Galera wsrep provider
wsrep_ready
wsrep_readyDescription: Whether or not the Galera wsrep provider is ready. Possible values are
ONorOFF
wsrep_received
wsrep_receivedDescription: Total number of write sets received from other nodes.
wsrep_received_bytes
wsrep_received_bytesDescription: Total size in bytes of all write sets received from other nodes.
wsrep_repl_data_bytes
wsrep_repl_data_bytesDescription: Total size of data replicated.
wsrep_repl_keys
wsrep_repl_keysDescription: Total number of keys replicated.
wsrep_repl_keys_bytes
wsrep_repl_keys_bytesDescription: Total size of keys replicated.
wsrep_repl_other_bytes
wsrep_repl_other_bytesDescription: Total size of other bits replicated.
wsrep_replicated
wsrep_replicatedDescription: Total number of write sets replicated to other nodes.
wsrep_replicated_bytes
wsrep_replicated_bytesDescription: Total size in bytes of all write sets replicated to other nodes.
wsrep_rollbacker_thread_count
wsrep_rollbacker_thread_countDescription: Stores the current number of rollbacker threads to make clear how many slave threads of this type there are.
wsrep_thread_count
wsrep_thread_countDescription: Total number of wsrep (applier/rollbacker) threads.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

