Server Status Variables
Most status variables are described on this page, but some are described elsewhere:
Use the SHOW STATUS statement to view status variables. This information also can be obtained using the mariadb-admin extended-status command, or by querying the Information Schema GLOBAL_STATUS and SESSION_STATUS tables.
Issuing a FLUSH STATUS will reset many status variables to zero.
List of Server Status Variables
Aborted_clients
Aborted_clientsDescription: Number of aborted client connections. This can be due to the client not calling mysql_close() before exiting, the client sleeping without issuing a request to the server for more seconds than specified by wait_timeout or interactive_timeout, or by the client program ending in the midst of transferring data. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Aborted_connects
Aborted_connectsDescription: Number of failed server connection attempts. This can be due to a client using an incorrect password, a client not having privileges to connect to a database, a connection packet not containing the correct information, or if it takes more than connect_timeout seconds to get a connect packet. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Aborted_connects_preauth
Aborted_connects_preauthDescription: Number of connection attempts that were aborted prior to authentication (regardless of whether or not an error occured).
Scope: Global
Data Type:
numeric
Access_denied_errors
Access_denied_errorsDescription: Number of access denied errors. For details on when this is incremented, see Incrementing of the access_denied_errors status variable.
Scope: Global
Data Type:
numeric
Acl_column_grants
Acl_column_grantsDescription: Number of column permissions granted (rows in the mysql.columns_priv table).
Scope: Global
Data Type:
numeric
Acl_database_grants
Acl_database_grantsDescription: Number of database permissions granted (rows in the mysql.db table).
Scope: Global
Data Type:
numeric
Acl_function_grants
Acl_function_grantsDescription: Number of function permissions granted (rows in the mysql.procs_priv table with a routine type of
FUNCTION).Scope: Global
Data Type:
numeric
Acl_package_body_grants
Acl_package_body_grantsDescription:
Scope: Global
Data Type:
numeric
Acl_package_spec_grants
Acl_package_spec_grantsDescription:
Scope: Global
Data Type:
numeric
Acl_procedure_grants
Acl_procedure_grantsDescription: Number of procedure permissions granted (rows in the mysql.procs_priv table with a routine type of
PROCEDURE).Scope: Global
Data Type:
numeric
Acl_proxy_users
Acl_proxy_usersDescription: Number of proxy permissions granted (rows in the mysql.proxies_priv table).
Scope: Global
Data Type:
numeric
Acl_role_grants
Acl_role_grantsDescription: Number of role permissions granted (rows in the mysql.roles_mapping table).
Scope: Global
Data Type:
numeric
Acl_roles
Acl_rolesDescription: Number of roles (rows in the mysql.user table where
is_role='Y').Scope: Global
Data Type:
numeric
Acl_table_grants
Acl_table_grantsDescription: Number of table permissions granted (rows in the mysql.tables_priv table).
Scope: Global
Data Type:
numeric
Acl_users
Acl_usersDescription: Number of users (rows in the mysql.user table where
is_role='N').Scope: Global
Data Type:
numeric
Busy_time
Busy_timeDescription: Cumulative time in seconds of activity on connections. Part of User Statistics. Requires the userstat system variable to be set in order to be recorded.
Scope: Global
Data Type:
numeric
Bytes_received
Bytes_receivedDescription: Total bytes received from all clients.
Scope: Global
Data Type:
numeric
Bytes_sent
Bytes_sentDescription: Total bytes sent to all clients.
Scope: Global, Session
Data Type:
numeric
Com_admin_commands
Com_admin_commandsDescription: Number of admin commands executed. These include table dumps, change users, binary log dumps, shutdowns, pings and debugs.
Scope: Global, Session
Data Type:
numeric
Com_alter_db
Com_alter_dbDescription: Number of ALTER DATABASE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_alter_db_upgrade
Com_alter_db_upgradeDescription: Number of ALTER DATABASE ... UPGRADE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_alter_event
Com_alter_eventDescription: Number of ALTER EVENT commands executed.
Scope: Global, Session
Data Type:
numeric
Com_alter_function
Com_alter_functionDescription: Number of ALTER FUNCTION commands executed.
Scope: Global, Session
Data Type:
numeric
Com_alter_procedure
Com_alter_procedureDescription: Number of ALTER PROCEDURE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_alter_sequence
Com_alter_sequenceDescription: Number of ALTER SEQUENCE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_alter_server
Com_alter_serverDescription: Number of ALTER SERVER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_alter_table
Com_alter_tableDescription: Number of ALTER TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_alter_tablespace
Com_alter_tablespaceDescription: Number of ALTER TABLESPACE commands executed (unsupported by MariaDB).
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.7.0
Com_alter_user
Com_alter_userDescription: Number of ALTER USER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_analyze
Com_analyzeDescription: Number of ANALYZE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_assign_to_keycache
Com_assign_to_keycacheDescription: Number of assign to keycache commands executed.
Scope: Global, Session
Data Type:
numeric
Com_backup
Com_backupDescription:
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.4.1
Com_backup_lock
Com_backup_lockDescription:
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.4.2
Com_backup_table
Com_backup_tableDescription: Removed in MariaDB 5.5. In older versions, Com_backup_table contains the number of BACKUP TABLE commands executed.
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 5.5
Com_begin
Com_beginDescription: Number of BEGIN or START TRANSACTION statements executed.
Scope: Global, Session
Data Type:
numeric
Com_binlog
Com_binlogDescription: Number of BINLOG commands executed.
Scope: Global, Session
Data Type:
numeric
Com_call_procedure
Com_call_procedureDescription: Number of CALL procedure_name statements executed.
Scope: Global, Session
Data Type:
numeric
Com_change_db
Com_change_dbDescription: Number of USE database_name commands executed.
Scope: Global, Session
Data Type:
numeric
Com_check
Com_checkDescription: Number of CHECK TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_checksum
Com_checksumDescription: Number of CHECKSUM TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_commit
Com_commitDescription: Number of COMMIT commands executed. Differs from Handler_commit, which counts internal commit statements.
Scope: Global, Session
Data Type:
numeric
Com_compound_sql
Com_compound_sqlDescription: Number of compund sql statements.
Scope: Global, Session
Data Type:
numeric
Com_create_db
Com_create_dbDescription: Number of CREATE DATABASE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_event
Com_create_eventDescription: Number of CREATE EVENT commands executed. Differs from Executed_events in that it is incremented when the CREATE EVENT is run, and not when the event executes.
Scope: Global, Session
Data Type:
numeric
Com_create_function
Com_create_functionDescription: Number of CREATE FUNCTION commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_index
Com_create_indexDescription: Number of CREATE INDEX commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_package
Com_create_packageDescription:
Scope: Global, Session
Data Type:
numeric
Com_create_package_body
Com_create_package_bodyDescription:
Scope: Global, Session
Data Type:
numeric
Com_create_procedure
Com_create_procedureDescription: Number of CREATE PROCEDURE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_role
Com_create_roleDescription: Number of CREATE ROLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_sequence
Com_create_sequenceDescription: Number of CREATE SEQUENCE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_server
Com_create_serverDescription: Number of CREATE SERVER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_table
Com_create_tableDescription: Number of CREATE TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_temporary_table
Com_create_temporary_tableDescription: Number of CREATE TEMPORARY TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_trigger
Com_create_triggerDescription: Number of CREATE TRIGGER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_udf
Com_create_udfDescription: Number of CREATE UDF commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_user
Com_create_userDescription: Number of CREATE USER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_create_view
Com_create_viewDescription: Number of CREATE VIEW commands executed.
Scope: Global, Session
Data Type:
numeric
Com_dealloc_sql
Com_dealloc_sqlDescription: Number of DEALLOCATE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_delete
Com_deleteDescription: Number of DELETE commands executed. Differs from Handler_delete, which counts the number of times rows have been deleted from tables.
Scope: Global, Session
Data Type:
numeric
Com_delete_multi
Com_delete_multiDescription: Number of multi-table DELETE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_do
Com_doDescription: Number of DO commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_db
Com_drop_dbDescription: Number of DROP DATABASE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_event
Com_drop_eventDescription: Number of DROP EVENT commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_function
Com_drop_functionDescription: Number of DROP FUNCTION commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_index
Com_drop_indexDescription: Number of DROP INDEX commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_package
Com_drop_packageDescription:
Scope: Global, Session
Data Type:
numeric
Com_drop_package_body
Com_drop_package_bodyDescription:
Scope: Global, Session
Data Type:
numeric
Com_drop_procedure
Com_drop_procedureDescription: Number of DROP PROCEDURE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_role
Com_drop_roleDescription: Number of DROP ROLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_sequence
Com_drop_sequenceDescription: Number of DROP SEQUENCE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_server
Com_drop_serverDescription: Number of DROP SERVER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_table
Com_drop_tableDescription: Number of DROP TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_temporary_table
Com_drop_temporary_tableDescription: Number of DROP TEMPORARY TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_trigger
Com_drop_triggerDescription: Number of DROP TRIGGER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_user
Com_drop_userDescription: Number of DROP USER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_drop_view
Com_drop_viewDescription: Number of DROP VIEW commands executed.
Scope: Global, Session
Data Type:
numeric
Com_empty_query
Com_empty_queryDescription: Number of queries to the server that do not produce SQL queries. An SQL query simply returning no results does not increment
Com_empty_query- see Empty_queries instead. An example of an empty query sent to the server ismariadb --comments -e '-- sql comment'Scope: Global, Session
Data Type:
numeric
Com_execute_immediate
Com_execute_immediateDescription: Number of EXECUTE IMMEDIATE statements executed.
Scope: Global, Session
Data Type:
numeric
Com_execute_sql
Com_execute_sqlDescription: Number of EXECUTE statements executed.
Scope: Global, Session
Data Type:
numeric
Com_flush
Com_flushDescription: Number of FLUSH commands executed. This differs from Flush_commands, which also counts internal server flush requests.
Scope: Global, Session
Data Type:
numeric
Com_get_diagnostics
Com_get_diagnosticsDescription: Number of GET DIAGNOSTICS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_grant
Com_grantDescription: Number of GRANT commands executed.
Scope: Global, Session
Data Type:
numeric
Com_grant_role
Com_grant_roleDescription: Number of GRANT role commands executed.
Scope: Global, Session
Data Type:
numeric
Com_ha_close
Com_ha_closeDescription: Number of HANDLER table_name CLOSE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_ha_open
Com_ha_openDescription: Number of HANDLER table_name OPEN commands executed.
Scope: Global, Session
Data Type:
numeric
Com_ha_read
Com_ha_readDescription: Number of HANDLER table_name READ commands executed.
Scope: Global, Session
Data Type:
numeric
Com_help
Com_helpDescription: Number of HELP commands executed.
Scope: Global, Session
Data Type:
numeric
Com_insert
Com_insertDescription: Number of INSERT commands executed.
Scope: Global, Session
Data Type:
numeric
Com_insert_select
Com_insert_selectDescription: Number of INSERT ... SELECT commands executed.
Scope: Global, Session
Data Type:
numeric
Com_install_plugin
Com_install_pluginDescription: Number of INSTALL PLUGIN commands executed.
Scope: Global, Session
Data Type:
numeric
Com_kill
Com_killDescription: Number of KILL commands executed.
Scope: Global, Session
Data Type:
numeric
Com_load
Com_loadDescription: Number of LOAD commands executed.
Scope: Global, Session
Data Type:
numeric
Com_load_master_data
Com_load_master_dataDescription:
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 5.5
Com_load_master_table
Com_load_master_tableDescription:
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 5.5
Com_multi
Com_multiDescription:
Scope: Global, Session
Data Type:
numeric
Com_lock_tables
Com_lock_tablesDescription: Number of [lock-tables|LOCK TABLES]] commands executed.
Scope: Global, Session
Data Type:
numeric
Com_optimize
Com_optimizeDescription: Number of OPTIMIZE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_preload_keys
Com_preload_keysDescription:
Scope: Global, Session
Data Type:
numeric
Com_prepare_sql
Com_prepare_sqlDescription: Number of PREPARE statements executed.
Scope: Global, Session
Data Type:
numeric
Com_purge
Com_purgeDescription: Number of PURGE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_purge_before_date
Com_purge_before_dateDescription: Number of PURGE BEFORE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_release_savepoint
Com_release_savepointDescription: Number of RELEASE SAVEPOINT commands executed.
Scope: Global, Session
Data Type:
numeric
Com_rename_table
Com_rename_tableDescription: Number of RENAME TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_rename_user
Com_rename_userDescription: Number of RENAME USER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_repair
Com_repairDescription: Number of REPAIR TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_replace
Com_replaceDescription: Number of REPLACE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_replace_select
Com_replace_selectScope: Global, Session
Data Type:
numeric
Com_reset
Com_resetDescription: Number of RESET commands executed.
Scope: Global, Session
Data Type:
numeric
Com_resignal
Com_resignalDescription: Number of RESIGNAL commands executed.
Scope: Global, Session
Data Type:
numeric
Com_restore_table
Com_restore_tableDescription: Removed in MariaDB 5.5. In older versions, Com_restore_table contains the number of RESTORE TABLE commands executed.
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 5.5
Com_revoke
Com_revokeDescription: Number of REVOKE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_revoke_all
Com_revoke_allDescription: Number of REVOKE ALL commands executed.
Scope: Global, Session
Data Type:
numeric
Com_revoke_grant
Com_revoke_grantDescription: Number of REVOKE role commands executed.
Scope: Global, Session
Data Type:
numeric
Com_rollback
Com_rollbackDescription: Number of ROLLBACK commands executed. Differs from Handler_rollback, which is the number of transaction rollback requests given to a storage engine.
Scope: Global, Session
Data Type:
numeric
Com_rollback_to_savepoint
Com_rollback_to_savepointDescription: Number of ROLLBACK ... TO SAVEPOINT commands executed.
Scope: Global, Session
Data Type:
numeric
Com_savepoint
Com_savepointDescription: Number of SAVEPOINT commands executed. Differs from Handler_savepoint, which is the number of transaction savepoint creation requests.
Scope: Global, Session
Data Type:
numeric
Com_select
Com_selectDescription: Number of SELECT commands executed. Also includes queries that make use of the query cache.
Scope: Global, Session
Data Type:
numeric
Com_set_option
Com_set_optionDescription: Number of SET OPTION commands executed.
Scope: Global, Session
Data Type:
numeric
Com_signal
Com_signalDescription: Number of SIGNAL statements executed.
Scope: Global, Session
Data Type:
numeric
Com_show_authors
Com_show_authorsDescription: Number of SHOW AUTHORS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_binlog_events
Com_show_binlog_eventsDescription: Number of SHOW BINLOG EVENTS statements executed.
Scope: Global, Session
Data Type:
numeric
Com_show_binlogs
Com_show_binlogsDescription: Number of SHOW BINARY LOGS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_charsets
Com_show_charsetsDescription: Number of SHOW CHARACTER SET commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_client_statistics
Com_show_client_statisticsDescription: Number of SHOW CLIENT STATISTICS commands executed. Removed in MariaDB 10.1.1 when that statement was replaced by the generic SHOW information_schema_table.
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.1.1
Com_show_collations
Com_show_collationsDescription: Number of SHOW COLLATION commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_column_types
Com_show_column_typesDescription:
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 5.5
Com_show_contributors
Com_show_contributorsDescription: Number of SHOW CONTRIBUTORS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_create_db
Com_show_create_dbDescription: Number of SHOW CREATE DATABASE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_create_event
Com_show_create_eventDescription: Number of SHOW CREATE EVENT commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_create_func
Com_show_create_funcDescription: Number of SHOW CREATE FUNCTION commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_create_package
Com_show_create_packageDescription:
Scope: Global, Session
Data Type:
numeric
Com_show_create_package_body
Com_show_create_package_bodyDescription:
Scope: Global, Session
Data Type:
numeric
Com_show_create_proc
Com_show_create_procDescription: Number of SHOW CREATE PROCEDURE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_create_table
Com_show_create_tableDescription: Number of SHOW CREATE TABLE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_create_trigger
Com_show_create_triggerDescription: Number of SHOW CREATE TRIGGER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_create_user
Com_show_create_userDescription: Number of SHOW CREATE USER commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_databases
Com_show_databasesDescription: Number of SHOW DATABASES commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_engine_logs
Com_show_engine_logsDescription: Number of SHOW ENGINE LOGS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_engine_mutex
Com_show_engine_mutexDescription: Number of SHOW ENGINE MUTEX commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_engine_status
Com_show_engine_statusDescription: Number of SHOW ENGINE STATUS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_events
Com_show_eventsDescription: Number of SHOW EVENTS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_errors
Com_show_errorsDescription: Number of SHOW ERRORS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_explain
Com_show_explainDescription: Number of SHOW EXPLAIN commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_fields
Com_show_fieldsDescription: Number of SHOW COLUMNS or SHOW FIELDS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_function_status
Com_show_function_statusDescription: Number of SHOW FUNCTION STATUS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_generic
Com_show_genericDescription: Number of generic SHOW commands executed, such as SHOW INDEX_STATISTICS and SHOW TABLE_STATISTICS
Scope: Global, Session
Data Type:
numeric
Com_show_grants
Com_show_grantsDescription: Number of SHOW GRANTS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_keys
Com_show_keysDescription: Number of SHOW INDEX or SHOW KEYS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_index_statistics
Com_show_index_statisticsDescription: Number of SHOW INDEX_STATISTICS commands executed. Removed in MariaDB 10.1.1 when that statement was replaced by the generic SHOW information_schema_table.
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.1.1
Com_show_open_tables
Com_show_open_tablesDescription: Number of SHOW OPEN TABLES commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_package_status
Com_show_package_statusDescription:
Scope: Global, Session
Data Type:
numeric
Com_show_package_body_status
Com_show_package_body_statusDescription:
Scope: Global, Session
Data Type:
numeric
Com_show_plugins
Com_show_pluginsDescription: Number of SHOW PLUGINS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_privileges
Com_show_privilegesDescription: Number of SHOW PRIVILEGES commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_procedure_status
Com_show_procedure_statusDescription: Number of SHOW PROCEDURE STATUS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_processlist
Com_show_processlistDescription: Number of SHOW PROCESSLIST commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_profile
Com_show_profileDescription: Number of SHOW PROFILE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_profiles
Com_show_profilesDescription: Number of SHOW PROFILES commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_relaylog_events
Com_show_relaylog_eventsDescription: Number of SHOW RELAYLOG EVENTS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_status
Com_show_statusDescription: Number of SHOW STATUS commands executed.
Scope: Global, Session
Data Type:
numericst
Com_show_storage_engines
Com_show_storage_enginesDescription: Number of SHOW STORAGE ENGINES - or
SHOW ENGINES- commands executed.Scope: Global, Session
Data Type:
numeric
Com_show_table_statistics
Com_show_table_statisticsDescription: Number of SHOW TABLE STATISTICS commands executed. Removed in MariaDB 10.1.1 when that statement was replaced by the generic SHOW information_schema_table.
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.1.1
Com_show_table_status
Com_show_table_statusDescription: Number of SHOW TABLE STATUS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_tables
Com_show_tablesDescription: Number of SHOW TABLES commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_triggers
Com_show_triggersDescription: Number of SHOW TRIGGERS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_user_statistics
Com_show_user_statisticsDescription: Number of SHOW USER STATISTICS commands executed. Removed in MariaDB 10.1.1 when that statement was replaced by the generic SHOW information_schema_table.
Scope: Global, Session
Data Type:
numericRemoved: MariaDB 10.1.1
Com_show_variable
Com_show_variableDescription: Number of SHOW VARIABLES commands executed.
Scope: Global, Session
Data Type:
numeric
Com_show_warnings
Com_show_warningsDescription: Number of SHOW WARNINGS commands executed.
Scope: Global, Session
Data Type:
numeric
Com_shutdown
Com_shutdownDescription: Number of SHUTDOWN commands executed.
Scope: Global, Session
Data Type:
numeric
Com_stmt_close
Com_stmt_closeDescription: Number of prepared statements closed (deallocated or dropped).
Scope: Global, Session
Data Type:
numeric
Com_stmt_execute
Com_stmt_executeDescription: Number of prepared statements executed.
Scope: Global, Session
Data Type:
numeric
Com_stmt_fetch
Com_stmt_fetchDescription: Number of prepared statements fetched.
Scope: Global, Session
Data Type:
numeric
Com_stmt_prepare
Com_stmt_prepareDescription: Number of prepared statements prepared.
Scope: Global, Session
Data Type:
numeric
Com_stmt_reprepare
Com_stmt_reprepareDescription: Number of prepared statements reprepared.
Scope: Global, Session
Data Type:
numeric
Com_stmt_reset
Com_stmt_resetDescription: Number of prepared statements where the data of a prepared statement which was accumulated in chunks by sending long data has been reset.
Scope: Global, Session
Data Type:
numeric
Com_stmt_send_long_data
Com_stmt_send_long_dataDescription: Number of prepared statements where the parameter data has been sent in chunks (long data).
Scope: Global, Session
Data Type:
numeric
Com_truncate
Com_truncateDescription: Number of TRUNCATE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_uninstall_plugin
Com_uninstall_pluginDescription: Number of UNINSTALL PLUGIN commands executed.
Scope: Global, Session
Data Type:
numeric
Com_unlock_tables
Com_unlock_tablesDescription: Number of UNLOCK TABLES commands executed.
Scope: Global, Session
Data Type:
numeric
Com_update
Com_updateDescription: Number of UPDATE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_update_multi
Com_update_multiDescription: Number of multi-table UPDATE commands executed.
Scope: Global, Session
Data Type:
numeric
Com_xa_commit
Com_xa_commitDescription: Number of XA statements committed.
Scope: Global, Session
Data Type:
numeric
Com_xa_end
Com_xa_endDescription: Number of XA statements ended.
Scope: Global, Session
Data Type:
numeric
Com_xa_prepare
Com_xa_prepareDescription: Number of XA statements prepared.
Scope: Global, Session
Data Type:
numeric
Com_xa_recover
Com_xa_recoverDescription: Number of XA RECOVER statements executed.
Scope: Global, Session
Data Type:
numeric
Com_xa_rollback
Com_xa_rollbackDescription: Number of XA statements rolled back.
Scope: Global, Session
Data Type:
numeric
Com_xa_start
Com_xa_startDescription: Number of XA statements started.
Scope: Global, Session
Data Type:
numeric
Compression
CompressionDescription: Whether client-server traffic is compressed.
Scope: Session
Data Type:
boolean
Connection_errors_accept
Connection_errors_acceptDescription: Number of errors that occurred during calls to accept() on the listening port. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Connection_errors_internal
Connection_errors_internalDescription: Number of refused connections due to internal server errors, for example out of memory errors, or failed thread starts. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Connection_errors_max_connections
Connection_errors_max_connectionsDescription: Number of refused connections due to the max_connections limit being reached. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Connection_errors_peer_address
Connection_errors_peer_addressDescription: Number of errors while searching for the connecting client IP address. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Connection_errors_select
Connection_errors_selectDescription: Number of errors during calls to select() or poll() on the listening port. The client would not necessarily have been rejected in these cases. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Connection_errors_tcpwrap
Connection_errors_tcpwrapDescription: Number of connections the libwrap library refused. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Connections
ConnectionsDescription: Number of connection attempts (both successful and unsuccessful)
Scope: Global
Data Type:
numeric
Cpu_time
Cpu_timeDescription: Total CPU time used. Part of User Statistics. Requires the userstat system variable to be set in order to be recorded.
Scope: Global, Session
Data Type:
numeric
Created_tmp_disk_tables
Created_tmp_disk_tablesDescription: Number of on-disk temporary tables created.
Scope: Global, Session
Data Type:
numeric
Created_tmp_files
Created_tmp_filesDescription: Number of temporary files created. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Created_tmp_tables
Created_tmp_tablesDescription: Number of in-memory temporary tables created.
Scope: Global
Data Type:
numeric
Delayed_errors
Delayed_errorsDescription: Number of errors which occurred while doing INSERT DELAYED. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Delayed_insert_threads
Delayed_insert_threadsDescription: Number of INSERT DELAYED threads.
Scope: Global
Data Type:
numeric
Delayed_writes
Delayed_writesDescription: Number of INSERT DELAYED rows written. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Delete_scan
Delete_scanDescription: Number of DELETE s that required a full table scan.
Scope: Global
Data Type:
numeric
Empty_queries
Empty_queriesDescription: Number of queries returning no results. Note this is not the same as Com_empty_query.
Scope: Global, Session
Data Type:
numeric
Executed_events
Executed_eventsDescription: Number of times events created with CREATE EVENT have executed. This differs from Com_create_event in that it is only incremented when the event has run, not when it executes.
Scope: Global, Session
Data Type:
numeric
Executed_triggers
Executed_triggersDescription: Number of times triggers created with CREATE TRIGGER have executed. This differs from Com_create_trigger in that it is only incremented when the trigger has run, not when it executes.
Scope: Global, Session
Data Type:
numeric
Feature_application_time_periods
Feature_application_time_periodsDescription: Number of times a table created with periods has been opened.
Scope: Global, Session
Data Type:
numeric
Feature_check_constraint
Feature_check_constraintDescription: Number of times constraints were checked. The global value can be flushed by FLUSH STATUS.
Scope: Global, Session
Data Type:
numeric
Feature_custom_aggregate_functions
Feature_custom_aggregate_functionsDescription: Number of queries which make use of custom aggregate functions.
Scope: Global, Session
Data Type:
numeric
Feature_delay_key_write
Feature_delay_key_writeDescription: Number of tables opened that are using delay_key_write. The global value can be flushed by FLUSH STATUS.
Scope: Global, Session
Data Type:
numeric
Feature_dynamic_columns
Feature_dynamic_columnsDescription: Number of times the COLUMN_CREATE() function was used.
Scope: Global, Session
Data Type:
numeric
Feature_fulltext
Feature_fulltextDescription: Number of times the MATCH … AGAINST() function was used.
Scope: Global, Session
Data Type:
numeric
Feature_gis
Feature_gisDescription: Number of times a table with a any of the geometry columns was opened.
Scope: Global, Session
Data Type:
numeric
Feature_insert_returning
Feature_insert_returningDescription:
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.5.0
Feature_invisible_columns
Feature_invisible_columnsDescription: Number of invisible columns in all opened tables.
Scope: Global, Session
Data Type:
numeric
Feature_json
Feature_jsonDescription: Number of times JSON functionality has been used, such as one of the JSON functions. Does not include the CONNECT engine JSON type, or EXPLAIN/ANALYZE FORMAT=JSON.
Scope: Global, Session
Data Type:
numeric
Feature_locale
Feature_localeDescription: Number of times the @@lc_messages variable was assigned into.
Scope: Global, Session
Data Type:
numeric
Feature_subquery
Feature_subqueryDescription: Number of subqueries (excluding subqueries in the FROM clause) used.
Scope: Global, Session
Data Type:
numeric
Feature_system_versioning
Feature_system_versioningDescription: Number of times system versioning functionality has been used (opening a table WITH SYSTEM VERSIONING).
Scope: Global, Session
Data Type:
numeric
Feature_timezone
Feature_timezoneDescription: Number of times an explicit timezone (excluding UTC and SYSTEM) was specified.
Scope: Global, Session
Data Type:
numeric
Feature_trigger
Feature_triggerDescription: Number of triggers loaded.
Scope: Global, Session
Data Type:
numeric
Feature_window_functions
Feature_window_functionsDescription: Number of times window functions were used.
Scope: Global, Session
Data Type:
numeric
Feature_xml
Feature_xmlDescription: Number of times XML functions (EXTRACTVALUE() and UPDATEXML()) were used.
Scope: Global, Session
Data Type:
numeric
Flush_commands
Flush_commandsScope: Global
Data Type:
numericRemoved: MariaDB 10.5.1
Handler_commit
Handler_commitDescription: Number of internal COMMIT requests. Differs from Com_commit, which counts the number of COMMIT statements executed.
Scope: Global, Session
Data Type:
numeric
Handler_delete
Handler_deleteDescription: Number of times rows have been deleted from tables. Differs from Com_delete, which counts DELETE statements.
Scope: Global, Session
Data Type:
numeric
Handler_discover
Handler_discoverDescription: Discovery is when the server asks the NDBCLUSTER storage engine if it knows about a table with a given name. Handler_discover indicates the number of times that tables have been discovered in this way.
Scope: Global, Session
Data Type:
numeric
Handler_external_lock
Handler_external_lockDescription: Incremented for each call to the external_lock() function, which generally occurs at the beginning and end of access to a table instance.
Scope: Global, Session
Data Type:
numeric
Handler_icp_attempts
Handler_icp_attemptsDescription: Number of times pushed index condition was checked. The smaller the ratio of Handler_icp_attempts to Handler_icp_match the better the filtering. See Index Condition Pushdown.
Scope: Global, Session
Data Type:
numeric
Handler_icp_match
Handler_icp_matchDescription: Number of times pushed index condition was matched. The smaller the ratio of Handler_icp_attempts to Handler_icp_match the better the filtering. See Index Condition Pushdown.
Scope: Global, Session
Data Type:
numeric
Handler_mrr_init
Handler_mrr_initDescription: Counts how many MRR (multi-range read) scans were performed. See Multi Range Read optimization.
Scope: Global, Session
Data Type:
numeric
Handler_mrr_key_refills
Handler_mrr_key_refillsDescription: Number of times key buffer was refilled (not counting the initial fill). A non-zero value indicates there wasn't enough memory to do key sort-and-sweep passes in one go. See Multi Range Read optimization.
Scope: Global, Session
Data Type:
numeric
Handler_mrr_rowid_refills
Handler_mrr_rowid_refillsDescription: Number of times rowid buffer was refilled (not counting the initial fill). A non-zero value indicates there wasn't enough memory to do rowid sort-and-sweep passes in one go. See Multi Range Read optimization.
Scope: Global, Session
Data Type:
numeric
Handler_prepare
Handler_prepareDescription: Number of two-phase commit prepares.
Scope: Global, Session
Data Type:
numeric
Handler_read_first
Handler_read_firstDescription: Number of requests to read the first row from an index. A high value indicates many full index scans, e.g.
SELECT a FROM table_namewhereais an indexed column.Scope: Global, Session
Data Type:
numeric
Handler_read_key
Handler_read_keyDescription: Number of row read requests based on an index value. A high value indicates indexes are regularly being used, which is usually positive.
Scope: Global, Session
Data Type:
numeric
Handler_read_last
Handler_read_lastDescription: Number of requests to read the last row from an index. ORDER BY DESC results in a last-key request followed by several previous-key requests.
Scope: Global, Session
Data Type:
numeric
Handler_read_next
Handler_read_nextDescription: Number of requests to read the next row from an index (in order). Increments when doing an index scan or querying an index column with a range constraint.
Scope: Global, Session
Data Type:
numeric
Handler_read_prev
Handler_read_prevDescription: Number of requests to read the previous row from an index (in order). Mostly used with ORDER BY DESC.
Scope: Global, Session
Data Type:
numeric
Handler_read_retry
Handler_read_retryDescription: Number of read retrys triggered by semi_consistent_read (InnoDB feature).
Scope: Global
Data Type:
numeric
Handler_read_rnd
Handler_read_rndDescription: Number of requests to read a row based on its position. If this value is high, you may not be using joins that don't use indexes properly, or be doing many full table scans.
Scope: Global, Session
Data Type:
numeric
Handler_read_rnd_deleted
Handler_read_rnd_deletedDescription: Number of requests to delete a row based on its position.
Scope: Global, Session
Data Type:
numeric
Handler_read_rnd_next
Handler_read_rnd_nextDescription: Number of requests to read the next row. A large number of these may indicate many table scans and improperly used indexes.
Scope: Global, Session
Data Type:
numeric
Handler_rollback
Handler_rollbackDescription: Number of transaction rollback requests given to a storage engine. Differs from Com_rollback, which is the number of ROLLBACK commands executed.
Scope: Global, Session
Data Type:
numeric
Handler_savepoint
Handler_savepointDescription: Number of transaction savepoint creation requests. Differs from Com_savepoint which is the number of SAVEPOINT commands executed.
Scope: Global, Session
Data Type:
numeric
Handler_savepoint_rollback
Handler_savepoint_rollbackDescription: Number of requests to rollback to a transaction savepoint.
Scope: Global, Session
Data Type:
numeric
Handler_tmp_delete
Handler_tmp_deleteDescription: Number of requests to delete a row in a temporary table.
Scope: Global, Session
Data Type:
numeric
Handler_tmp_update
Handler_tmp_updateDescription: Number of requests to update a row to a temporary table.
Scope: Global, Session
Data Type:
numeric
Handler_tmp_write
Handler_tmp_writeDescription: Number of requests to write a row to a temporary table.
Scope: Global, Session
Data Type:
numeric
Handler_update
Handler_updateDescription: Number of requests to update a row in a table. Since MariaDB 5.3, this no longer counts temporary tables - see Handler_tmp_update.
Scope: Global, Session
Data Type:
numeric
Handler_write
Handler_writeDescription: Number of requests to write a row to a table. Since MariaDB 5.3, this no longer counts temporary tables - see Handler_tmp_write.
Scope: Global, Session
Data Type:
numeric
Key_blocks_not_flushed
Key_blocks_not_flushedDescription: Number of key cache blocks which have been modified but not flushed to disk.
Scope: Global
Data Type:
numeric
Key_blocks_unused
Key_blocks_unusedDescription: Number of unused key cache blocks.
Scope: Global
Data Type:
numeric
Key_blocks_used
Key_blocks_usedDescription: Max number of key cache blocks which have been used simultaneously.
Scope: Global
Data Type:
numeric
Key_blocks_warm
Key_blocks_warmDescription: Number of key cache blocks in the warm list.
Scope: Global
Data Type:
numeric
Key_read_requests
Key_read_requestsDescription: Number of key cache block read requests. See Optimizing key_buffer_size.
Scope: Global
Data Type:
numeric
Key_reads
Key_readsDescription: Number of physical index block reads. See Optimizing key_buffer_size.
Scope: Global
Data Type:
numeric
Key_write_requests
Key_write_requestsDescription: Number of requests to write a block to the key cache.
Scope: Global
Data Type:
numeric
Key_writes
Key_writesDescription: Number of key cache block write requests
Scope: Global
Data Type:
numeric
Last_query_cost
Last_query_costDescription: The most recent query optimizer query cost calculation. Can not be calculated for complex queries, such as subqueries or UNION. It will be set to 0 for complex queries.
Scope: Session
Data Type:
numeric
Maria_*
Maria_*Description: When the Maria storage engine was renamed Aria, the Maria variables existing at the time were renamed at the same time. See Aria Server Status Variables.
Max_memory_used
Max_memory_usedDescription: The maximum memory allocation used by the current connection.
Scope: Session
Data Type:
numericIntroduced: MariaDB 10.6.21
Max_statement_time_exceeded
Max_statement_time_exceededDescription: Number of queries that exceeded the execution time specified by max_statement_time. See Aborting statements that take longer than a certain time to execute.
Data Type:
numeric
Max_tmp_space_used
Max_tmp_space_usedDescription: Maximum temporary space used. See Limiting Size of Created Disk Temporary Files and Tables Overview
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 11.5
Max_used_connections
Max_used_connectionsDescription: Max number of connections ever open at the same time. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Max_used_connections_time
Max_used_connections_timeDescription: The time at which the last change of max_used_connections occured. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
datetimeIntroduced: MariaDB 11.0.2, MariaDB 11.1.1
Memory_used
Memory_usedDescription: Global or per-connection memory usage, in bytes. This includes all per-connection memory allocations, and as of MariaDB 10.6.16 includes global allocations such as the key_buffer, innodb_buffer_pool etc (which were excluded before MariaDB 10.6.16).
Scope: Global, Session
Data Type:
numeric
Memory_used_initial
Memory_used_initialDescription: Amount of memory that was used when the server started to service the user connections.
Scope: Global
Data Type:
numeric
Not_flushed_delayed_rows
Not_flushed_delayed_rowsDescription: Number of INSERT DELAYED rows waiting to be written.
Scope: Global
Data Type:
numeric
Open_files
Open_filesDescription: Number of regular files currently opened by the server. Does not include sockets or pipes, or storage engines using internal functions.
Scope: Global
Data Type:
numeric
Open_streams
Open_streamsDescription: Number of currently opened streams, usually log files.
Scope: Global
Data Type:
numeric
Open_table_definitions
Open_table_definitionsDescription: Number of currently cached .frm files.
Scope: Global
Data Type:
numeric
Open_tables
Open_tablesDescription: Number of currently opened tables, excluding temporary tables.
Scope: Global, Session
Data Type:
numeric
Opened_files
Opened_filesDescription: Number of files the server has opened.
Scope: Global
Data Type:
numeric
Opened_plugin_libraries
Opened_plugin_librariesDescription: Number of shared libraries that the server has opened to load plugins.
Scope: Global
Data Type:
numeric
Opened_table_definitions
Opened_table_definitionsDescription: Number of .frm files that have been cached.
Scope: Global, Session
Data Type:
numeric
Opened_tables
Opened_tablesDescription: Number of tables the server has opened.
Scope: Global, Session
Data Type:
numeric
Opened_views
Opened_viewsDescription: Number of views the server has opened.
Scope: Global, Session
Data Type:
numeric
Prepared_stmt_count
Prepared_stmt_countDescription: Current number of prepared statements.
Scope: Global
Data Type:
numeric
Qcache_free_blocks
Qcache_free_blocksDescription: Number of free query cache memory blocks.
Scope: Global
Data Type:
numeric
Qcache_free_memory
Qcache_free_memoryDescription: Amount of free query cache memory.
Scope: Global
Data Type:
numeric
Qcache_hits
Qcache_hitsDescription: Number of requests served by the query cache. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Qcache_inserts
Qcache_insertsDescription: Number of queries ever cached in the query cache. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Qcache_lowmem_prunes
Qcache_lowmem_prunesDescription: Number of pruning operations performed to remove old results to make space for new results in the query cache. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Qcache_not_cached
Qcache_not_cachedDescription: Number of queries that are uncacheable by the query cache, or use SQL_NO_CACHE. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Qcache_queries_in_cache
Qcache_queries_in_cacheDescription: Number of queries currently cached by the query cache.
Scope: Global
Data Type:
numeric
Qcache_total_blocks
Qcache_total_blocksDescription: Number of blocks used by the query cache.
Scope: Global
Data Type:
numeric
Queries
QueriesDescription: Number of statements executed by the server, excluding COM_PING and COM_STATISTICS. Differs from Questions in that it also counts statements executed within stored programs.
Scope: Global, Session
Data Type:
numeric
Query_time
Query_timeDescription: Cumulative time in seconds, with microsecond precision, of running queries.
Scope: Global,Session
Data Type:
numericIntroduced: MariaDB 11.4
Questions
QuestionsDescription: Number of statements executed by the server, excluding COM_PING, COM_STATISTICS, COM_STMT_PREPARE, COM_STMT_CLOSE, and COM_STMT_RESET statements. Differs from Queries in that it doesn't count statements executed within stored programs.
Scope: Global, Session
Data Type:
numeric
Resultset_metadata_skipped
Resultset_metadata_skippedDescription: Number of times sending the metadata has been skipped. Metadata is not resent if metadata does not change between prepare and execute of prepared statement, or between executes.
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 10.6.0
Rows_read
Rows_readDescription: Number of requests to read a row (excluding temporary tables).
Scope: Global, Session
Data Type:
numeric
Rows_sent
Rows_sentDescription:
Scope: Global, Session
Data Type:
numeric
Rows_tmp_read
Rows_tmp_readDescription: Number of requests to read a row in a temporary table.
Scope: Global, Session
Data Type:
numeric
Select_full_join
Select_full_joinDescription: Number of joins which did not use an index. If not zero, you may need to check table indexes.
Scope: Global, Session
Data Type:
numeric
Select_full_range_join
Select_full_range_joinDescription: Number of joins which used a range search of the first table.
Scope: Global, Session
Data Type:
numeric
Select_range
Select_rangeDescription: Number of joins which used a range on the first table.
Scope: Global, Session
Data Type:
numeric
Select_range_check
Select_range_checkDescription: Number of joins without keys that check for key usage after each row. If not zero, you may need to check table indexes.
Scope: Global, Session
Data Type:
numeric
Select_scan
Select_scanDescription: Number of joins which used a full scan of the first table.
Scope: Global, Session
Data Type:
numeric
Slow_launch_threads
Slow_launch_threadsDescription: Number of threads which took longer than slow_launch_time to create. The global value can be flushed by FLUSH STATUS.
Scope: Global, Session
Data Type:
numeric
Slow_queries
Slow_queriesDescription: Number of queries which took longer than long_query_time to run. The slow query log does not need to be active for this to be recorded.
Scope: Global, Session
Data Type:
numeric
Sort_merge_passes
Sort_merge_passesDescription: Number of merge passes performed by the sort algorithm. If too high, you may need to look at improving your query indexes, or increasing the sort_buffer_size.
Scope: Global, Session
Data Type:
numeric
Sort_priority_queue_sorts
Sort_priority_queue_sortsDescription: The number of times that sorting was done through a priority queue. (The total number of times sorting was done is a sum Sort_range and Sort_scan). See filesort with small LIMIT optimization.
Scope: Global, Session
Data Type:
numeric
Sort_range
Sort_rangeDescription: Number of sorts which used a range.
Scope: Global, Session
Data Type:
numeric
Sort_rows
Sort_rowsDescription: Number of rows sorted.
Scope: Global, Session
Data Type:
numeric
Sort_scan
Sort_scanDescription: Number of sorts which used a full table scan.
Scope: Global, Session
Data Type:
numeric
Subquery_cache_hit
Subquery_cache_hitDescription: Counter for all subquery cache hits. The global value can be flushed by FLUSH STATUS.
Scope: Global, Session
Data Type:
numeric
Subquery_cache_miss
Subquery_cache_missDescription: Counter for all subquery cache misses. The global value can be flushed by FLUSH STATUS.
Scope: Global, Session
Data Type:
numeric
Syncs
SyncsDescription: Number of times my_sync() has been called, or the number of times the server has had to force data to disk. Covers the binary log, .frm creation (if these operations are configured to sync) and some storage engines (Archive,CSV, Aria), but not XtraDB/InnoDB).
Scope: Global, Session
Data Type:
numeric
Table_locks_immediate
Table_locks_immediateDescription: Number of table locks which were completed immediately. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Table_locks_waited
Table_locks_waitedDescription: Number of table locks which had to wait. Indicates table lock contention. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Table_open_cache_active_instances
Table_open_cache_active_instancesDescription: Number of active instances for open tables cache lookups.
Scope:
Data Type:
numeric
Table_open_cache_hits
Table_open_cache_hitsDescription: Number of hits for open tables cache lookups.
Scope:
Data Type:
numeric
Table_open_cache_misses
Table_open_cache_missesDescription: Number of misses for open tables cache lookups.
Scope:
Data Type:
numeric
Table_open_cache_overflows
Table_open_cache_overflowsDescription: Number of overflows for open tables cache lookups.
Scope:
Data Type:
numeric
Tc_log_max_pages_used
Tc_log_max_pages_usedDescription: Max number of pages used by the memory-mapped file-based transaction coordinator log. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Tc_log_page_size
Tc_log_page_sizeDescription: Page size of the memory-mapped file-based transaction coordinator log.
Scope: Global
Data Type:
numeric
Tc_log_page_waits
Tc_log_page_waitsDescription: Number of times a two-phase commit was forced to wait for a free memory-mapped file-based transaction coordinator log page. The global value can be flushed by FLUSH STATUS.
Scope: Global
Data Type:
numeric
Threads_cached
Threads_cachedDescription: Number of threads cached in the thread cache. This value will be zero if the thread pool is in use.
Scope: Global
Data Type:
numeric
Threads_connected
Threads_connectedDescription: Number of clients connected to the server. See Handling Too Many Connections. The
Threads_connectedname is inaccurate when the thread pool is in use, since each client connection does not correspond to a dedicated thread in that case.Scope: Global
Data Type:
numeric
Threads_created
Threads_createdDescription: Number of threads created to respond to client connections. If too large, look at increasing thread_cache_size.
Scope: Global
Data Type:
numeric
Threads_running
Threads_runningDescription: Number of client connections that are actively running a command, and not just sleeping while waiting to receive the next command to execute. Some internal system threads also count towards this status variable if they would show up in the output of the SHOW PROCESSLIST statement.
In MariaDB 10.3.2 and before, a global counter was updated each time a client connection dispatched a command. In these versions, the global and session status variable are always the same value.
In MariaDB 10.3.3 and later, the global counter has been removed as a performance improvement. Instead, when the global status variable is queried, it is calculated dynamically by essentially adding up all the running client connections as they would appear in SHOW PROCESSLIST output. A client connection is only considered to be running if its thread COMMAND value is not equal to
Sleep. When the session status variable is queried, it always returns1.
Scope: Global
Data Type:
numeric
Tmp_space_used
Tmp_space_usedDescription: Temporary space used. See Limiting Size of Created Disk Temporary Files and Tables Overview
Scope: Global, Session
Data Type:
numericIntroduced: MariaDB 11.5
Update_scan
Update_scanDescription: Number of updates that required a full table scan.
Scope: Global
Data Type:
numeric
Uptime
UptimeDescription: Number of seconds the server has been running.
Scope: Global
Data Type:
numeric
Uptime_since_flush_status
Uptime_since_flush_statusDescription: Number of seconds since the last FLUSH STATUS.
Scope: Global
Data Type:
numeric
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

