Server Status Variables

Contents

  1. List of Server Status Variables
    1. Aborted_clients
    2. Aborted_connects
    3. Aborted_connects_preauth
    4. Access_denied_errors
    5. Acl_column_grants
    6. Acl_database_grants
    7. Acl_function_grants
    8. Acl_package_body_grants
    9. Acl_package_spec_grants
    10. Acl_procedure_grants
    11. Acl_proxy_users
    12. Acl_role_grants
    13. Acl_roles
    14. Acl_table_grants
    15. Acl_users
    16. Aria_pagecache_blocks_not_flushed
    17. Aria_pagecache_blocks_unused
    18. Aria_pagecache_blocks_used
    19. Aria_pagecache_read_requests
    20. Aria_pagecache_reads
    21. Aria_pagecache_write_requests
    22. Aria_pagecache_writes
    23. Aria_transaction_log_syncs
    24. Binlog_bytes_written
    25. Binlog_cache_disk_use
    26. Binlog_commits
    27. Binlog_group_commit_trigger_count
    28. Binlog_group_commit_trigger_lock_wait
    29. Binlog_group_commit_trigger_timeout
    30. Binlog_group_commits
    31. Binlog_snapshot_file
    32. Binlog_snapshot_position
    33. Binlog_stmt_cache_disk_use
    34. Binlog_stmt_cache_use
    35. Busy_time
    36. Bytes_received
    37. Bytes_sent
    38. Cassandra_multiget_keys_scanned
    39. Cassandra_multiget_reads
    40. Cassandra_multiget_rows_read
    41. Cassandra_row_inserts
    42. Cassandra_row_insert_batches
    43. Cassandra_timeout_exceptions
    44. Cassandra_unavailable_exceptions
    45. Column_compressions
    46. Column_decompressions
    47. Com_admin_commands
    48. Com_alter_db
    49. Com_alter_db_upgrade
    50. Com_alter_event
    51. Com_alter_function
    52. Com_alter_procedure
    53. Com_alter_sequence
    54. Com_alter_server
    55. Com_alter_table
    56. Com_alter_tablespace
    57. Com_alter_user
    58. Com_analyze
    59. Com_assign_to_keycache
    60. Com_backup
    61. Com_backup_lock
    62. Com_backup_table
    63. Com_begin
    64. Com_binlog
    65. Com_call_procedure
    66. Com_change_db
    67. Com_change_master
    68. Com_check
    69. Com_checksum
    70. Com_commit
    71. Com_compound_sql
    72. Com_create_db
    73. Com_create_event
    74. Com_create_function
    75. Com_create_index
    76. Com_create_package
    77. Com_create_package_body
    78. Com_create_procedure
    79. Com_create_role
    80. Com_create_sequence
    81. Com_create_server
    82. Com_create_table
    83. Com_create_temporary_table
    84. Com_create_trigger
    85. Com_create_udf
    86. Com_create_user
    87. Com_create_view
    88. Com_dealloc_sql
    89. Com_delete
    90. Com_delete_multi
    91. Com_do
    92. Com_drop_db
    93. Com_drop_event
    94. Com_drop_function
    95. Com_drop_index
    96. Com_drop_package
    97. Com_drop_package_body
    98. Com_drop_procedure
    99. Com_drop_role
    100. Com_drop_sequence
    101. Com_drop_server
    102. Com_drop_table
    103. Com_drop_temporary_table
    104. Com_drop_trigger
    105. Com_drop_user
    106. Com_drop_view
    107. Com_empty_query
    108. Com_execute_immediate
    109. Com_execute_sql
    110. Com_flush
    111. Com_get_diagnostics
    112. Com_grant
    113. Com_grant_role
    114. Com_ha_close
    115. Com_ha_open
    116. Com_ha_read
    117. Com_help
    118. Com_insert
    119. Com_insert_select
    120. Com_install_plugin
    121. Com_kill
    122. Com_load
    123. Com_load_master_data
    124. Com_load_master_table
    125. Com_multi
    126. Com_lock_tables
    127. Com_optimize
    128. Com_preload_keys
    129. Com_prepare_sql
    130. Com_purge
    131. Com_purge_before_date
    132. Com_release_savepoint
    133. Com_rename_table
    134. Com_rename_user
    135. Com_repair
    136. Com_replace
    137. Com_replace_select
    138. Com_reset
    139. Com_resignal
    140. Com_restore_table
    141. Com_revoke
    142. Com_revoke_all
    143. Com_revoke_grant
    144. Com_rollback
    145. Com_rollback_to_savepoint
    146. Com_savepoint
    147. Com_select
    148. Com_set_option
    149. Com_signal
    150. Com_show_authors
    151. Com_show_binlog_events
    152. Com_show_binlogs
    153. Com_show_charsets
    154. Com_show_client_statistics
    155. Com_show_collations
    156. Com_show_column_types
    157. Com_show_contributors
    158. Com_show_create_db
    159. Com_show_create_event
    160. Com_show_create_func
    161. Com_show_create_package
    162. Com_show_create_package_body
    163. Com_show_create_proc
    164. Com_show_create_table
    165. Com_show_create_trigger
    166. Com_show_create_user
    167. Com_show_databases
    168. Com_show_engine_logs
    169. Com_show_engine_mutex
    170. Com_show_engine_status
    171. Com_show_events
    172. Com_show_errors
    173. Com_show_explain
    174. Com_show_fields
    175. Com_show_function_status
    176. Com_show_generic
    177. Com_show_grants
    178. Com_show_keys
    179. Com_show_index_statistics
    180. com_show_master_status
    181. com_show_new_master
    182. Com_show_open_tables
    183. Com_show_package_status
    184. Com_show_package_body_status
    185. Com_show_plugins
    186. Com_show_privileges
    187. Com_show_procedure_status
    188. Com_show_processlist
    189. Com_show_profile
    190. Com_show_profiles
    191. Com_show_relaylog_events
    192. com_show_slave_hosts
    193. com_show_slave_status
    194. Com_show_status
    195. Com_show_storage_engines
    196. Com_show_table_statistics
    197. Com_show_table_status
    198. Com_show_tables
    199. Com_show_triggers
    200. Com_show_user_statistics
    201. Com_show_variable
    202. Com_show_warnings
    203. Com_shutdown
    204. Com_slave_start
    205. Com_slave_stop
    206. Com_start_all_slaves
    207. Com_start_slave
    208. Com_stmt_close
    209. Com_stmt_execute
    210. Com_stmt_fetch
    211. Com_stmt_prepare
    212. Com_stmt_reprepare
    213. Com_stmt_reset
    214. Com_stmt_send_long_data
    215. Com_stop_all_slaves
    216. Com_stop_slave
    217. Com_truncate
    218. Com_uninstall_plugin
    219. Com_unlock_tables
    220. Com_update
    221. Com_update_multi
    222. Com_xa_commit
    223. Com_xa_end
    224. Com_xa_prepare
    225. Com_xa_recover
    226. Com_xa_rollback
    227. Com_xa_start
    228. Compression
    229. Connection_errors_accept
    230. Connection_errors_internal
    231. Connection_errors_max_connections
    232. Connection_errors_peer_address
    233. Connection_errors_select
    234. Connection_errors_tcpwrap
    235. Connections
    236. Cpu_time
    237. Created_tmp_disk_tables
    238. Created_tmp_files
    239. Created_tmp_tables
    240. Delayed_errors
    241. Delayed_insert_threads
    242. Delayed_writes
    243. Delete_scan
    244. Empty_queries
    245. Executed_events
    246. Executed_triggers
    247. Feature_application_time_periods
    248. Feature_check_constraint
    249. Feature_custom_aggregate_functions
    250. Feature_delay_key_write
    251. Feature_dynamic_columns
    252. Feature_fulltext
    253. Feature_gis
    254. Feature_insert_returning
    255. Feature_invisible_columns
    256. Feature_json
    257. Feature_locale
    258. Feature_subquery
    259. Feature_system_versioning
    260. Feature_timezone
    261. Feature_trigger
    262. Feature_window_functions
    263. Feature_xml
    264. Flush_commands
    265. Handler_commit
    266. Handler_delete
    267. Handler_discover
    268. Handler_external_lock
    269. Handler_icp_attempts
    270. Handler_icp_match
    271. Handler_mrr_init
    272. Handler_mrr_key_refills
    273. Handler_mrr_rowid_refills
    274. Handler_prepare
    275. Handler_read_first
    276. Handler_read_key
    277. Handler_read_last
    278. Handler_read_next
    279. Handler_read_prev
    280. Handler_read_retry
    281. Handler_read_rnd
    282. Handler_read_rnd_deleted
    283. Handler_read_rnd_next
    284. Handler_rollback
    285. Handler_savepoint
    286. Handler_savepoint_rollback
    287. Handler_tmp_delete
    288. Handler_tmp_update
    289. Handler_tmp_write
    290. Handler_update
    291. Handler_write
    292. Innodb_adaptive_hash_cells
    293. Innodb_adaptive_hash_hash_searches
    294. Innodb_adaptive_hash_heap_buffers
    295. Innodb_adaptive_hash_non_hash_searches
    296. Innodb_available_undo_logs
    297. Innodb_background_log_sync
    298. Innodb_buffer_pool_bytes_data
    299. Innodb_buffer_pool_bytes_dirty
    300. Innodb_buffer_pool_dump_status
    301. innodb_buffer_pool_load_incomplete
    302. innodb_buffer_pool_load_status
    303. Innodb_buffer_pool_pages_data
    304. Innodb_buffer_pool_pages_dirty
    305. Innodb_buffer_pool_pages_flushed
    306. Innodb_buffer_pool_pages_LRU_flushed
    307. Innodb_buffer_pool_pages_free
    308. Innodb_buffer_pool_pages_made_not_young
    309. Innodb_buffer_pool_pages_made_young
    310. Innodb_buffer_pool_pages_misc
    311. Innodb_buffer_pool_pages_old
    312. Innodb_buffer_pool_pages_total
    313. Innodb_buffer_pool_read_ahead_rnd
    314. Innodb_buffer_pool_read_ahead
    315. Innodb_buffer_pool_read_ahead_evicted
    316. Innodb_buffer_pool_read_requests
    317. Innodb_buffer_pool_reads
    318. Innodb_buffer_pool_resize_status
    319. Innodb_buffer_pool_wait_free
    320. Innodb_buffer_pool_write_requests
    321. Innodb_buffered_aio_submitted
    322. Innodb_checkpoint_age
    323. Innodb_checkpoint_max_age
    324. Innodb_checkpoint_target_age
    325. Innodb_current_row_locks
    326. Innodb_data_fsyncs
    327. Innodb_data_pending_fsyncs
    328. Innodb_data_pending_reads
    329. Innodb_data_pending_writes
    330. Innodb_data_read
    331. Innodb_data_reads
    332. Innodb_data_writes
    333. Innodb_data_written
    334. Innodb_dblwr_pages_written
    335. Innodb_dblwr_writes
    336. Innodb_deadlocks
    337. Innodb_defragment_compression_failures
    338. Innodb_defragment_count
    339. Innodb_defragment_failures
    340. Innodb_dict_tables
    341. Innodb_encryption_n_merge_blocks_decrypted
    342. Innodb_encryption_n_merge_blocks_encrypted
    343. Innodb_encryption_n_rowlog_blocks_decrypted
    344. Innodb_encryption_n_rowlog_blocks_encrypted
    345. Innodb_encryption_n_temp_blocks_decrypted
    346. Innodb_encryption_n_temp_blocks_encrypted
    347. Innodb_encryption_num_key_requests
    348. Innodb_encryption_rotation_estimated_iops
    349. Innodb_encryption_rotation_pages_flushed
    350. Innodb_encryption_rotation_pages_modified
    351. Innodb_encryption_rotation_pages_read_from_cache
    352. Innodb_encryption_rotation_pages_read_from_disk
    353. Innodb_have_atomic_builtins
    354. Innodb_have_bzip2
    355. Innodb_have_lz4
    356. Innodb_have_lzma
    357. Innodb_have_lzo
    358. Innodb_have_snappy
    359. Innodb_history_list_length
    360. Innodb_ibuf_discarded_delete_marks
    361. Innodb_ibuf_discarded_deletes
    362. Innodb_ibuf_discarded_inserts
    363. Innodb_ibuf_free_list
    364. Innodb_ibuf_merged_delete_marks
    365. Innodb_ibuf_merged_deletes
    366. Innodb_ibuf_merged_inserts
    367. Innodb_ibuf_merges
    368. Innodb_ibuf_segment_size
    369. Innodb_ibuf_size
    370. Innodb_instant_alter_column
    371. Innodb_log_waits
    372. Innodb_log_write_requests
    373. Innodb_log_writes
    374. Innodb_lsn_current
    375. Innodb_lsn_flushed
    376. Innodb_lsn_last_checkpoint
    377. Innodb_master_thread_1_second_loops
    378. Innodb_master_thread_10_second_loops
    379. Innodb_master_thread_background_loops
    380. Innodb_master_thread_main_flush_loops
    381. Innodb_master_thread_sleeps
    382. Innodb_max_trx_id
    383. Innodb_mem_adaptive_hash
    384. Innodb_mem_dictionary
    385. Innodb_mem_total
    386. Innodb_mutex_os_waits
    387. Innodb_mutex_spin_rounds
    388. Innodb_mutex_spin_waits
    389. Innodb_num_index_pages_written
    390. Innodb_num_non_index_pages_written
    391. Innodb_num_open_files
    392. Innodb_num_page_compressed_trim_op
    393. Innodb_num_page_compressed_trim_op_saved
    394. Innodb_num_pages_encrypted
    395. Innodb_num_pages_page_compressed
    396. Innodb_num_pages_page_compression_error
    397. Innodb_num_pages_page_decompressed
    398. Innodb_num_pages_page_decrypted
    399. Innodb_num_pages_page_encryption_error
    400. Innodb_oldest_view_low_limit_trx_id
    401. Innodb_onlineddl_pct_progress
    402. Innodb_onlineddl_rowlog_pct_used
    403. Innodb_onlineddl_rowlog_rows
    404. Innodb_os_log_fsyncs
    405. Innodb_os_log_pending_fsyncs
    406. Innodb_os_log_pending_writes
    407. Innodb_os_log_written
    408. Innodb_page_compression_saved
    409. Innodb_page_compression_trim_sect512
    410. Innodb_page_compression_trim_sect1024
    411. Innodb_page_compression_trim_sect2048
    412. Innodb_page_compression_trim_sect4096
    413. Innodb_page_compression_trim_sect8192
    414. Innodb_page_compression_trim_sect16384
    415. Innodb_page_compression_trim_sect32768
    416. Innodb_page_size
    417. Innodb_pages_created
    418. Innodb_pages_read
    419. Innodb_pages_written
    420. Innodb_purge_trx_id
    421. Innodb_purge_undo_no
    422. Innodb_row_lock_current_waits
    423. Innodb_row_lock_numbers
    424. Innodb_row_lock_time
    425. Innodb_row_lock_time_avg
    426. Innodb_row_lock_time_max
    427. Innodb_row_lock_time_waits
    428. Innodb_rows_deleted
    429. Innodb_rows_inserted
    430. Innodb_rows_read
    431. Innodb_rows_updated
    432. Innodb_s_lock_os_waits
    433. Innodb_s_lock_spin_rounds
    434. Innodb_s_lock_spin_waits
    435. Innodb_scrub_background_page_reorganizations
    436. Innodb_scrub_background_page_split_failures_missing_index
    437. Innodb_scrub_background_page_split_failures_out_of_filespace
    438. Innodb_scrub_background_page_split_failures_underflow
    439. Innodb_scrub_background_page_split_failures_unknown
    440. Innodb_scrub_background_page_splits
    441. Innodb_secondary_index_triggered_cluster_reads
    442. Innodb_secondary_index_triggered_cluster_reads_avoided
    443. Innodb_system_rows_deleted
    444. Innodb_system_rows_inserted
    445. Innodb_system_rows_read
    446. Innodb_system_rows_updated
    447. Innodb_truncated_status_writes
    448. Innodb_undo_truncations
    449. Innodb_x_lock_os_waits
    450. Innodb_x_lock_spin_rounds
    451. Innodb_x_lock_spin_waits
    452. Key_blocks_not_flushed
    453. Key_blocks_unused
    454. Key_blocks_used
    455. Key_blocks_warm
    456. Key_read_requests
    457. Key_reads
    458. Key_write_requests
    459. Key_writes
    460. Last_query_cost
    461. Maria_*
    462. Master_gtid_wait_count
    463. Master_gtid_wait_time
    464. Master_gtid_wait_timeouts
    465. Max_statement_time_exceeded
    466. Max_used_connections
    467. Memory_used
    468. Memory_used_initial
    469. Mroonga_count_skip
    470. Mroonga_fast_order_limit
    471. Not_flushed_delayed_rows
    472. Open_files
    473. Open_streams
    474. Open_table_definitions
    475. Open_tables
    476. Opened_files
    477. Opened_plugin_libraries
    478. Opened_table_definitions
    479. Opened_tables
    480. Opened_views
    481. Oqgraph_boost_version
    482. Oqgraph_compat_mode
    483. Oqgraph_verbose_debug
    484. Performance_schema_accounts_lost
    485. Performance_cond_classes_accounts_lost
    486. Performance_schema_cond_instances_lost
    487. Performance_schema_digest_lost
    488. Performance_schema_file_classes_lost
    489. Performance_schema_file_handles_lost
    490. Performance_schema_file_instances_lost
    491. Performance_schema_hosts_lost
    492. Performance_schema_index_stat_lost
    493. Performance_schema_locker_lost
    494. Performance_schema_memory_classes_lost
    495. Performance_metadata_lock_classes_lost
    496. Performance_schema_mutex_classes_lost
    497. Performance_schema_mutex_instances_lost
    498. Performance_schema_nested_statement_lost
    499. Performance_schema_prepared_statements_lost
    500. Performance_schema_program_lost
    501. Performance_schema_rwlock_classes_lost
    502. Performance_schema_rwlock_instances_lost
    503. Performance_schema_session_connect_attrs_lost
    504. Performance_schema_socket_classes_lost
    505. Performance_schema_socket_instances_lost
    506. Performance_schema_stage_classes_lost
    507. Performance_schema_statement_classes_lost
    508. Performance_schema_table_handles_lost
    509. Performance_schema_table_instances_lost
    510. Performance_schema_table_lock_stat_lost
    511. Performance_schema_thread_classes_lost
    512. Performance_schema_thread_instances_lost
    513. Performance_schema_users_lost
    514. Prepared_stmt_count
    515. Qcache_free_blocks
    516. Qcache_free_memory
    517. Qcache_hits
    518. Qcache_inserts
    519. Qcache_lowmem_prunes
    520. Qcache_not_cached
    521. Qcache_queries_in_cache
    522. Qcache_total_blocks
    523. Queries
    524. Questions
    525. Rocksdb_block_cache_add
    526. Rocksdb_block_cache_add_failures
    527. Rocksdb_block_cache_bytes_read
    528. Rocksdb_block_cache_bytes_write
    529. Rocksdb_block_cache_data_add
    530. Rocksdb_block_cache_data_bytes_insert
    531. Rocksdb_block_cache_data_hit
    532. Rocksdb_block_cache_data_miss
    533. Rocksdb_block_cache_filter_add
    534. Rocksdb_block_cache_filter_bytes_evict
    535. Rocksdb_block_cache_filter_bytes_insert
    536. Rocksdb_block_cache_filter_hit
    537. Rocksdb_block_cache_filter_miss
    538. Rocksdb_block_cache_hit
    539. Rocksdb_block_cache_index_add
    540. Rocksdb_block_cache_index_bytes_evict
    541. Rocksdb_block_cache_index_bytes_insert
    542. Rocksdb_block_cache_index_hit
    543. Rocksdb_block_cache_index_miss
    544. Rocksdb_block_cache_miss
    545. Rocksdb_block_cachecompressed_hit
    546. Rocksdb_block_cachecompressed_miss
    547. Rocksdb_bloom_filter_full_positive
    548. Rocksdb_bloom_filter_full_true_positive
    549. Rocksdb_bloom_filter_prefix_checked
    550. Rocksdb_bloom_filter_prefix_useful
    551. Rocksdb_bloom_filter_useful
    552. Rocksdb_bytes_read
    553. Rocksdb_bytes_written
    554. Rocksdb_compact_read_bytes
    555. Rocksdb_compact_write_bytes
    556. Rocksdb_compaction_key_drop_new
    557. Rocksdb_compaction_key_drop_obsolete
    558. Rocksdb_compaction_key_drop_user
    559. Rocksdb_covered_secondary_key_lookups
    560. Rocksdb_flush_write_bytes
    561. Rocksdb_get_hit_l0
    562. Rocksdb_get_hit_l1
    563. Rocksdb_get_hit_l2_and_up
    564. Rocksdb_getupdatessince_calls
    565. Rocksdb_iter_bytes_read
    566. Rocksdb_l0_num_files_stall_micros
    567. Rocksdb_l0_slowdown_micros
    568. Rocksdb_manual_compactions_processed
    569. Rocksdb_manual_compactions_running
    570. Rocksdb_memtable_compaction_micros
    571. Rocksdb_memtable_hit
    572. Rocksdb_memtable_miss
    573. Rocksdb_memtable_total
    574. Rocksdb_memtable_unflushed
    575. Rocksdb_no_file_closes
    576. Rocksdb_no_file_errors
    577. Rocksdb_no_file_opens
    578. Rocksdb_num_iterators
    579. Rocksdb_number_block_not_compressed
    580. Rocksdb_number_db_next
    581. Rocksdb_number_db_next_found
    582. Rocksdb_number_db_prev
    583. Rocksdb_number_db_prev_found
    584. Rocksdb_number_db_seek
    585. Rocksdb_number_db_seek_found
    586. Rocksdb_number_deletes_filtered
    587. Rocksdb_number_keys_read
    588. Rocksdb_number_keys_updated
    589. Rocksdb_number_keys_written
    590. Rocksdb_number_merge_failures
    591. Rocksdb_number_multiget_bytes_read
    592. Rocksdb_number_multiget_get
    593. Rocksdb_number_multiget_keys_read
    594. Rocksdb_number_reseeks_iteration
    595. Rocksdb_number_sst_entry_delete
    596. Rocksdb_number_sst_entry_merge
    597. Rocksdb_number_sst_entry_other
    598. Rocksdb_number_sst_entry_put
    599. Rocksdb_number_sst_entry_singledelete
    600. Rocksdb_number_superversion_acquires
    601. Rocksdb_number_superversion_cleanups
    602. Rocksdb_number_superversion_releases
    603. Rocksdb_queries_point
    604. Rocksdb_queries_range
    605. Rocksdb_row_lock_deadlocks
    606. Rocksdb_row_lock_wait_timeouts
    607. Rocksdb_rows_deleted
    608. Rocksdb_rows_deleted_blind
    609. Rocksdb_rows_expired
    610. Rocksdb_rows_filtered
    611. Rocksdb_rows_inserted
    612. Rocksdb_rows_read
    613. Rocksdb_rows_updated
    614. Rocksdb_snapshot_conflict_errors
    615. Rocksdb_stall_l0_file_count_limit_slowdowns
    616. Rocksdb_stall_l0_file_count_limit_stops
    617. Rocksdb_stall_locked_l0_file_count_limit_slowdowns
    618. Rocksdb_stall_locked_l0_file_count_limit_stops
    619. Rocksdb_stall_memtable_limit_slowdowns
    620. Rocksdb_stall_memtable_limit_stops
    621. Rocksdb_stall_micros
    622. Rocksdb_stall_pending_compaction_limit_slowdowns
    623. Rocksdb_stall_pending_compaction_limit_stops
    624. Rocksdb_stall_total_slowdowns
    625. Rocksdb_stall_total_stops
    626. Rocksdb_system_rows_deleted
    627. Rocksdb_system_rows_inserted
    628. Rocksdb_system_rows_read
    629. Rocksdb_system_rows_updated
    630. Rocksdb_wal_bytes
    631. Rocksdb_wal_group_syncs
    632. Rocksdb_wal_synced
    633. Rocksdb_write_other
    634. Rocksdb_write_self
    635. Rocksdb_write_timedout
    636. Rocksdb_write_wal
    637. Rows_read
    638. Rows_sent
    639. Rows_tmp_read
    640. Rpl_semi_sync_master_clients
    641. Rpl_semi_sync_master_net_avg_wait_time
    642. Rpl_semi_sync_master_net_wait_time
    643. Rpl_semi_sync_master_net_waits
    644. Rpl_semi_sync_master_no_times
    645. Rpl_semi_sync_master_no_tx
    646. Rpl_semi_sync_master_status
    647. Rpl_semi_sync_master_timefunc_failures
    648. Rpl_semi_sync_master_tx_avg_wait_time
    649. Rpl_semi_sync_master_tx_wait_time
    650. Rpl_semi_sync_master_tx_waits
    651. Rpl_semi_sync_master_wait_pos_backtraverse
    652. Rpl_semi_sync_master_wait_sessions
    653. Rpl_semi_sync_master_yes_tx
    654. Rpl_semi_sync_slave_status
    655. Rpl_status
    656. Rpl_transactions_multi_engine
    657. S3_pagecache_blocks_not_flushed
    658. S3_pagecache_blocks_unused
    659. S3_pagecache_blocks_used
    660. S3_pagecache_read_requests
    661. S3_pagecache_reads
    662. Select_full_join
    663. Select_full_range_join
    664. Select_range
    665. Select_range_check
    666. Select_scan
    667. Server_audit_active
    668. Server_audit_current_log
    669. Server_audit_last_error
    670. Server_audit_writes_failed
    671. Slave_connections
    672. Slave_heartbeat_period
    673. Slave_open_temp_tables
    674. Slave_received_heartbeats
    675. Slave_retried_transactions
    676. Slave_running
    677. Slave_skipped_errors
    678. Slaves_connected
    679. Slaves_running
    680. Slow_launch_threads
    681. Slow_queries
    682. Sort_merge_passes
    683. Sort_priority_queue_sorts
    684. Sort_range
    685. Sort_rows
    686. Sort_scan
    687. Sphinx_error
    688. Sphinx_time
    689. Sphinx_total
    690. Sphinx_total_found
    691. Sphinx_word_count
    692. Sphinx_words
    693. Spider_direct_aggregate
    694. Spider_direct_delete
    695. Spider_direct_order_limit
    696. Spider_direct_update
    697. Spider_direct_mon_table_cache_version
    698. Spider_direct_mon_table_cache_version_req
    699. Spider_parallel_search
    700. Ssl_accept_renegotiates
    701. Ssl_accepts
    702. Ssl_callback_cache_hits
    703. Ssl_cipher
    704. Ssl_cipher_list
    705. Ssl_client_connects
    706. Ssl_connect_renegotiates
    707. Ssl_ctx_verify_depth
    708. Ssl_ctx_verify_mode
    709. Ssl_default_timeout
    710. Ssl_finished_accepts
    711. Ssl_finished_connects
    712. Ssl_server_not_after
    713. Ssl_server_not_before
    714. Ssl_session_cache_hits
    715. Ssl_session_cache_misses
    716. Ssl_session_cache_mode
    717. Ssl_session_cache_overflows
    718. Ssl_session_cache_size
    719. Ssl_session_cache_timeouts
    720. Ssl_sessions_reused
    721. Ssl_used_session_cache_entries
    722. Ssl_verify_depth
    723. Ssl_verify_mode
    724. Ssl_version
    725. Subquery_cache_hit
    726. Subquery_cache_miss
    727. Syncs
    728. Table_locks_immediate
    729. Table_locks_waited
    730. Table_open_cache_active_instances
    731. Table_open_cache_hits
    732. Table_open_cache_misses
    733. Table_open_cache_overflows
    734. Tc_log_max_pages_used
    735. Tc_log_page_size
    736. Tc_log_page_waits
    737. Threadpool_idle_threads
    738. Threadpool_threads
    739. Threads_cached
    740. Threads_connected
    741. Threads_created
    742. Threads_running
    743. Tokudb_basement_deserialization_fixed_key
    744. Tokudb_basement_deserialization_variable_key
    745. Tokudb_basements_decompressed_for_write
    746. Tokudb_basements_decompressed_prefetch
    747. Tokudb_basements_decompressed_prelocked_range
    748. Tokudb_basements_decompressed_target_query
    749. Tokudb_basements_fetched_prefetch
    750. Tokudb_basements_fetched_for_write
    751. Tokudb_basements_fetched_for_write_bytes
    752. Tokudb_basements_fetched_for_write_seconds
    753. Tokudb_basements_fetched_prefetch_bytes
    754. Tokudb_basements_fetched_prefetch_seconds
    755. Tokudb_basements_fetched_prelocked_range
    756. Tokudb_basements_fetched_prelocked_range_bytes
    757. Tokudb_basements_fetched_prelocked_range_seconds
    758. Tokudb_basements_fetched_target_query
    759. Tokudb_basements_fetched_target_query_bytes
    760. Tokudb_basements_fetched_target_query_seconds
    761. Tokudb_broadcase_messages_injected_at_root
    762. Tokudb_buffers_decompressed_for_write
    763. Tokudb_buffers_decompressed_prefetch
    764. Tokudb_buffers_decompressed_prelocked_range
    765. Tokudb_buffers_decompressed_target_query
    766. Tokudb_buffers_fetched_for_write
    767. Tokudb_buffers_fetched_for_write_bytes
    768. Tokudb_buffers_fetched_for_write_seconds
    769. Tokudb_buffers_fetched_prefetch
    770. Tokudb_buffers_fetched_prefetch_bytes
    771. Tokudb_buffers_fetched_prefetch_seconds
    772. Tokudb_buffers_fetched_prelocked_range
    773. Tokudb_buffers_fetched_prelocked_range_bytes
    774. Tokudb_buffers_fetched_prelocked_range_seconds
    775. Tokudb_buffers_fetched_target_query
    776. Tokudb_buffers_fetched_target_query_bytes
    777. Tokudb_buffers_fetched_target_query_seconds
    778. Tokudb_cachetable_cleaner_executions
    779. Tokudb_cachetable_cleaner_iterations
    780. Tokudb_cachetable_cleaner_period
    781. Tokudb_cachetable_evictions
    782. Tokudb_cachetable_long_wait_pressure_count
    783. Tokudb_cachetable_long_wait_pressure_time
    784. Tokudb_cachetable_miss
    785. Tokudb_cachetable_miss_time
    786. Tokudb_cachetable_prefetches
    787. Tokudb_cachetable_size_cachepressure
    788. Tokudb_cachetable_size_cloned
    789. Tokudb_cachetable_size_current
    790. Tokudb_cachetable_size_leaf
    791. Tokudb_cachetable_size_limit
    792. Tokudb_cachetable_size_nonleaf
    793. Tokudb_cachetable_size_rollback
    794. Tokudb_cachetable_size_writing
    795. Tokudb_cachetable_wait_pressure_count
    796. Tokudb_cachetable_wait_pressure_time
    797. Tokudb_checkpoint_begin_time
    798. Tokudb_checkpoint_duration
    799. Tokudb_checkpoint_duration_last
    800. Tokudb_checkpoint_failed
    801. Tokudb_checkpoint_last_began
    802. Tokudb_checkpoint_last_complete_began
    803. Tokudb_checkpoint_last_complete_ended
    804. Tokudb_checkpoint_long_begin_count
    805. Tokudb_checkpoint_long_begin_time
    806. Tokudb_checkpoint_period
    807. Tokudb_checkpoint_taken
    808. Tokudb_cursor_skip_deleted_leaf_entry
    809. Tokudb_db_closes
    810. Tokudb_db_open_current
    811. Tokudb_db_open_max
    812. Tokudb_db_opens
    813. Tokudb_descriptor_set
    814. Tokudb_dictionary_broadcast_updates
    815. Tokudb_dictionary_updates
    816. Tokudb_filesystem_fsync_num
    817. Tokudb_filesystem_fsync_time
    818. Tokudb_filesystem_long_fsync_num
    819. Tokudb_filesystem_long_fsync_time
    820. Tokudb_filesystem_threads_blocked_by_full_disk
    821. Tokudb_leaf_compression_to_memory_seconds
    822. Tokudb_leaf_decompression_to_memory_seconds
    823. Tokudb_leaf_deserialization_to_memory_seconds
    824. Tokudb_leaf_node_compression_ratio
    825. Tokudb_leaf_node_full_evictions
    826. Tokudb_leaf_node_full_evictions_bytes
    827. Tokudb_leaf_node_partial_evictions
    828. Tokudb_leaf_node_partial_evictions_bytes
    829. Tokudb_leaf_nodes_created
    830. Tokudb_leaf_nodes_destroyed
    831. Tokudb_leaf_nodes_flushed_to_disk_checkpoint
    832. Tokudb_leaf_nodes_flushed_to_disk_checkpoint_bytes
    833. Tokudb_leaf_nodes_flushed_to_disk_checkpoint_seconds
    834. Tokudb_leaf_nodes_flushed_to_disk_checkpoint_uncompressed_bytes
    835. Tokudb_leaf_nodes_flushed_to_disk_not_checkpoint
    836. Tokudb_leaf_nodes_flushed_to_disk_not_checkpoint_bytes
    837. Tokudb_leaf_nodes_flushed_to_disk_not_checkpoint_seconds
    838. Tokudb_leaf_nodes_flushed_to_disk_not_checkpoint_uncompressed_bytes
    839. Tokudb_leaf_serialization_to_memory_seconds
    840. Tokudb_loader_num_created
    841. Tokudb_loader_num_current
    842. Tokudb_loader_num_max
    843. Tokudb_locktree_escalation_num
    844. Tokudb_locktree_escalation_seconds
    845. Tokudb_locktree_latest_post_escalation_memory_size
    846. Tokudb_locktree_long_wait_count
    847. Tokudb_locktree_long_wait_escalation_count
    848. Tokudb_locktree_long_wait_escalation_time
    849. Tokudb_locktree_long_wait_time
    850. Tokudb_locktree_memory_size
    851. Tokudb_locktree_memory_size_limit
    852. Tokudb_locktree_open_current
    853. Tokudb_locktree_pending_lock_requests
    854. Tokudb_locktree_sto_eligible_num
    855. Tokudb_locktree_sto_ended_num
    856. Tokudb_locktree_sto_ended_seconds
    857. Tokudb_locktree_timeout_count
    858. Tokudb_locktree_wait_count
    859. Tokudb_locktree_wait_escalation_count
    860. Tokudb_locktree_wait_escalation_time
    861. Tokudb_locktree_wait_time
    862. Tokudb_logger_wait_long
    863. Tokudb_logger_writes
    864. Tokudb_logger_writes_bytes
    865. Tokudb_logger_writes_seconds
    866. Tokudb_logger_writes_uncompressed_bytes
    867. Tokudb_mem_estimated_maximum_memory_footprint
    868. Tokudb_messages_flushed_from_h1_to_leaves_bytes
    869. Tokudb_messages_ignored_by_leaf_due_to_msn
    870. Tokudb_messages_in_trees_estimate_bytes
    871. Tokudb_messages_injected_at_root
    872. Tokudb_messages_injected_at_root_bytes
    873. Tokudb_nonleaf_compression_to_memory_seconds
    874. Tokudb_nonleaf_decompression_to_memory_seconds
    875. Tokudb_nonleaf_deserialization_to_memory_seconds
    876. Tokudb_nonleaf_node_compression_ratio
    877. Tokudb_nonleaf_node_full_evictions
    878. Tokudb_nonleaf_node_full_evictions_bytes
    879. Tokudb_nonleaf_node_partial_evictions
    880. Tokudb_nonleaf_node_partial_evictions_bytes
    881. Tokudb_nonleaf_nodes_created
    882. Tokudb_nonleaf_nodes_destroyed
    883. Tokudb_nonleaf_nodes_flushed_checkpoint
    884. Tokudb_nonleaf_nodes_flushed_checkpoint_bytes
    885. Tokudb_nonleaf_nodes_flushed_checkpoint_seconds
    886. Tokudb_nonleaf_nodes_flushed_checkpoint_uncompressed_bytes
    887. Tokudb_nonleaf_nodes_flushed_not_checkpoint
    888. Tokudb_nonleaf_nodes_flushed_not_checkpoint_bytes
    889. Tokudb_nonleaf_nodes_flushed_not_checkpoint_seconds
    890. Tokudb_nonleaf_nodes_flushed_not_checkpoint_uncompressed_bytes
    891. Tokudb_nonleaf_serialization_to_memory_seconds
    892. Tokudb_overall_node_compression_ratio
    893. Tokudb_pivots_fetched_for_query
    894. Tokudb_pivots_fetched_for_query_bytes
    895. Tokudb_pivots_fetched_for_query_seconds
    896. Tokudb_pivots_fetched_for_prefetch
    897. Tokudb_pivots_fetched_for_prefetch_bytes
    898. Tokudb_pivots_fetched_for_prefetch_seconds
    899. Tokudb_pivots_fetched_for_write
    900. Tokudb_pivots_fetched_for_write_bytes
    901. Tokudb_pivots_fetched_for_write_seconds
    902. Tokudb_promotion_h1_roots_injected_into
    903. Tokudb_promotion_injections_at_depth_0
    904. Tokudb_promotion_injections_at_depth_1
    905. Tokudb_promotion_injections_at_depth_2
    906. Tokudb_promotion_injections_at_depth_3
    907. Tokudb_promotion_injections_lower_than_depth_3
    908. Tokudb_promotion_leaf_roots_injected_into
    909. Tokudb_promotion_roots_split
    910. Tokudb_promotion_stopped_after_locking_child
    911. Tokudb_promotion_stopped_at_height_1
    912. Tokudb_promotion_stopped_child_not_fully_in_memory
    913. Tokudb_promotion_stopped_child_locked_or_not_in_memory
    914. Tokudb_promotion_stopped_nonempty_buffer
    915. Tokudb_txn_aborts
    916. Tokudb_txn_begin
    917. Tokudb_txn_begin_read_only
    918. Tokudb_txn_commits
    919. Transactions_gtid_foreign_engine
    920. Transactions_multi_engine
    921. Update_scan
    922. Uptime
    923. Uptime_since_flush_status
    924. wsrep
    925. wsrep_applier_thread_count
    926. wsrep_apply_oooe
    927. wsrep_apply_oool
    928. wsrep_cert_deps_distance
    929. wsrep_cluster_capabilities
    930. wsrep_cluster_conf_id
    931. wsrep_cluster_size
    932. wsrep_cluster_state_uuid
    933. wsrep_cluster_status
    934. wsrep_connected
    935. wsrep_flow_control_paused
    936. wsrep_flow_control_recv
    937. wsrep_flow_control_sent
    938. wsrep_last_committed
    939. wsrep_local_bf_aborts
    940. wsrep_local_cert_failures
    941. wsrep_local_commits
    942. wsrep_local_index
    943. wsrep_local_recv_queue
    944. wsrep_local_recv_queue_avg
    945. wsrep_local_replays
    946. wsrep_local_send_queue
    947. wsrep_local_send_queue_avg
    948. wsrep_local_state
    949. wsrep_local_state_comment
    950. wsrep_local_state_uuid
    951. wsrep_protocol_version
    952. wsrep_provider_name
    953. wsrep_provider_vendor
    954. wsrep_provider_version
    955. wsrep_ready
    956. wsrep_received
    957. wsrep_received_bytes
    958. wsrep_replicated
    959. wsrep_replicated_bytes
    960. wsrep_rollbacker_thread_count
    961. wsrep_thread_count

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:

See also the Full list of MariaDB options, system and status variables.

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. The global value can be flushed by FLUSH STATUS.
  • 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. The global value can be flushed by FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric

Aborted_connects_preauth

  • Description: Number of connection attempts that were aborted prior to authentication (regardless of whether or not an error occured).
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.4.5

Access_denied_errors

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

Acl_column_grants


Acl_database_grants

  • Description: Number of database permissions granted (rows in the mysql.db table).
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.1.4

Acl_function_grants

  • Description: Number of function permissions granted (rows in the mysql.procs_priv table with a routine type of FUNCTION).
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.1.4

Acl_package_body_grants

  • Description:
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.3.5

Acl_package_spec_grants

  • Description:
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.3.5

Acl_procedure_grants

  • Description: Number of procedure permissions granted (rows in the mysql.procs_priv table with a routine type of PROCEDURE).
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.1.4

Acl_proxy_users


Acl_role_grants


Acl_roles


Acl_table_grants


Acl_users


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_sequence


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_alter_user

  • Description: Number of ALTER USER commands executed.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.2.0

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

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

Com_backup_lock

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

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_compound_sql

  • Description: Number of compund sql statements.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.1.1

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_package

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

Com_create_package_body

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

Com_create_procedure

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

Com_create_role


Com_create_sequence


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_temporary_table


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_package

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

Com_drop_package_body

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

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_sequence


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_temporary_table


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_immediate


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_multi

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

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

Com_restore_table

  • Description: Removed in MariaDB 5.5. In older versions, Com_restore_table contains the number of RESTORE TABLE commands executed.
  • 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. Also includes queries that make use of the query cache.
  • 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

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_package

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

Com_show_create_package_body

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

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_create_user


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


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_generic


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_package_status

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

Com_show_package_body_status

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

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: numericst

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


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


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. The global value can be flushed by FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0.4

Connection_errors_internal

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

Connection_errors_max_connections


Connection_errors_peer_address

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

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. The global value can be flushed by FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0.4

Connection_errors_tcpwrap

  • Description: Number of connections the libwrap library refused. The global value can be flushed by FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0.4

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 temporary files created. The global value can be flushed by FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric

Created_tmp_tables

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

Delayed_errors

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

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

Delayed_writes

  • Description: Number of INSERT DELAYED rows written. The global value can be flushed by FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric

Delete_scan


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

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

Feature_application_time_periods

  • Description: Number of times a table created with periods has been opened.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.4.5

Feature_check_constraint


Feature_custom_aggregate_functions


Feature_delay_key_write


Feature_dynamic_columns

  • Description: Number of times the COLUMN_CREATE() function was used.
  • Scope: Global, Session
  • Data Type: numeric

Feature_fulltext

  • Description: Number of times the MATCH … AGAINST() function was used.
  • Scope: Global, Session
  • Data Type: numeric

Feature_gis

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

Feature_insert_returning

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

Feature_invisible_columns

  • Description: Number of invisible columns in all opened tables.
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.3.3

Feature_json


Feature_locale

  • Description: Number of times the @@lc_messages variable was assigned into.
  • Scope: Global, Session
  • Data Type: numeric

Feature_subquery

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

Feature_system_versioning

  • Description: Number of times system versioning functionality has been used (opening a table WITH SYSTEM VERSIONING).
  • Scope: Global, Session
  • Data Type: numeric
  • Introduced: MariaDB 10.3.7

Feature_timezone

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

Feature_trigger

  • Description: Number of triggers loaded.
  • Scope: Global, Session
  • Data Type: numeric

Feature_window_functions


Feature_xml

  • Description: Number of times XML functions (EXTRACTVALUE() and UPDATEXML()) were used.
  • Scope: Global, Session
  • Data Type: numeric

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
  • Removed: MariaDB 10.5.1

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.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

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_retry

  • Description: Number of read retrys triggered by semi_consistent_read (InnoDB feature).
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0.27

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_delete

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

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_statement_time_exceeded


Max_used_connections

  • Description: Max number of connections ever open at the same time. The global value can be flushed by FLUSH STATUS.
  • Scope: Session
  • Data Type: numeric

Memory_used

  • Description: Global or per-connection memory usage, in bytes. This includes all per-connection memory allocations, but excludes global allocations such as the key_buffer, innodb_buffer_pool etc.
  • Scope: Global, Session
  • Data Type: numeric

Memory_used_initial

  • Description: Amount of memory that was used when the server started to service the user connections.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.3.3

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_plugin_libraries

  • Description: Number of shared libraries that the server has opened to load plugins.
  • Scope: Global
  • Data Type: numeric
  • Introduced: MariaDB 10.0

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

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_memory

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

Qcache_hits

  • Description: Number of requests served by the query cache. The global value can be flushed by FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric

Qcache_inserts

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

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

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

  • 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

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. The global value can be flushed by FLUSH STATUS.
  • 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 look at improving your query indexes, or increasing the sort_buffer_size.
  • Scope: Global, Session
  • Data Type: numeric

Sort_priority_queue_sorts


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

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. The global value can be flushed by FLUSH STATUS.
  • Scope: Global
  • Data Type: numeric

Table_locks_waited

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

  • Description: Number of active instances for open tables cache lookups.
  • Scope:
  • Data Type: numeric
  • Introduced: MariaDB 10.3.3

Table_open_cache_hits

  • Description: Number of hits for open tables cache lookups.
  • Scope:
  • Data Type: numeric
  • Introduced: MariaDB 10.3.3

Table_open_cache_misses

  • Description: Number of misses for open tables cache lookups.
  • Scope:
  • Data Type: numeric
  • Introduced: MariaDB 10.3.3

Table_open_cache_overflows

  • Description: Number of overflows for open tables cache lookups.
  • Scope:
  • Data Type: numeric
  • Introduced: MariaDB 10.3.3

Tc_log_max_pages_used


Tc_log_page_size


Tc_log_page_waits

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

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

  • Description: Number of clients connected to the server. See Handling Too Many Connections. The Threads_connected name 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

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

Update_scan


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.