Server Status Variables

You are viewing an old version of this article. View the current version here.

Contents

  1. List of Server Status Variables
    1. Aborted_clients
    2. Aborted_connects
    3. Access_denied_errors
    4. Aria_pagecache_blocks_not_flushed
    5. Aria_pagecache_blocks_unused
    6. Aria_pagecache_blocks_used
    7. Aria_pagecache_read_requests
    8. Aria_pagecache_reads
    9. Aria_pagecache_write_requests
    10. Aria_pagecache_writes
    11. Aria_transaction_log_syncs
    12. Binlog_bytes_written
    13. Binlog_cache_disk_use
    14. Binlog_cache_use
    15. Binlog_commits
    16. Binlog_group_commits
    17. Binlog_snapshot_files
    18. Binlog_snapshot_position
    19. Binlog_stmt_cache_disk_use
    20. Binlog_stmt_cache_use
    21. Busy_time
    22. Bytes_received
    23. Bytes_sent
    24. Com_admin_commands
    25. Com_alter_db
    26. Com_alter_db_upgrade
    27. Com_alter_event
    28. Com_alter_function
    29. Com_alter_procedure
    30. Com_alter_server
    31. Com_alter_table
    32. Com_alter_tablespace
    33. Com_analyze
    34. Com_assign_to_keycache
    35. Com_backup_table
    36. Com_begin
    37. Com_binlog
    38. Com_call_procedure
    39. Com_change_db
    40. com_change_master
    41. Com_check
    42. Com_checksum
    43. Com_commit
    44. Com_create_db
    45. Com_create_event
    46. Com_create_function
    47. Com_create_index
    48. Com_create_procedure
    49. Com_create_role
    50. Com_create_server
    51. Com_create_table
    52. Com_create_trigger
    53. Com_create_udf
    54. Com_create_user
    55. Com_create_view
    56. Com_dealloc_sql
    57. Com_delete
    58. Com_delete_multi
    59. Com_do
    60. Com_drop_db
    61. Com_drop_event
    62. Com_drop_function
    63. Com_drop_index
    64. Com_drop_procedure
    65. Com_drop_role
    66. Com_drop_server
    67. Com_drop_table
    68. Com_drop_trigger
    69. Com_drop_user
    70. Com_drop_view
    71. Com_empty_query
    72. Com_execute_sql
    73. Com_flush
    74. Com_get_diagnostics
    75. Com_grant
    76. Com_grant_role
    77. Com_ha_close
    78. Com_ha_open
    79. Com_ha_read
    80. Com_help
    81. Com_insert
    82. Com_insert_select
    83. Com_install_plugin
    84. Com_kill
    85. Com_load
    86. Com_load_master_data
    87. Com_load_master_table
    88. Com_lock_tables
    89. Com_optimize
    90. Com_preload_keys
    91. Com_prepare_sql
    92. Com_purge
    93. Com_purge_before_date
    94. Com_release_savepoint
    95. Com_rename_table
    96. Com_rename_user
    97. Com_repair
    98. Com_replace
    99. Com_replace_select
    100. Com_reset
    101. Com_resignal
    102. Com_restore_table
    103. Com_revoke
    104. Com_revoke_all
    105. Com_revoke_grant
    106. Com_rollback
    107. Com_rollback_to_savepoint
    108. Com_savepoint
    109. Com_select
    110. Com_set_option
    111. Com_signal
    112. Com_show_authors
    113. Com_show_binlog_events
    114. Com_show_binlogs
    115. Com_show_charsets
    116. Com_show_client_statistics
    117. Com_show_collations
    118. Com_show_column_types
    119. Com_show_contributors
    120. Com_show_create_db
    121. Com_show_create_event
    122. Com_show_create_func
    123. Com_show_create_proc
    124. Com_show_create_table
    125. Com_show_create_trigger
    126. Com_show_databases
    127. Com_show_engine_logs
    128. Com_show_engine_mutex
    129. Com_show_engine_status
    130. Com_show_events
    131. Com_show_errors
    132. Com_show_explain
    133. Com_show_fields
    134. Com_show_function_status
    135. Com_show_grants
    136. Com_show_keys
    137. Com_show_index_statistics
    138. com_show_master_status
    139. com_show_new_master
    140. Com_show_open_tables
    141. Com_show_plugins
    142. Com_show_privileges
    143. Com_show_procedure_status
    144. Com_show_processlist
    145. Com_show_profile
    146. Com_show_profiles
    147. Com_show_relaylog_events
    148. com_show_slave_hosts
    149. com_show_slave_status
    150. Com_show_status
    151. Com_show_storage_engines
    152. Com_show_table_statistics
    153. Com_show_table_status
    154. Com_show_tables
    155. Com_show_triggers
    156. Com_show_user_statistics
    157. Com_show_variable
    158. Com_show_warnings
    159. Com_shutdown
    160. Com_slave_start
    161. Com_slave_stop
    162. Com_start_all_slaves
    163. Com_start_slave
    164. Com_stmt_close
    165. Com_stmt_execute
    166. Com_stmt_fetch
    167. Com_stmt_prepare
    168. Com_stmt_reprepare
    169. Com_stmt_reset
    170. Com_stmt_send_long_data
    171. Com_stop_all_slaves
    172. Com_stop_slave
    173. Com_truncate
    174. Com_uninstall_plugin
    175. Com_unlock_tables
    176. Com_update
    177. Com_update_multi
    178. Com_xa_commit
    179. Com_xa_end
    180. Com_xa_prepare
    181. Com_xa_recover
    182. Com_xa_rollback
    183. Com_xa_start
    184. Compression
    185. Connection_errors_accept
    186. Connection_errors_internal
    187. Connection_errors_max_connections
    188. Connection_errors_peer_address
    189. Connection_errors_select
    190. Connection_errors_tcpwrap
    191. Connections
    192. Cpu_time
    193. Created_tmp_disk_tables
    194. Created_tmp_files
    195. Created_tmp_tables
    196. Delayed_errors
    197. Delayed_insert_threads
    198. Delayed_writes
    199. Empty_queries
    200. Executed_events
    201. Executed_triggers
    202. Feature_dynamic_columns
    203. Feature_fulltext
    204. Feature_gis
    205. Feature_locale
    206. Feature_subquery
    207. Feature_timezone
    208. Feature_trigger
    209. Feature_xml
    210. Flush_commands
    211. Handler_commit
    212. Handler_delete
    213. Handler_discover
    214. Handler_external_lock
    215. Handler_icp_attempts
    216. Handler_icp_match
    217. Handler_mrr_init
    218. Handler_mrr_key_refills
    219. Handler_mrr_rowid_refills
    220. Handler_prepare
    221. Handler_read_first
    222. Handler_read_key
    223. Handler_read_last
    224. Handler_read_next
    225. Handler_read_prev
    226. Handler_read_rnd
    227. Handler_read_rnd_deleted
    228. Handler_read_rnd_next
    229. Handler_rollback
    230. Handler_savepoint
    231. Handler_savepoint_rollback
    232. Handler_tmp_update
    233. Handler_tmp_write
    234. Handler_update
    235. Handler_write
    236. Innodb_adaptive_hash_cells
    237. Innodb_adaptive_hash_hash_searches
    238. Innodb_adaptive_hash_heap_buffers
    239. Innodb_adaptive_hash_non_hash_searches
    240. Innodb_available_undo_logs
    241. Innodb_background_log_sync
    242. Innodb_buffer_pool_bytes_data
    243. Innodb_buffer_pool_bytes_dirty
    244. Innodb_buffer_pool_dump_status
    245. innodb_buffer_pool_load_status
    246. Innodb_buffer_pool_pages_data
    247. Innodb_buffer_pool_pages_dirty
    248. Innodb_buffer_pool_pages_flushed
    249. Innodb_buffer_pool_pages_LRU_flushed
    250. Innodb_buffer_pool_pages_free
    251. Innodb_buffer_pool_pages_made_not_young
    252. Innodb_buffer_pool_pages_made_young
    253. Innodb_buffer_pool_pages_misc
    254. Innodb_buffer_pool_pages_old
    255. Innodb_buffer_pool_pages_total
    256. Innodb_buffer_pool_read_ahead_rnd
    257. Innodb_buffer_pool_read_ahead
    258. Innodb_buffer_pool_read_ahead_evicted
    259. Innodb_buffer_pool_read_requests
    260. Innodb_buffer_pool_reads
    261. Innodb_buffer_pool_wait_free
    262. Innodb_buffer_pool_write_requests
    263. Innodb_checkpoint_age
    264. Innodb_checkpoint_max_age
    265. Innodb_checkpoint_target_age
    266. Innodb_current_row_locks
    267. Innodb_data_fsyncs
    268. Innodb_data_pending_fsyncs
    269. Innodb_data_pending_reads
    270. Innodb_data_pending_writes
    271. Innodb_data_read
    272. Innodb_data_reads
    273. Innodb_data_writes
    274. Innodb_data_written
    275. Innodb_dblwr_pages_written
    276. Innodb_dblwr_writes
    277. Innodb_deadlocks
    278. Innodb_dict_tables
    279. Innodb_have_atomic_builtins
    280. Innodb_history_list_length
    281. Innodb_ibuf_discarded_delete_marks
    282. Innodb_ibuf_discarded_deletes
    283. Innodb_ibuf_discarded_inserts
    284. Innodb_ibuf_free_list
    285. Innodb_ibuf_merged_delete_marks
    286. Innodb_ibuf_merged_deletes
    287. Innodb_ibuf_merged_inserts
    288. Innodb_ibuf_merges
    289. Innodb_ibuf_segment_size
    290. Innodb_ibuf_size
    291. Innodb_log_waits
    292. Innodb_log_write_requests
    293. Innodb_log_writes
    294. Innodb_lsn_current
    295. Innodb_lsn_flushed
    296. Innodb_lsn_last_checkpoint
    297. Innodb_master_thread_1_second_loops
    298. Innodb_master_thread_10_second_loops
    299. Innodb_master_thread_background_loops
    300. Innodb_master_thread_main_flush_loops
    301. Innodb_master_thread_sleeps
    302. Innodb_max_trx_id
    303. Innodb_mem_adaptive_hash
    304. Innodb_mem_dictionary
    305. Innodb_mem_total
    306. Innodb_mutex_os_waits
    307. Innodb_mutex_spin_rounds
    308. Innodb_mutex_spin_waits
    309. Innodb_num_open_files
    310. Innodb_oldest_view_low_limit_trx_id
    311. Innodb_os_log_fsyncs
    312. Innodb_os_log_pending_fsyncs
    313. Innodb_os_log_pending_writes
    314. Innodb_os_log_written
    315. Innodb_page_size
    316. Innodb_pages_created
    317. Innodb_pages_read
    318. Innodb_pages_written
    319. Innodb_purge_trx_id
    320. Innodb_purge_undo_no
    321. Innodb_row_lock_current_waits
    322. Innodb_row_lock_numbers
    323. Innodb_row_lock_time
    324. Innodb_row_lock_time_avg
    325. Innodb_row_lock_time_max
    326. Innodb_row_lock_time_waits
    327. Innodb_rows_deleted
    328. Innodb_rows_inserted
    329. Innodb_rows_read
    330. Innodb_rows_updated
    331. Innodb_s_lock_os_waits
    332. Innodb_s_lock_spin_rounds
    333. Innodb_s_lock_spin_waits
    334. Innodb_truncated_status_writes
    335. Innodb_x_lock_os_waits
    336. Innodb_x_lock_spin_rounds
    337. Innodb_x_lock_spin_waits
    338. Key_blocks_not_flushed
    339. Key_blocks_unused
    340. Key_blocks_used
    341. Key_blocks_warm
    342. Key_read_requests
    343. Key_reads
    344. Key_write_requests
    345. Key_writes
    346. Last_query_cost
    347. Maria_*
    348. Max_used_connections
    349. Memory_used
    350. Not_flushed_delayed_rows
    351. Open_files
    352. Open_streams
    353. Open_table_definitions
    354. Open_tables
    355. Opened_files
    356. Opened_table_definitions
    357. Opened_tables
    358. Opened_views
    359. Performance_schema_accounts_lost
    360. Performance_schema_cond_classes_lost
    361. Performance_schema_cond_instances_lost
    362. Performance_schema_digest_lost
    363. Performance_schema_file_classes_lost
    364. Performance_schema_file_handles_lost
    365. Performance_schema_file_instances_lost
    366. Performance_schema_hosts_lost
    367. Performance_schema_locker_lost
    368. Performance_schema_mutex_classes_lost
    369. Performance_schema_mutex_instances_lost
    370. Performance_schema_rwlock_classes_lost
    371. Performance_schema_rwlock_instances_lost
    372. Performance_schema_socket_classes_lost
    373. Performance_schema_socket_instances_lost
    374. Performance_schema_stage_classes_lost
    375. Performance_schema_statement_classes_lost
    376. Performance_schema_table_handles_lost
    377. Performance_schema_table_instances_lost
    378. Performance_schema_thread_classes_lost
    379. Performance_schema_thread_instances_lost
    380. Performance_schema_users_lost
    381. Prepared_stmt_count
    382. Qcache_free_blocks
    383. Qcache_free_blocks
    384. Qcache_free_memory
    385. Qcache_hits
    386. Qcache_inserts
    387. Qcache_lowmem_prunes
    388. Qcache_not_cached
    389. Qcache_queries_in_cache
    390. Qcache_total_blocks
    391. Queries
    392. Questions
    393. Rows_read
    394. Rows_sent
    395. Rows_tmp_read
    396. Rpl_status
    397. Rpl_recovery_rank
    398. Select_full_join
    399. Select_full_range_join
    400. Select_range
    401. Select_range_check
    402. Select_scan
    403. Slave_heartbeat_period
    404. Slave_open_temp_tables
    405. Slave_received_heartbeats
    406. Slave_retried_transactions
    407. Slave_running
    408. Slow_launch_threads
    409. Slow_queries
    410. Sort_merge_passes
    411. Sort_range
    412. Sort_rows
    413. Sort_scan
    414. Sphinx_error
    415. Sphinx_time
    416. Sphinx_total
    417. Sphinx_total_found
    418. Sphinx_word_count
    419. Sphinx_words
    420. Ssl_accept_renegotiates
    421. Ssl_accepts
    422. Ssl_callback_cache_hits
    423. Ssl_cipher
    424. Ssl_cipher_list
    425. Ssl_client_connects
    426. Ssl_connect_renegotiates
    427. Ssl_ctx_verify_depth
    428. Ssl_ctx_verify_mode
    429. Ssl_default_timeout
    430. Ssl_finished_accepts
    431. Ssl_finished_connects
    432. Ssl_server_not_after
    433. Ssl_server_not_after
    434. Ssl_session_cache_hits
    435. Ssl_session_cache_misses
    436. Ssl_session_cache_mode
    437. Ssl_session_cache_overflows
    438. Ssl_session_cache_size
    439. Ssl_session_cache_timeouts
    440. Ssl_sessions_reused
    441. Ssl_used_session_cache_entries
    442. Ssl_verify_depth
    443. Ssl_verify_mode
    444. Ssl_version
    445. Subquery_cache_hit
    446. Subquery_cache_miss
    447. Syncs
    448. Table_locks_immediate
    449. Table_locks_waited
    450. Tc_log_max_pages_used
    451. Tc_log_page_size
    452. Tc_log_page_waits
    453. Threadpool_idle_threads
    454. Threadpool_threads
    455. Threads_cached
    456. Threads_connected
    457. Threads_created
    458. Threads_running
    459. Uptime
    460. Uptime_since_flush_status

The full list of status variables are listed in the contents on this page; most 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 mysqladmin 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

  • Description: 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.
  • Scope: Global
  • Data Type: numeric

Aborted_connects

  • Description: 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.
  • Scope: Global
  • Data Type: numeric

Access_denied_errors

  • Description: Number of access denied errors.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.2

Binlog_bytes_written

  • Description: The number of bytes written to the binary log.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Binlog_cache_disk_use

  • Description: Number of transactions which used a temporary disk cache because they could not fit in the regular binary log cache, being larger than binlog_cache_size.
  • Scope: Global
  • Data Type: numeric

Binlog_cache_use

  • Description: Number of transaction which used the regular binary log cache, being smaller than binlog_cache_size.
  • Scope: Global
  • Data Type: numeric

Binlog_commits

  • Description: Total number of transactions committed to the binary log.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Binlog_group_commits


Binlog_snapshot_files


Binlog_snapshot_position


Binlog_stmt_cache_disk_use

  • Description: Number of non-transaction statements which used a temporary disk cache because they could not fit in the regular binary log cache, being larger than binlog_stmt_cache_size.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB/MySQL 5.5

Binlog_stmt_cache_use

  • Description: Number of non-transaction statement which used the regular binary log cache, being smaller than binlog_stmt_cache_size.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB/MySQL 5.5

Busy_time

  • Description: Cumulative time in seconds of activity on connections.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Bytes_received

  • Description: Total bytes received from all clients.
  • Scope: Global
  • Data Type: numeric

Bytes_sent

  • Description: Total bytes sent to all clients.
  • Scope: Global, Session
  • Data Type: numeric

Com_admin_commands

  • Description: 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

  • Description: Number of ALTER DATABASE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_alter_db_upgrade


Com_alter_event

  • Description: Number of ALTER EVENT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_alter_function

  • Description: Number of ALTER FUNCTION commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_alter_procedure

  • Description: Number of ALTER PROCEDURE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_alter_server

  • Description: Number of ALTER SERVER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_alter_table

  • Description: Number of ALTER TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_alter_tablespace

  • Description: Number of ALTER TABLESPACE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_analyze

  • Description: Number of ANALYZE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_assign_to_keycache

  • Description: Number of assign to keycache commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_backup_table

  • Description: Removed in MariaDB 5.5, in older versions, Com_backup_table contains the number of BACKUP TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric
  • Removed: MariaDB 5.5

Com_begin

  • Description: Number of BEGIN statements executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_binlog

  • Description: Number of BINLOG commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_call_procedure

  • Description: Number of CALL procedure_name statements executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_change_db

  • Description: Number of USE database_name commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_check

  • Description: Number of CHECK TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_checksum

  • Description: Number of CHECKSUM TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_commit

  • Description: Number of COMMIT commands executed. Differs from Handler_commit, which counts internal commit statements.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_db

  • Description: Number of CREATE DATABASE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_event

  • Description: 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

  • Description: Number of CREATE FUNCTION commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_index

  • Description: Number of CREATE INDEX commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_procedure

  • Description: Number of CREATE PROCEDURE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_role


Com_create_server

  • Description: Number of CREATE SERVER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_table

  • Description: Number of CREATE TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_trigger

  • Description: Number of CREATE TRIGGER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_udf

  • Description: Number of CREATE UDF commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_user

  • Description: Number of CREATE USER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_create_view

  • Description: Number of CREATE VIEW commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_dealloc_sql

  • Description: Number of DEALLOCATE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_delete

  • Description: 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

  • Description: Number of multi-table DELETE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_do

  • Description: Number of DO commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_db

  • Description: Number of DROP DATABASE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_event

  • Description: Number of DROP EVENT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_function

  • Description: Number of DROP FUNCTION commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_index

  • Description: Number of DROP INDEX commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_procedure

  • Description: Number of DROP PROCEDURE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_role

  • Description: Number of DROP ROLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0.5

Com_drop_server

  • Description: Number of DROP SERVER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_table

  • Description: Number of DROP TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_trigger

  • Description: Number of DROP TRIGGER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_user

  • Description: Number of DROP USER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_drop_view

  • Description: Number of DROP VIEW commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_empty_query

  • Description: 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 is mysql --comments -e '-- sql comment'
  • Scope: Global, Session
  • Data Type: numeric

Com_execute_sql

  • Description: Number of EXECUTE statements executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_flush

  • Description: 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_grant

  • Description: Number of GRANT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_grant_role

  • Description: Number of GRANT role commands executed.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0.5

Com_ha_close

  • Description: Number of HANDLER table_name CLOSE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_ha_open

  • Description: Number of HANDLER table_name OPEN commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_ha_read

  • Description: Number of HANDLER table_name READ commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_help

  • Description: Number of HELP commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_insert

  • Description: Number of INSERT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_insert_select

  • Description: Number of INSERT ... SELECT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_install_plugin

  • Description: Number of INSTALL PLUGIN commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_kill

  • Description: Number of KILL commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_load

  • Description: Number of LOAD commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_load_master_data

  • Description:
  • Scope: Global, Session
  • Data Type: numeric
  • Removed: MariaDB 5.5

Com_load_master_table

  • Description:
  • Scope: Global, Session
  • Data Type: numeric
  • Removed: MariaDB 5.5

Com_lock_tables

  • Description: Number of [lock-tables|LOCK TABLES]] commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_optimize

  • Description: Number of OPTIMIZE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_preload_keys

  • Description:
  • Scope: Global, Session
  • Data Type: numeric

