MySQL  8.0.17
Source Code Documentation
System_status_var Struct Reference

Per thread status variables. More...

#include <system_variables.h>

Public Attributes

ulonglong created_tmp_disk_tables
 
ulonglong created_tmp_tables
 
ulonglong ha_commit_count
 
ulonglong ha_delete_count
 
ulonglong ha_read_first_count
 
ulonglong ha_read_last_count
 
ulonglong ha_read_key_count
 
ulonglong ha_read_next_count
 
ulonglong ha_read_prev_count
 
ulonglong ha_read_rnd_count
 
ulonglong ha_read_rnd_next_count
 
ulonglong ha_multi_range_read_init_count
 
ulonglong ha_rollback_count
 
ulonglong ha_update_count
 
ulonglong ha_write_count
 
ulonglong ha_prepare_count
 
ulonglong ha_discover_count
 
ulonglong ha_savepoint_count
 
ulonglong ha_savepoint_rollback_count
 
ulonglong ha_external_lock_count
 
ulonglong opened_tables
 
ulonglong opened_shares
 
ulonglong table_open_cache_hits
 
ulonglong table_open_cache_misses
 
ulonglong table_open_cache_overflows
 
ulonglong select_full_join_count
 
ulonglong select_full_range_join_count
 
ulonglong select_range_count
 
ulonglong select_range_check_count
 
ulonglong select_scan_count
 
ulonglong long_query_count
 
ulonglong filesort_merge_passes
 
ulonglong filesort_range_count
 
ulonglong filesort_rows
 
ulonglong filesort_scan_count
 
ulonglong com_stmt_prepare
 
ulonglong com_stmt_reprepare
 
ulonglong com_stmt_execute
 
ulonglong com_stmt_send_long_data
 
ulonglong com_stmt_fetch
 
ulonglong com_stmt_reset
 
ulonglong com_stmt_close
 
ulonglong bytes_received
 
ulonglong bytes_sent
 
ulonglong max_execution_time_exceeded
 
ulonglong max_execution_time_set
 
ulonglong max_execution_time_set_failed
 
ulonglong questions
 
ulonglong secondary_engine_execution_count
 How many queries have been executed on a secondary storage engine. More...
 
ulong com_other
 
ulong com_stat [(uint) SQLCOM_END]
 
double last_query_cost
 
ulonglong last_query_partial_plans
 

Detailed Description

Per thread status variables.

Must be long/ulong up to last_system_status_var so that add_to_status/add_diff_to_status can work.

Member Data Documentation

◆ bytes_received

ulonglong System_status_var::bytes_received

◆ bytes_sent

ulonglong System_status_var::bytes_sent

◆ com_other

ulong System_status_var::com_other

◆ com_stat

ulong System_status_var::com_stat[(uint) SQLCOM_END]

◆ com_stmt_close

ulonglong System_status_var::com_stmt_close

◆ com_stmt_execute

ulonglong System_status_var::com_stmt_execute

◆ com_stmt_fetch

ulonglong System_status_var::com_stmt_fetch

◆ com_stmt_prepare

ulonglong System_status_var::com_stmt_prepare

◆ com_stmt_reprepare

ulonglong System_status_var::com_stmt_reprepare

◆ com_stmt_reset

ulonglong System_status_var::com_stmt_reset

◆ com_stmt_send_long_data

ulonglong System_status_var::com_stmt_send_long_data

◆ created_tmp_disk_tables

ulonglong System_status_var::created_tmp_disk_tables

◆ created_tmp_tables

ulonglong System_status_var::created_tmp_tables

◆ filesort_merge_passes

ulonglong System_status_var::filesort_merge_passes

◆ filesort_range_count

ulonglong System_status_var::filesort_range_count

◆ filesort_rows

ulonglong System_status_var::filesort_rows

◆ filesort_scan_count

ulonglong System_status_var::filesort_scan_count

◆ ha_commit_count

ulonglong System_status_var::ha_commit_count

◆ ha_delete_count

ulonglong System_status_var::ha_delete_count

◆ ha_discover_count

ulonglong System_status_var::ha_discover_count

◆ ha_external_lock_count

ulonglong System_status_var::ha_external_lock_count

◆ ha_multi_range_read_init_count

ulonglong System_status_var::ha_multi_range_read_init_count

◆ ha_prepare_count

ulonglong System_status_var::ha_prepare_count

◆ ha_read_first_count

ulonglong System_status_var::ha_read_first_count

◆ ha_read_key_count

ulonglong System_status_var::ha_read_key_count

◆ ha_read_last_count

ulonglong System_status_var::ha_read_last_count

◆ ha_read_next_count

ulonglong System_status_var::ha_read_next_count

◆ ha_read_prev_count

ulonglong System_status_var::ha_read_prev_count

◆ ha_read_rnd_count

ulonglong System_status_var::ha_read_rnd_count

◆ ha_read_rnd_next_count

ulonglong System_status_var::ha_read_rnd_next_count

◆ ha_rollback_count

ulonglong System_status_var::ha_rollback_count

◆ ha_savepoint_count

ulonglong System_status_var::ha_savepoint_count

◆ ha_savepoint_rollback_count

ulonglong System_status_var::ha_savepoint_rollback_count

◆ ha_update_count

ulonglong System_status_var::ha_update_count

◆ ha_write_count

ulonglong System_status_var::ha_write_count

◆ last_query_cost

double System_status_var::last_query_cost

◆ last_query_partial_plans

ulonglong System_status_var::last_query_partial_plans

◆ long_query_count

ulonglong System_status_var::long_query_count

◆ max_execution_time_exceeded

ulonglong System_status_var::max_execution_time_exceeded

◆ max_execution_time_set

ulonglong System_status_var::max_execution_time_set

◆ max_execution_time_set_failed

ulonglong System_status_var::max_execution_time_set_failed

◆ opened_shares

ulonglong System_status_var::opened_shares

◆ opened_tables

ulonglong System_status_var::opened_tables

◆ questions

ulonglong System_status_var::questions

◆ secondary_engine_execution_count

ulonglong System_status_var::secondary_engine_execution_count

How many queries have been executed on a secondary storage engine.

◆ select_full_join_count

ulonglong System_status_var::select_full_join_count

◆ select_full_range_join_count

ulonglong System_status_var::select_full_range_join_count

◆ select_range_check_count

ulonglong System_status_var::select_range_check_count

◆ select_range_count

ulonglong System_status_var::select_range_count

◆ select_scan_count

ulonglong System_status_var::select_scan_count

◆ table_open_cache_hits

ulonglong System_status_var::table_open_cache_hits

◆ table_open_cache_misses

ulonglong System_status_var::table_open_cache_misses

◆ table_open_cache_overflows

ulonglong System_status_var::table_open_cache_overflows

The documentation for this struct was generated from the following file: