Skip to main content
Version: NG-2.14

MariaDB

Introduction

MariaDB monitoring involves collecting and analyzing data related to the performance of a MariaDB database. By monitoring this data, potential performance issues can be identified, and corrective actions can be taken to enhance the database's efficiency and reliability.

Getting Started

Compatibility

The MariaDB O11ySource is designed to work with all versions greater than or equal to 11, and it has been tested with MariaDB 11.3.

Data Collection Method

The MariaDB O11ySource is configured to collect various kinds of metrics related to MariaDB Performance & MariaDB Engine Performance, Additionally, if MariaDB is deployed in non-standalone mode, it also collects metrics for Master-Slave. Error logs and slow log details are also captured.

vuSmartMaps uses an internal agent to collect MariaDB Performance Metrics, MariaDB Engine Performance Metrics, MariaDB Master-Slave Metrics, Logbeat agent is used to collect MariaDB Slow Logs, MariaDB Error Logs

Prerequisites

Dependent Configuration

To configure this O11ySource, create a 'credential' of type 'user' under the 'Definition' tab.

Inputs for Configuring Data Source

  • Instance Name: Please enter the name of the MariaDB instance. This should be a unique identifier for the specific MariaDB deployment you want to monitor.
  • DB Details: Please provide the details of DB
  • IP Address: IP address needs to be a valid IP Address.
  • Port: Enter a valid port
  • Credential: This field is required
  • DB Instance Role: DB Instance Role to indetify whether it is master or slave
  • DB Name: Name of the database to be polled for metrics
  • Metrics Collection Queries: These queries are utilized for MariaDB server's metrics.
  • Query: Choose the Queries
  • Polling Interval [seconds]: How frequently data is gathered. interval should be between 60 - 86400 seconds

Firewall Requirement

To collect data from this O11ySource, ensure the following ports are opened:

Source IPDestination IPDestination PortProtocolDirection
vuSmartMaps IPIP address of the MariaDB server3306*TCPOutbound
IP address of the MariaDB servervuSmartMaps Kafka Broker IP9092*TCPInbound

*Before providing the firewall requirements, please update the port based on the customer environment.

Configuring the Target

Configure Metrics Collection from MariaDB Server

  • On each MariaDB server, create a database user for the vuSmartMaps Agent.
  • *For MariaDB versions below 10.4, create the vunet user with the following command:
CREATE USER 'vunet'@'%' IDENTIFIED BY '<UNIQUEPASSWORD>';
  • *For MariaDB version 10.4 and above, create the vunet user with the native password hashing method:
CREATE USER 'vunet'@'%' IDENTIFIED WITH mysql_native_password '<UNIQUEPASSWORD>';
  • The vuSmartMaps agent required the below permissions to collect the metrics from MariaDB. Grant the vunet user only the following limited privileges:
  • *Grant replication client with the following command:
GRANT REPLICATION CLIENT ON *.* TO 'vunet'@'%';
  • *Grant replication client with the following command:
GRANT PROCESS ON *.* TO 'vunet'@'%';
  • *Grant replication client with the following command:
GRANT SELECT ON performance_schema.* TO 'vunet'@'%';


GRANT SELECT ON sys.schema_unused_indexes TO 'vunet'@'%';


GRANT SELECT ON sys.x$statements_with_full_table_scans TO 'vunet'@'%';
  • Performance Metrics must be enabled for MariaDB:
[mysqld]


performance_schema = ON

Configure Logs Collection from MariaDB Server

By default, MariaDB logs everything in /var/log/syslog. To make the logs more accessible, follow these steps:

  • Edit /etc/mysql/conf.d/mysqld_safe_syslog.cnf and remove or comment the lines.
  • Edit /etc/mysql/my.cnf and add the following lines to enable general, error, and slow query logs:
[mysqld_safe]


log_error = /var/log/mysql/mariadb_error.log


[mysqld]


general_log = on


general_log_file = /var/log/mysql/mariadb.log


log_error = /var/log/mysql/mariadb_error.log


slow_query_log = on


slow_query_log_file = /var/log/mysql/mariadb_slow.log


long_query_time = 2
  • Save the file and restart MariaDB using the following command:
service mariadb restart

Configuration Steps

  • Enable the O11ySource.
  • Select the Sources tab and press the + button to add Mariadb instance details that has to be monitored.
  • Set up metrics and log collection configurations.The O11ysource already provides predefined metric collection queries. You have the flexibility to adjust query intervals, modify existing queries, and introduce new queries as needed. Afterwards, select Save and Continue to proceed with downloading the Logbeat agent.
  • The following packages will be available for download based on the OS <Logbeat full install package> - Downloads the full Logbeat agent package with required configurations for a fresh installation <Logbeat config update package> - Downloads the agent configuration package to update an existing Logbeat installation
  • Download the agent installation or update package, then click Finish to close the data source window.

Metrics Collected

NameDescriptionData Type
timestampThe timestamp when the metrics were recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the metrics are collectedLowCardinality(String)
typeThe type of the entity being monitoredLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database for which the metrics are collectedLowCardinality(String)
uniqueIdUnique identifier for the recordLowCardinality(String)
Max_connectionsThe maximum number of simultaneous client connectionsUInt64
Key_buffer_sizeThe size of the key buffer used for MyISAM indexesUInt64
Max_prepared_stmt_countMaximum number of prepared statements allowedUInt64
Table_open_cacheThe number of open tables cacheUInt64
Thread_cache_sizeThe size of the thread cacheUInt64
Aborted_clientsThe number of connections aborted by the clientUInt64
Aborted_connectsThe number of failed connection attemptsUInt64
Binlog_cache_disk_useThe number of transactions stored in the binlog cache but overflowed to diskUInt64
Binlog_cache_useThe number of transactions using the binlog cacheUInt64
Bytes_receivedThe number of bytes received from all clientsUInt64
Bytes_sentThe number of bytes sent to all clientsUInt64
Threads_cachedNumber of threads in the cacheUInt64
Threads_connectedNumber of currently open connectionsUInt64
Threads_createdNumber of threads created to handle connectionsUInt64
Threads_runningNumber of threads actively executing queriesUInt64
ConnectionsTotal number of connection attemptsUInt64
Created_tmp_disk_tablesNumber of temporary tables created on diskUInt64
Created_tmp_filesNumber of temporary files createdUInt64
Created_tmp_tablesNumber of in-memory temporary tables createdUInt64
Max_used_connectionsThe highest number of simultaneous connectionsUInt64
Open_filesNumber of files open by the serverUInt64
Open_streamsNumber of open streams (used for logging)UInt64
Opened_tablesNumber of tables that have been openedUInt64
Open_tablesNumber of tables currently openUInt64
Table_locks_waitedNumber of times a table lock was not available immediately and had to be waited forUInt64
UptimeThe amount of time (in seconds) the server has been runningUInt64
QueriesThe total number of queries the server has handledUInt64
QuestionsThe total number of questions asked of the serverUInt64
Connection_errors_max_connectionsNumber of connection attempts refused due to reaching the max connection limitUInt64
Connection_errors_internalNumber of connection errors caused by internal problemsUInt64
Max_used_connections_timestampTimestamp when Max_used_connections was reachedString
Key_readsThe number of physical reads of a key block from the diskUInt64
Key_read_requestsThe number of requests to read a key blockUInt64
Prepared_stmt_countNumber of currently prepared SQL statementsUInt64
Slow_queriesNumber of queries that have taken longer than the long_query_time thresholdUInt64
Key_write_requestsThe number of requests to write a key blockUInt64
Key_writesThe number of physical writes to key blocks on diskUInt64
Handler_commitNumber of internal transaction commits performedUInt64
Handler_deleteNumber of rows deletedUInt64
Handler_prepareNumber of transaction prepares in two-phase commitUInt64
Handler_read_firstNumber of times the first entry was read from an indexUInt64
Handler_read_keyNumber of requests to read a row based on a keyUInt64
Handler_read_nextNumber of requests to read the next row in key orderUInt64
Handler_read_prevNumber of requests to read the previous row in key orderUInt64
Handler_read_rndNumber of requests to read a row based on a fixed positionUInt64
Handler_read_rnd_nextNumber of requests to read the next row in data file orderUInt64
Handler_rollbackNumber of rollback operations performedUInt64
Handler_updateNumber of rows updatedUInt64
Handler_writeNumber of rows insertedUInt64
SELECT_full_joinNumber of joins without indexes (full table scan joins)UInt64
SELECT_full_range_joinNumber of joins that used a range searchUInt64
SELECT_rangeNumber of joins that used range scans on indexed fieldsUInt64
SELECT_range_checkNumber of joins where key usage was checked after each rowUInt64
SELECT_scanNumber of full table scans performedUInt64
Sort_merge_passesNumber of merge passes performed during sort operationsUInt64
Sort_rangeNumber of sorts performed within a rangeUInt64
Sort_rowsNumber of rows sortedUInt64
Sort_scanNumber of full table sortsUInt64
Table_locks_immediateNumber of times a table lock was acquired immediately without waitingUInt64
Table_open_cache_hitsNumber of hits in the table cacheUInt64
Table_open_cache_missesNumber of misses in the table cacheUInt64
Aborted_clients_diffChange in Aborted_clients since the last measurementUInt64
Aborted_connects_diffChange in Aborted_connects since the last measurementUInt64
Binlog_cache_use_diffChange in Binlog_cache_use since the last measurementUInt64
Bytes_received_diffChange in Bytes_received since the last measurementUInt64
Bytes_sent_diffChange in Bytes_sent since the last measurementUInt64
Connections_diffChange in Connections since the last measurementUInt64
Created_tmp_disk_tables_diffChange in Created_tmp_disk_tables since the last measurementUInt64
Created_tmp_files_diffChange in Created_tmp_files since the last measurementUInt64
Created_tmp_tables_diffChange in Created_tmp_tables since the last measurementUInt64
Queries_diffChange in Queries since the last measurementUInt64
Table_locks_waited_diffChange in Table_locks_waited since the last measurementUInt64
Questions_diffChange in Questions since the last measurementUInt64
Connection_errors_max_connections_diffChange in Connection_errors_max_connections since the last measurementUInt64
Connection_errors_internal_diffChange in Connection_errors_internal since the last measurementUInt64
Slow_queries_diffChange in Slow_queries since the last measurementUInt64
Handler_commit_diffChange in Handler_commit since the last measurementUInt64
Handler_delete_diffChange in Handler_delete since the last measurementUInt64
Handler_prepare_diffChange in Handler_prepare since the last measurementUInt64
Handler_read_first_diffChange in Handler_read_first since the last measurementUInt64
Handler_read_key_diffChange in Handler_read_key since the last measurementUInt64
Handler_read_next_diffChange in Handler_read_next since the last measurementUInt64
Handler_read_prev_diffChange in Handler_read_prev since the last measurementUInt64
Handler_read_rnd_diffChange in Handler_read_rnd since the last measurementUInt64
Handler_read_rnd_next_diffChange in Handler_read_rnd_next since the last measurementUInt64
Handler_rollback_diffChange in Handler_rollback since the last measurementUInt64
Handler_update_diffChange in Handler_update since the last measurementUInt64
Handler_write_diffChange in Handler_write since the last measurementUInt64
SELECT_full_join_diffChange in SELECT_full_join since the last measurementUInt64
SELECT_full_range_join_diffChange in SELECT_full_range_join since the last measurementUInt64
SELECT_range_diffChange in SELECT_range since the last measurementUInt64
SELECT_range_check_diffChange in SELECT_range_check since the last measurementUInt64
SELECT_scan_diffChange in SELECT_scan since the last measurementUInt64
Sort_merge_passes_diffChange in Sort_merge_passes since the last measurementUInt64
Sort_range_diffChange in Sort_range since the last measurementUInt64
Sort_rows_diffChange in Sort_rows since the last measurementUInt64
Sort_scan_diffChange in Sort_scan since the last measurementUInt64
Table_locks_immediate_diffChange in Table_locks_immediate since the last measurementUInt64
Table_open_cache_hits_diffChange in Table_open_cache_hits since the last measurementUInt64
Table_open_cache_misses_diffChange in Table_open_cache_misses since the last measurementUInt64
timestampThe timestamp when the metrics were recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the metrics were collectedLowCardinality(String)
typeThe type of the entity being monitoredLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database for which the metrics are collectedLowCardinality(String)
uniqueIdUnique identifier for the recordLowCardinality(String)
Innodb_background_log_syncThe number of background log sync operations performed by InnoDBUInt64
Innodb_buffer_pool_bytes_dataTotal bytes of data in the InnoDB buffer poolUInt64
Innodb_buffer_pool_bytes_dirtyTotal bytes of dirty pages in the InnoDB buffer poolUInt64
Innodb_buffer_pool_pages_dataNumber of pages containing data in the buffer poolUInt64
Innodb_buffer_pool_pages_dirtyNumber of dirty pages in the buffer poolUInt64
Innodb_buffer_pool_pages_flushedNumber of buffer pool pages that have been flushedUInt64
Innodb_buffer_pool_pages_freeNumber of free pages in the InnoDB buffer poolUInt64
Innodb_buffer_pool_pages_totalTotal number of pages in the InnoDB buffer poolUInt64
Innodb_buffer_pool_read_aheadNumber of pages read ahead by the buffer poolUInt64
Innodb_buffer_pool_read_ahead_evictedNumber of pages read ahead but subsequently evictedUInt64
Innodb_buffer_pool_read_ahead_rndNumber of pages read ahead randomlyUInt64
Innodb_buffer_pool_read_requestsTotal number of logical read requestsUInt64
Innodb_buffer_pool_readsTotal number of physical reads performedUInt64
Innodb_buffer_pool_wait_freeNumber of times waiting for free buffer pool pagesUInt64
Innodb_buffer_pool_write_requestsTotal number of write requests to the buffer poolUInt64
Innodb_data_fsyncsNumber of fsync() operations on InnoDB data filesUInt64
Innodb_data_pending_fsyncsNumber of fsync() operations currently pendingUInt64
Innodb_data_pending_readsNumber of read operations currently pendingUInt64
Innodb_data_pending_writesNumber of write operations currently pendingUInt64
Innodb_data_readAmount of data read in bytesUInt64
Innodb_data_readsNumber of read operations performedUInt64
Innodb_data_writesNumber of write operations performedUInt64
Innodb_data_writtenAmount of data written in bytesUInt64
Innodb_dblwr_pages_writtenNumber of doublewrite pages writtenUInt64
Innodb_dblwr_writesNumber of doublewrite operationsUInt64
Innodb_log_waitsNumber of times log buffer waits occurredUInt64
Innodb_log_write_requestsNumber of log write requestsUInt64
Innodb_log_writesNumber of physical writes to the log fileUInt64
Innodb_os_log_writtenAmount of data written to the log file in bytesUInt64
Innodb_page_sizeInnoDB page sizeUInt64
Innodb_pages_createdNumber of pages created by InnoDBUInt64
Innodb_pages_readNumber of pages read by InnoDBUInt64
Innodb_pages_writtenNumber of pages written by InnoDBUInt64
Innodb_row_lock_current_waitsNumber of row lock waits currently in progressUInt64
Innodb_row_lock_timeTotal time spent in row lock waits in millisecondsUInt64
Innodb_row_lock_waitsNumber of times row locks were waited forUInt64
Innodb_buffer_pool_sizeSize of the buffer pool in pagesUInt64
Innodb_log_waits_diffChange in Innodb_log_waits since the last measurementUInt64
Innodb_log_waits_rateRate of Innodb_log_waits over timeFloat64
Innodb_log_write_requests_diffChange in Innodb_log_write_requests since the last measurementUInt64
Innodb_log_write_requests_rateRate of Innodb_log_write_requests over timeFloat64
Innodb_pages_read_diffChange in Innodb_pages_read since the last measurementUInt64
Innodb_pages_read_rateRate of Innodb_pages_read over timeFloat64
Innodb_data_written_diffChange in Innodb_data_written since the last measurementUInt64
Innodb_data_written_rateRate of Innodb_data_written over timeFloat64
Innodb_buffer_pool_wait_free_diffChange in Innodb_buffer_pool_wait_free since the last measurementUInt64
Innodb_buffer_pool_wait_free_rateRate of Innodb_buffer_pool_wait_free over timeFloat64
Innodb_pages_created_diffChange in Innodb_pages_created since the last measurementUInt64
Innodb_pages_created_rateRate of Innodb_pages_created over timeFloat64
Innodb_pages_written_diffChange in Innodb_pages_written since the last measurementUInt64
Innodb_pages_written_rateRate of Innodb_pages_written over timeFloat64
Innodb_buffer_pool_write_requests_diffChange in Innodb_buffer_pool_write_requests since the last measurementUInt64
Innodb_buffer_pool_write_requests_rateRate of Innodb_buffer_pool_write_requests over timeFloat64
Innodb_data_read_diffChange in Innodb_data_read since the last measurementUInt64
Innodb_data_read_rateRate of Innodb_data_read over timeFloat64
Innodb_buffer_pool_pages_flushed_diffChange in Innodb_buffer_pool_pages_flushed since the last measurementUInt64
Innodb_buffer_pool_pages_flushed_rateRate of Innodb_buffer_pool_pages_flushed over timeFloat64
Innodb_buffer_pool_read_requests_diffChange in Innodb_buffer_pool_read_requests since the last measurementUInt64
Innodb_buffer_pool_read_requests_rateRate of Innodb_buffer_pool_read_requests over timeFloat64
Innodb_data_fsyncs_diffChange in Innodb_data_fsyncs since the last measurementUInt64
Innodb_data_fsyncs_rateRate of Innodb_data_fsyncs over timeFloat64
Innodb_page_size_diffChange in Innodb_page_size since the last measurementUInt64
Innodb_page_size_rateRate of Innodb_page_size over timeFloat64
Innodb_data_reads_diffChange in Innodb_data_reads since the last measurementUInt64
Innodb_data_reads_rateRate of Innodb_data_reads over timeFloat64
Innodb_buffer_pool_reads_diffChange in Innodb_buffer_pool_reads since the last measurementUInt64
Innodb_buffer_pool_reads_rateRate of Innodb_buffer_pool_reads over timeFloat64
Innodb_data_writes_diffChange in Innodb_data_writes since the last measurementUInt64
Innodb_data_writes_rateRate of Innodb_data_writes over timeFloat64
Innodb_log_writes_diffChange in Innodb_log_writes since the last measurementUInt64
Innodb_log_writes_rateRate of Innodb_log_writes over timeFloat64
timestampThe timestamp when the metrics were recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the metrics were collectedLowCardinality(String)
typeThe type of the entity being monitoredLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database for which the metrics are collectedLowCardinality(String)
uniqueIdUnique identifier for the recordLowCardinality(String)
Com_deleteTotal number of DELETE operationsUInt64
Com_SELECTTotal number of SELECT operationsUInt64
Com_insertTotal number of INSERT operationsUInt64
Com_updateTotal number of UPDATE operationsUInt64
Com_delete_multiNumber of multi-table DELETE operationsUInt64
Com_insert_SELECTNumber of INSERT ... SELECT operationsUInt64
Com_replace_SELECTNumber of REPLACE ... SELECT operationsUInt64
Com_update_multiNumber of multi-table UPDATE operationsUInt64
Com_replaceTotal number of REPLACE operationsUInt64
Com_loadNumber of LOAD DATA operationsUInt64
Com_delete_diffChange in the number of DELETE operations since the last measurementUInt64
Com_insert_diffChange in the number of INSERT operations since the last measurementUInt64
Com_SELECT_diffChange in the number of SELECT operations since the last measurementUInt64
Com_update_diffChange in the number of UPDATE operations since the last measurementUInt64
Com_delete_multi_diffChange in the number of multi-table DELETE operations since the last measurementUInt64
Com_insert_SELECT_diffChange in the number of INSERT ... SELECT operations since the last measurementUInt64
Com_replace_SELECT_diffChange in the number of REPLACE ... SELECT operations since the last measurementUInt64
Com_update_multi_diffChange in the number of multi-table UPDATE operations since the last measurementUInt64
Com_replace_diffChange in the number of REPLACE operations since the last measurementUInt64
Com_load_diffChange in the number of LOAD DATA operations since the last measurementUInt64
timestampThe timestamp when the metrics were recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the metrics were collectedLowCardinality(String)
typeThe type of the entity being monitoredLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database for which the metrics are collectedLowCardinality(String)
table_scan_queryThe query that performed the table scanString
table_scan_exec_countThe number of executions of the table scanUInt64
table_scan_total_latencyTotal latency incurred by the table scan in microsecondsUInt64
table_scan_no_index_used_pctPercentage of scans where no index was usedString
table_scan_row_sent_avgAverage number of rows sent during table scansString
table_scan_rows_examinedTotal number of rows examined during the table scanString
table_scan_first_seenFirst time the table scan was observedDateTime
table_scan_last_seenLast time the table scan was observedDateTime
timestampThe timestamp when the metrics were recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the metrics were collectedLowCardinality(String)
typeThe type of the entity being monitoredLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database for which the metrics are collectedLowCardinality(String)
Master_idUnique identifier for the master server in replicationLowCardinality(String)
PortPort used for communicationLowCardinality(String)
Server_idUnique identifier for the server in replicationLowCardinality(String)
Master_HostHostname of the master serverLowCardinality(String)
Connect_RetryNumber of seconds between connection retry attemptsUInt64
Exec_Master_Log_PosPosition in the master's log file where replication startsUInt64
Gtid_IO_PosCurrent GTID (Global Transaction Identifier) position for replicationString
Last_ErrnoError number from the last replication eventUInt64
Last_ErrorDescription of the last errorString
Last_IO_ErrnoError number from the last I/O event during replicationUInt64
Last_IO_ErrorDescription of the last I/O error during replicationString
Last_SQL_ErrnoError number from the last SQL event during replicationUInt64
Last_SQL_ErrorDescription of the last SQL error during replicationString
Master_Log_FileLog file name on the master serverString
Master_PortPort number used by the master serverString
Master_SSL_AllowedIndicates whether SSL is allowed for the master connectionString
Master_SSL_CA_FileSSL CA file used for the master connectionString
Master_SSL_CA_PathSSL CA path used for the master connectionString
Master_SSL_CertSSL certificate used for the master connectionString
Master_SSL_CipherSSL cipher used for the master connectionString
Master_SSL_CrlSSL CRL (Certificate Revocation List) used for the master connectionString
Master_SSL_CrlpathSSL CRL path used for the master connectionString
Master_SSL_KeySSL key used for the master connectionString
Master_SSL_Verify_Server_CertIndicates if the master's server certificate is verifiedString
Master_Server_IdUnique identifier of the master serverString
Master_UserUsername for connecting to the master serverString
Parallel_ModeThe replication parallel mode being usedString
Read_Master_Log_PosPosition of the last read event in the master's log fileUInt64
Relay_Log_FileName of the relay log fileString
Relay_Log_PosPosition in the relay log fileUInt64
Relay_Log_SpaceTotal space used by the relay logUInt64
Relay_Master_Log_FileLog file on the master server that the relay log is readingString
Replicate_Do_DBDatabases to replicateString
Replicate_Do_Domain_IdsDomain IDs to replicateString
Replicate_Do_TableTables to replicateString
Replicate_Ignore_DBDatabases to ignore for replicationString
Replicate_Ignore_Domain_IdsDomain IDs to ignore for replicationString
Replicate_Ignore_Server_IdsServer IDs to ignore for replicationString
Replicate_Ignore_TableTables to ignore for replicationString
Replicate_Rewrite_DBDatabase names to rewrite during replicationString
Replicate_Wild_Do_TableTables with wildcards to replicateString
Replicate_Wild_Ignore_TableTables with wildcards to ignore during replicationString
SQL_DelaySeconds to delay replicationUInt64
Seconds_Behind_MasterTime in seconds the slave is behind the masterUInt64
Skip_CounterNumber of events to skip during replicationUInt64
Slave_DDL_GroupsNumber of Data Definition Language (DDL) groups processedUInt64
Slave_IO_RunningIndicates whether the I/O thread is runningString
Slave_IO_StateState of the slave's I/O threadString
Slave_Non_Transactional_GroupsNumber of non-transactional groups processedUInt64
Slave_SQL_RunningIndicates whether the SQL thread is runningString
Slave_SQL_Running_StateState of the SQL thread in replicationString
Slave_Transactional_GroupsNumber of transactional groups processedUInt64
Until_ConditionCondition to stop replicationString
Until_Log_FileLog file to stop replicationString
Until_Log_PosLog position to stop replicationUInt64
Using_GtidIndicates if GTID is being used for replicationString
Last_Errno_diffChange in the error number from the last replication eventUInt64
Last_IO_Errno_diffChange in the I/O error number from the last replication eventUInt64
Last_SQL_Errno_diffChange in the SQL error number from the last replication eventUInt64
timestampThe timestamp when the metrics were recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the metrics were collectedLowCardinality(String)
typeThe type of the entity being monitoredLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database for which the metrics are collectedLowCardinality(String)
object_schemaThe schema of the database objectString
object_nameThe name of the database object (e.g. table index)String
index_nameThe name of the indexString
total_size_mbThe total size of the index in megabytesFloat64
timestampThe timestamp when the metrics were recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the metrics were collectedLowCardinality(String)
typeThe type of the entity being monitoredLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database for which the metrics are collectedLowCardinality(String)
IDUnique identifier for the processUInt64
USERThe user executing the commandString
HOSTThe host from which the command is executedString
COMMANDThe command being executedString
TIMETime in seconds the command has been runningUInt64
STATECurrent state of the commandString
timestampThe timestamp when the metrics were recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the metrics were collectedLowCardinality(String)
typeThe type of the entity being monitoredLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database for which the metrics are collectedLowCardinality(String)
uniqueIdUnique identifier for the recordLowCardinality(String)
Query_cache_sizeTotal size of the query cache in bytesUInt64
Qcache_hitsTotal number of cache hitsUInt64
Qcache_insertsTotal number of queries added to the cacheUInt64
Qcache_lowmem_prunesTotal number of queries removed from the cache due to low memoryUInt64
Qcache_total_blocksTotal number of blocks in the query cacheUInt64
Qcache_free_blocksNumber of free blocks in the query cacheUInt64
Qcache_free_memoryAmount of free memory in the query cache in bytesUInt64
Qcache_not_cachedNumber of queries that were not cachedUInt64
Qcache_queries_in_cacheCurrent number of queries in the cacheUInt64
Qcache_not_cached_diffChange in the number of uncached queriesUInt64
Qcache_queries_in_cache_diffChange in the number of cached queriesUInt64
timestampThe timestamp when the log was recordedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the log was generatedLowCardinality(String)
typeThe type of log entryLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameName of the database associated with the logLowCardinality(String)
ThreadIdIdentifier for the thread that generated the logString
LogLevelThe severity level of the log entry (e.g. INFO ERROR)String
LogmessageThe log message itselfString
tagsAn array of additional tags or metadata related to the log entryArray(String)
timestampThe timestamp when the query was executedDateTime
tenant_idThe tenant IDLowCardinality(String)
bu_idThe business unit IDLowCardinality(String)
hostThe host name where the query was executedLowCardinality(String)
typeThe type of log entryLowCardinality(String)
ClusterIDName of the culster for which the metrics are collectedLowCardinality(String)
DBNameThe name of the database associated with the queryLowCardinality(String)
UserThe user who executed the queryString
IPAddressThe IP address from which the query was initiatedLowCardinality(String)
ThreadIdThe thread ID associated with the query executionString
QueryTimeThe time taken to execute the query in secondsFloat64
LockTimeThe time spent waiting for locks during query execution in secondsFloat64
RowsSentThe number of rows sent back to the clientUInt64
RowsExaminedThe number of rows examined during query executionUInt64
RowsAffectedThe number of rows affected during query executionUInt64
BytesSentThe number of bytes sent during query executionUInt64
QueryThe SQL query that was executedString
QCHitQuery Cache Hit StatusString
tagsAn array of additional tags or metadata related to the queryArray(String)