Com_prepare_sql

  • Description: Number of PREPARE statements executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_purge

  • Description: Number of PURGE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_purge_before_date

  • Description: Number of PURGE BEFORE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_release_savepoint

  • Description: Number of RELEASE SAVEPOINT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_rename_table

  • Description: Number of RENAME TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_rename_user

  • Description: Number of RENAME USER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_repair

  • Description: Number of REPAIR TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_replace

  • Description: Number of REPLACE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_replace_select

  • Description: Number of REPLACE ... SELECT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_reset

  • Description: Number of RESET commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_resignal

  • Description: Number of RESIGNAL commands executed.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Com_restore_table

  • Description:
  • Scope: Global, Session
  • Data Type: numeric
  • Removed: MariaDB 5.5

Com_revoke

  • Description: Number of REVOKE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_revoke_all

  • Description: Number of REVOKE ALL commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_revoke_grant

  • Description: Number of REVOKE role commands executed.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0.5

Com_rollback

  • Description: 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_savepoint

  • Description: 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

  • Description: Number of SELECT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_set_option

  • Description: Number of SET OPTION commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_signal

  • Description: Number of SIGNAL statements executed.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Com_show_authors

  • Description: Number of SHOW AUTHORS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_binlog_events

  • Description: Number of SHOW BINLOG EVENTS statements executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_binlogs

  • Description: Number of SHOW BINARY LOGS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_charsets

  • Description: Number of SHOW CHARACTER SET commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_client_statistics


Com_show_collations

  • Description: Number of SHOW COLLATION commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_column_types

  • Description:
  • Scope: Global, Session
  • Data Type: numeric
  • Removed: MariaDB 5.5

Com_show_contributors

  • Description: Number of SHOW CONTRIBUTORS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_create_db

  • Description: Number of SHOW CREATE DATABASE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_create_event

  • Description: Number of SHOW CREATE EVENT commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_create_func

  • Description: Number of SHOW CREATE FUNCTION commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_create_proc

  • Description: Number of SHOW CREATE PROCEDURE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_create_table

  • Description: Number of SHOW CREATE TABLE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_create_trigger

  • Description: Number of SHOW CREATE TRIGGER commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_databases

  • Description: Number of SHOW DATABASES commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_engine_logs

  • Description: Number of SHOW ENGINE LOGS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_engine_mutex

  • Description: Number of SHOW ENGINE MUTEX commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_engine_status

  • Description: Number of SHOW ENGINE STATUS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_events

  • Description: Number of SHOW EVENTS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_errors

  • Description: Number of SHOW ERRORS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_explain

  • Description: Number of SHOW EXPLAIN commands executed.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Com_show_fields

  • Description: Number of SHOW COLUMNS or SHOW FIELDS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_function_status

  • Description: Number of SHOW FUNCTION STATUS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_grants

  • Description: Number of SHOW GRANTS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_keys

  • Description: Number of SHOW INDEX or SHOW KEYS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_index_statistics


Com_show_open_tables

  • Description: Number of SHOW OPEN TABLES commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_plugins

  • Description: Number of SHOW PLUGINS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_privileges

  • Description: Number of SHOW PRIVILEGES commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_procedure_status

  • Description: Number of SHOW PROCEDURE STATUS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_processlist

  • Description: Number of SHOW PROCESSLIST commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_profile

  • Description: Number of SHOW PROFILE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_profiles

  • Description: Number of SHOW PROFILES commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_relaylog_events

  • Description: Number of SHOW RELAYLOG EVENTS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_status

  • Description: Number of SHOW STATUS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_storage_engines

  • Description: Number of SHOW STORAGE ENGINES - or SHOW ENGINES - commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_table_statistics

  • Description: Number of SHOW TABLE STATISTICS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_table_status

  • Description: Number of SHOW TABLE STATUS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_tables

  • Description: Number of SHOW TABLES commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_triggers

  • Description: Number of SHOW TRIGGERS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_user_statistics

  • Description: Number of SHOW USER STATISTICS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_variable

  • Description: Number of SHOW VARIABLES commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_show_warnings

  • Description: Number of SHOW WARNINGS commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_shutdown

  • Description: Number of SHUTDOWN commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_stmt_close


Com_stmt_execute


Com_stmt_fetch


Com_stmt_prepare


Com_stmt_reprepare

  • Description: Number of prepared statements reprepared.
  • Scope: Global, Session
  • Data Type: numeric

Com_stmt_reset

  • Description: 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

  • Description: Number of prepared statements where the parameter data has been sent in chunks (long data).
  • Scope: Global, Session
  • Data Type: numeric

Com_truncate

  • Description: Number of TRUNCATE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_uninstall_plugin

  • Description: Number of UNINSTALL PLUGIN commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_unlock_tables

  • Description: Number of UNLOCK TABLES commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_update

  • Description: Number of UPDATE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_update_multi

  • Description: Number of multi-table UPDATE commands executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_xa_commit

  • Description: Number of XA statements committed.
  • Scope: Global, Session
  • Data Type: numeric

Com_xa_end

  • Description: Number of XA statements ended.
  • Scope: Global, Session
  • Data Type: numeric

Com_xa_prepare

  • Description: Number of XA statements prepared.
  • Scope: Global, Session
  • Data Type: numeric

Com_xa_recover

  • Description: Number of XA RECOVER statements executed.
  • Scope: Global, Session
  • Data Type: numeric

Com_xa_rollback

  • Description: Number of XA statements rolled back.
  • Scope: Global, Session
  • Data Type: numeric

Com_xa_start

  • Description: Number of XA statements started.
  • Scope: Global, Session
  • Data Type: numeric

Compression

  • Description: Whether client-server traffic is compressed.
  • Scope: Session
  • Data Type: boolean

Connection_errors_accept

  • Description: Number of errors that occurred during calls to accept() on the listening port.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0 / MySQL 5.6.5

Connection_errors_internal

  • Description: Number of refused connections due to internal server errors, for example out of memory errors, or failed thread starts.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0 / MySQL 5.6.5

Connection_errors_max_connections

  • Description: Number of refused connections due to the max_connections limit being reached.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0 / MySQL 5.6.5

Connection_errors_peer_address

  • Description: Number of errors while searching for the connecting client IP address.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0 / MySQL 5.6.5

Connection_errors_select

  • Description: Number of errors during calls to select() or poll() on the listening port. The client would not necessarily have been rejected in these cases.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0 / MySQL 5.6.5

Connection_errors_tcpwrap

  • Description: Number of connections the libwrap library refused.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0 / MySQL 5.6.5

Connections

  • Description: Number of connection attempts (both successful and unsuccessful)
  • Scope: Global
  • Data Type: numeric

Cpu_time

  • Description: Total CPU time used.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Created_tmp_disk_tables

  • Description: Number of on-disk temporary tables created.
  • Scope: Global, Session
  • Data Type: numeric

Created_tmp_files

  • Description: Number of in-memory temporary tables created.
  • Scope: Global
  • Data Type: numeric

Created_tmp_tables

  • Description: Number of temporary tables created.
  • Scope: Global
  • Data Type: numeric

Delayed_errors

  • Description: Number of errors which occurred while doing INSERT DELAYED.
  • Scope: Global
  • Data Type: numeric

Delayed_insert_threads

  • Description: Number of INSERT DELAYED threads.
  • Scope: Global
  • Data Type: numeric

Delayed_writes

  • Description: Number of INSERT DELAYED rows written..
  • Scope: Global
  • Data Type: numeric

Empty_queries

  • Description: Number of queries returning no results. Note this is not the same as Com_empty_query.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.2

Executed_events

  • Description: 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
  • Introduced: MariaDB 5.5.28

Executed_triggers

  • Description: 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
  • Introduced: MariaDB 5.5.28

Feature_dynamic_columns


Feature_fulltext


Feature_gis

  • Description: Number of times a table with a any of the geometry columns was opened.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Feature_locale

  • Description: Number of times the @@lc_messages variable was assigned into.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Feature_subquery

  • Description: Number of subqueries (excluding subqueries in the FROM clause) used.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Feature_timezone

  • Description: Number of times an explicit timezone (excluding UTC and SYSTEM) was specified.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Feature_trigger

  • Description: Number of triggers loaded.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Feature_xml


Flush_commands

  • Description: Number of FLUSH statements executed, as well as due to internal server flush requests. This differs from Com_flush, which simply counts FLUSH statements, not internal server flush operations.
  • Scope: Global
  • Data Type: numeric

Handler_commit

  • Description: 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

  • Description: 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

  • Description: 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

  • Description: 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
  • Introduced: MariaDB 10.0

Handler_icp_attempts


Handler_icp_match


Handler_mrr_init


Handler_mrr_key_refills

  • Description: 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
  • Introduced: MariaDB 5.3

Handler_mrr_rowid_refills

  • Description: 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
  • Introduced: MariaDB 5.3

Handler_prepare

  • Description: Number of two-phase commit prepares.
  • Scope: Global, Session
  • Data Type: numeric

Handler_read_first

  • Description: 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_name where a is an indexed column.
  • Scope: Global, Session
  • Data Type: numeric

Handler_read_key

  • Description: 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

  • Description: 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
  • Introduced: MariaDB 5.5

Handler_read_next

  • Description: 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

  • Description: 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_rnd

  • Description: 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

  • Description: Number of requests to delete a row based on its position.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Handler_read_rnd_next

  • Description: 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

  • Description: 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

  • Description: 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

  • Description: Number of requests to rollback to a transaction savepoint.
  • Scope: Global, Session
  • Data Type: numeric

Handler_tmp_update

  • Description: Number of requests to update a row to a temporary table.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Handler_tmp_write

  • Description: Number of requests to write a row to a temporary table.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Handler_update

  • Description: 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

  • Description: 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

  • Description: Number of key cache blocks which have been modified but not flushed to disk.
  • Scope: Global
  • Data Type: numeric

Key_blocks_unused

  • Description: Number of unused key cache blocks.
  • Scope: Global
  • Data Type: numeric

Key_blocks_used

  • Description: Max number of key cache blocks which have been used simultaneously.
  • Scope: Global
  • Data Type: numeric

Key_blocks_warm

  • Description: Number of key cache blocks in the warm list.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 5.1

Key_read_requests


Key_reads


Key_write_requests

  • Description: Number of requests to write a block to the key cache.
  • Scope: Global
  • Data Type: numeric

Key_writes

  • Description: Number of key cache block write requests
  • Scope: Global
  • Data Type: numeric

Last_query_cost

  • Description: 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_*

  • 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_used_connections

  • Description: Max number of connections ever open at the same time.
  • Scope: Session
  • Data Type: numeric

Memory_used

  • Description: Global or per-connection memory usage.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0.1

Not_flushed_delayed_rows

  • Description: Number of INSERT DELAYED rows waiting to be written.
  • Scope: Global
  • Data Type: numeric

Open_files

  • Description: 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

  • Description: Number of currently opened streams, usually log files.
  • Scope: Global
  • Data Type: numeric

Open_table_definitions

  • Description: Number of currently cached .frm files.
  • Scope: Global
  • Data Type: numeric

Open_tables

  • Description: Number of currently opened tables, excluding temporary tables.
  • Scope: Global, Session
  • Data Type: numeric

Opened_files

  • Description: Number of files the server has opened.
  • Scope: Global
  • Data Type: numeric

Opened_table_definitions

  • Description: Number of .frm files that have been cached.
  • Scope: Global, Session
  • Data Type: numeric

Opened_tables

  • Description: Number of tables the server has opened.
  • Scope: Global, Session
  • Data Type: numeric

Opened_views

  • Description: Number of views the server has opened.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_accounts_lost

  • Description: Number of times a row could not be added to the performance schema accounts table due to it being full.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Performance_schema_cond_classes_lost

  • Description: Number of condition instruments that could not be loaded.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_cond_instances_lost

  • Description: Number of instances a condition object could not be created.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_digest_lost

  • Description:
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_file_classes_lost

  • Description: Number of file instruments that could not be loaded.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_file_handles_lost

  • Description: Number of instances a file object could not be opened.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_file_instances_lost

  • Description: Number of instances a file object could not be created.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_hosts_lost

  • Description: Number of times a row could not be added to the performance schema hosts table due to it being full.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Performance_schema_locker_lost

  • Description: Number of events not recorded, due to either being recursive, or having a deeper nested events stack than the implementation limit.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_mutex_classes_lost

  • Description: Number of mutual exclusion instruments that could not be loaded.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_mutex_instances_lost

  • Description: Number of instances a mutual exclusion object could not be created.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_rwlock_classes_lost

  • Description: Number of read/write lock instruments that could not be loaded.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_rwlock_instances_lost

  • Description: Number of instances a read/write lock object could not be created.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_socket_classes_lost

  • Description:
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Performance_schema_socket_instances_lost

  • Description: Number of instances a socket object could not be created.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Performance_schema_stage_classes_lost

  • Description: Number of stage event instruments that could not be loaded.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Performance_schema_statement_classes_lost

  • Description: Number of statement instruments that could not be loaded.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Performance_schema_table_handles_lost

  • Description: Number of instances a table object could not be opened.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_table_instances_lost

  • Description: Number of instances a table object could not be created.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_thread_classes_lost

  • Description: Number of thread instruments that could not be loaded.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_thread_instances_lost

  • Description: Number of instances thread object could not be created.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Performance_schema_users_lost

  • Description: Number of times a row could not be added to the performance schema users table due to it being full.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Prepared_stmt_count

  • Description: Current number of prepared statements.
  • Scope: Global
  • Data Type: numeric

Qcache_free_blocks

  • Description: Number of free query cache memory blocks.
  • Scope: Global
  • Data Type: numeric

Qcache_free_blocks

  • Description: Number of free query cache memory blocks.
  • Scope: Global
  • Data Type: numeric

Qcache_free_memory

  • Description: Amount of free query cache memory.
  • Scope: Global
  • Data Type: numeric

Qcache_hits

  • Description: Number of requests served by the query cache.
  • Scope: Global
  • Data Type: numeric

Qcache_inserts

  • Description: Number of queries ever cached in the query cache.
  • Scope: Global
  • Data Type: numeric

Qcache_lowmem_prunes

  • Description: Number of pruning operations performed to remove old results to make space for new results in the query cache.
  • Scope: Global
  • Data Type: numeric

Qcache_not_cached

  • Description: Number of queries that are uncacheable by the query cache, or use SQL_NO_CACHE.
  • Scope: Global
  • Data Type: numeric

Qcache_queries_in_cache

  • Description: Number of queries currently cached by the query cache.
  • Scope: Global
  • Data Type: numeric

Qcache_total_blocks

  • Description: Number of blocks used by the query cache.
  • Scope: Global
  • Data Type: numeric

Queries

  • Description: 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

Questions

  • Description: 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

Rows_read

  • Description: Number of requests to read a row (excluding temporary tables).
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Rows_sent

  • Description:
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Rows_tmp_read

  • Description: Number of requests to read a row in a temporary table.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.3

Rpl_recovery_rank

  • Description: Unused

Select_full_join

  • Description: 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

  • Description: Number of joins which used a range search of the first table.
  • Scope: Global, Session
  • Data Type: numeric

Select_range

  • Description: Number of joins which used a range on the first table.
  • Scope: Global, Session
  • Data Type: numeric

Select_range_check

  • Description: 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

  • Description: Number of joins which used a full scan of the first table.
  • Scope: Global, Session
  • Data Type: numeric

Slow_launch_threads

  • Description: Number of threads which took longer than slow_launch_time to create.
  • Scope: Global, Session
  • Data Type: numeric

Slow_queries

  • Description: 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

  • Description: Number of merge passes performed by the sort algorithm. If too high, you may need to increase the sort_buffer_size.
  • Scope: Global, Session
  • Data Type: numeric

Sort_range

  • Description: Number of sorts which used a range.
  • Scope: Global, Session
  • Data Type: numeric

Sort_rows

  • Description: Number of rows sorted.
  • Scope: Global, Session
  • Data Type: numeric

Sort_scan

  • Description: Number of sorts which used a full table scan.
  • Scope: Global, Session
  • Data Type: numeric

Sphinx_error


Sphinx_time


Sphinx_total


Sphinx_total_found


Sphinx_word_count


Sphinx_words


Ssl_accept_renegotiates

  • Description: Number of negotiates needed to establish the SSL connection.
  • Scope: Global
  • Data Type: numeric

Ssl_accepts

  • Description: Number of accepted SSL/TLS handshakes.
  • Scope: Global
  • Data Type: numeric

Ssl_callback_cache_hits

  • Description: Number of sessions retrieved from session cache.
  • Scope: Global
  • Data Type: numeric

Ssl_cipher

  • Description: SSL cipher in use.
  • Scope: Global, Session
  • Data Type: numeric

Ssl_cipher_list

  • Description: List of available SSL ciphers.
  • Scope: Global, Session
  • Data Type: numeric

Ssl_client_connects

  • Description: Number of SSL/TLS handshakes started in client mode.
  • Scope: Global
  • Data Type: numeric

Ssl_connect_renegotiates

  • Description: Number of negotiates needed to establish the connection to an SSL-enabled master.
  • Scope: Global
  • Data Type: numeric

Ssl_ctx_verify_depth

  • Description: How many SSL certificates in the chain are tested.
  • Scope: Global
  • Data Type: numeric

Ssl_ctx_verify_mode

  • Description: SSL context verification mode.
  • Scope: Global
  • Data Type: numeric

Ssl_default_timeout

  • Description: SSL default timeout, in seconds.
  • Scope: Global, Session
  • Data Type: numeric

Ssl_finished_accepts

  • Description: Number of successful SSL/TLS sessions in server mode.
  • Scope: Global
  • Data Type: numeric

Ssl_finished_connects

  • Description: Number of successful SSL/TLS sessions in client mode.
  • Scope: Global
  • Data Type: numeric

Ssl_server_not_after

  • Description: Last valid date for the SSL certificate.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Ssl_server_not_after

  • Description: First valid date for the SSL certificate.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.0

Ssl_session_cache_hits

  • Description: Number of SSL sessions found in the session cache.
  • Scope: Global
  • Data Type: numeric

Ssl_session_cache_misses

  • Description: Number of SSL sessions not found in the session cache.
  • Scope: Global
  • Data Type: numeric

Ssl_session_cache_mode

  • Description: Mode used for SSL caching by the server.
  • Scope: Global
  • Data Type: numeric

Ssl_session_cache_overflows

  • Description: Number of sessions removed from the session cache because it was full.
  • Scope: Global
  • Data Type: numeric

Ssl_session_cache_size

  • Description: Size of the session cache.
  • Scope: Global
  • Data Type: numeric

Ssl_session_cache_timeouts

  • Description: Number of sessions which have timed out.
  • Scope: Global
  • Data Type: numeric

Ssl_sessions_reused

  • Description: Number of sessions reused.
  • Scope: Global, Session
  • Data Type: numeric

Ssl_used_session_cache_entries

  • Description: Current number of sessions in the session cache.
  • Scope: Global
  • Data Type: numeric

Ssl_verify_depth

  • Description: SSL verification depth.
  • Scope: Global, Session
  • Data Type: numeric

Ssl_verify_mode

  • Description: SSL verification mode.
  • Scope: Global, Session
  • Data Type: numeric

Ssl_version

  • Description: SSL version in use.
  • Scope: Global, Session
  • Data Type: numeric

Subquery_cache_hit


Subquery_cache_miss


Syncs

  • Description: 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
  • Introduced: MariaDB 5.1

Table_locks_immediate

  • Description: Number of table locks which were completed immediately.
  • Scope: Global
  • Data Type: numeric

Table_locks_waited

  • Description: Number of table locks which had to wait. Indicates table lock contention.
  • Scope: Global
  • Data Type: numeric

Tc_log_max_pages_used

  • Description: Max number of pages used by the transaction coordinator recovery log.
  • Scope: Global
  • Data Type: numeric

Tc_log_page_size

  • Description: Page size of the transaction coordinator recovery log.
  • Scope: Global
  • Data Type: numeric

Tc_log_page_waits

  • Description: Number of times a two-phase commit was forced to wait for a free transaction coordinator recovery log page.
  • Scope: Global
  • Data Type: numeric

Threadpool_idle_threads

  • Description: Number of inactive threads in the thread pool. Only meaningful on Unixes, not tracked on Windows. Threads become idle either by waiting for new work, or if it's blocked due to disk io, row or table lock etc.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Threadpool_threads

  • Description: Number of threads in the thread pool.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 5.5

Threads_cached

  • Description: Number of threads cached in the thread cache.
  • Scope: Global
  • Data Type: numeric

Threads_connected

  • Description: Number of open connections.
  • Scope: Global
  • Data Type: numeric

Threads_created

  • Description: 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

  • Description: Number of threads that are actively running, not sleeping.
  • Scope: Global
  • Data Type: numeric

Uptime

  • Description: Number of seconds the server has been running.
  • Scope: Global
  • Data Type: numeric

Uptime_since_flush_status

  • Description: Number of seconds since the last FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.