MySQL 8.4.3
Source Code Documentation
psi_memory_key.cc File Reference

Functions

void register_server_memory_keys ()
 Instrumented memory key. More...
 

Variables

PSI_memory_key key_memory_DD_cache_infrastructure
 
PSI_memory_key key_memory_DD_column_statistics
 
PSI_memory_key key_memory_DD_default_values
 
PSI_memory_key key_memory_DD_import
 
PSI_memory_key key_memory_DD_objects
 
PSI_memory_key key_memory_DD_String_type
 
PSI_memory_key key_memory_Event_queue_element_for_exec_names
 
PSI_memory_key key_memory_Event_scheduler_scheduler_param
 
PSI_memory_key key_memory_File_query_log_name
 
PSI_memory_key key_memory_Filesort_info_merge
 
PSI_memory_key key_memory_Filesort_info_record_pointers
 
PSI_memory_key key_memory_Geometry_objects_data
 
PSI_memory_key key_memory_Gis_read_stream_err_msg
 
PSI_memory_key key_memory_Gtid_state_to_string
 
PSI_memory_key key_memory_HASH_ROW_ENTRY
 
PSI_memory_key key_memory_JOIN_CACHE
 
PSI_memory_key key_memory_JSON
 
PSI_memory_key key_memory_LOG_POS_COORD
 
PSI_memory_key key_memory_LOG_name
 
PSI_memory_key key_memory_MPVIO_EXT_auth_info
 
PSI_memory_key key_memory_MYSQL_BIN_LOG_basename
 
PSI_memory_key key_memory_MYSQL_BIN_LOG_index
 
PSI_memory_key key_memory_MYSQL_LOCK
 
PSI_memory_key key_memory_MYSQL_LOG_name
 
PSI_memory_key key_memory_MYSQL_RELAY_LOG_basename
 
PSI_memory_key key_memory_MYSQL_RELAY_LOG_index
 
PSI_memory_key key_memory_Mutex_cond_array_Mutex_cond
 
PSI_memory_key key_memory_NET_buff
 
PSI_memory_key key_memory_NET_compress_packet
 
PSI_memory_key key_memory_Owned_gtids_sidno_to_hash
 
PSI_memory_key key_memory_Owned_gtids_to_string
 
PSI_memory_key key_memory_PROFILE
 
PSI_memory_key key_memory_IndexRangeScanIterator_mrr_buf_desc
 
PSI_memory_key key_memory_READ_INFO
 
PSI_memory_key key_memory_READ_RECORD_cache
 
PSI_memory_key key_memory_xa_recovered_transactions
 
PSI_memory_key key_memory_Row_data_memory_memory
 
PSI_memory_key key_memory_Rpl_info_file_buffer
 
PSI_memory_key key_memory_Rpl_info_table
 
PSI_memory_key key_memory_rpl_thd_context
 
PSI_memory_key key_memory_applier
 
PSI_memory_key key_memory_recovery
 
PSI_memory_key key_memory_show_binlog_events
 
PSI_memory_key key_memory_relaylog_recovery
 
PSI_memory_key key_memory_REPLICA_INFO
 
PSI_memory_key key_memory_ST_SCHEMA_TABLE
 
PSI_memory_key key_memory_Slave_applier_json_diff_vector
 
PSI_memory_key key_memory_Replica_job_group_group_relay_log_name
 
PSI_memory_key key_memory_Sys_var_charptr_value
 
PSI_memory_key key_memory_TABLE
 
PSI_memory_key key_memory_TABLE_RULE_ENT
 
PSI_memory_key key_memory_TABLE_sort_io_cache
 
PSI_memory_key key_memory_TC_LOG_MMAP_pages
 
PSI_memory_key key_memory_THD_Session_sysvar_resource_manager
 
PSI_memory_key key_memory_THD_Session_tracker
 
PSI_memory_key key_memory_THD_db
 
PSI_memory_key key_memory_THD_handler_tables_hash
 
PSI_memory_key key_memory_THD_variables
 
PSI_memory_key key_memory_Unique_merge_buffer
 
PSI_memory_key key_memory_Unique_sort_buffer
 
PSI_memory_key key_memory_User_level_lock
 
PSI_memory_key key_memory_xa_transaction_contexts
 
PSI_memory_key key_memory_acl_mem
 
PSI_memory_key key_memory_acl_memex
 
PSI_memory_key key_memory_acl_cache
 
PSI_memory_key key_memory_acl_map_cache
 
PSI_memory_key key_memory_binlog_cache_mngr
 
PSI_memory_key key_memory_binlog_recover_exec
 
PSI_memory_key key_memory_binlog_statement_buffer
 
PSI_memory_key key_memory_bison_stack
 
PSI_memory_key key_memory_blob_mem_storage
 
PSI_memory_key key_memory_db_worker_hash_entry
 
PSI_memory_key key_memory_delegate
 
PSI_memory_key key_memory_errmsgs_server
 
PSI_memory_key key_memory_global_system_variables
 
PSI_memory_key key_memory_errmsgs_handler
 
PSI_memory_key key_memory_handlerton_objects
 
PSI_memory_key key_memory_hash_index_key_buffer
 
PSI_memory_key key_memory_hash_op
 
PSI_memory_key key_memory_help
 
PSI_memory_key key_memory_histograms
 
PSI_memory_key key_memory_host_cache_hostname
 
PSI_memory_key key_memory_locked_table_list
 
PSI_memory_key key_memory_locked_thread_list
 
PSI_memory_key key_memory_my_str_malloc
 
PSI_memory_key key_memory_opt_bin_logname
 
PSI_memory_key key_memory_partition_syntax_buffer
 
PSI_memory_key key_memory_persisted_variables_memroot
 
PSI_memory_key key_memory_persisted_variables_unordered_map
 
PSI_memory_key key_memory_persisted_variables_unordered_set
 
PSI_memory_key key_memory_prepared_statement_infrastructure
 
PSI_memory_key key_memory_prepared_statement_main_mem_root
 
PSI_memory_key key_memory_partitions_prune_exec
 
PSI_memory_key key_memory_queue_item
 
PSI_memory_key key_memory_rm_db_mdl_reqs_root
 
PSI_memory_key key_memory_rm_table_foreach_root
 
PSI_memory_key key_memory_rpl_filter
 
PSI_memory_key key_memory_rpl_replica_check_temp_dir
 
PSI_memory_key key_memory_servers
 
PSI_memory_key key_memory_shared_memory_name
 
PSI_memory_key key_memory_show_replica_status_io_gtid_set
 
PSI_memory_key key_memory_sp_head_call_root
 
PSI_memory_key key_memory_sp_head_execute_root
 
PSI_memory_key key_memory_sp_head_main_root
 
PSI_memory_key key_memory_table_mapping_root
 
PSI_memory_key key_memory_table_share
 
PSI_memory_key key_memory_test_quick_select_exec
 
PSI_memory_key key_memory_thd_main_mem_root
 
PSI_memory_key key_memory_thd_timer
 
PSI_memory_key key_memory_thd_transactions
 
PSI_memory_key key_memory_user_conn
 
PSI_memory_key key_memory_user_var_entry
 
PSI_memory_key key_memory_user_var_entry_value
 
PSI_memory_key key_memory_sp_cache
 
PSI_memory_key key_memory_write_set_extraction
 
static PSI_memory_info all_server_memory []
 

Function Documentation

◆ register_server_memory_keys()

void register_server_memory_keys ( )

Instrumented memory key.

To instrument memory, a memory key must be obtained using register_memory. Using a zero key always disable the instrumentation.

Variable Documentation

◆ all_server_memory

PSI_memory_info all_server_memory[]
static

◆ key_memory_acl_cache

PSI_memory_key key_memory_acl_cache

◆ key_memory_acl_map_cache

PSI_memory_key key_memory_acl_map_cache

◆ key_memory_acl_mem

PSI_memory_key key_memory_acl_mem

◆ key_memory_acl_memex

PSI_memory_key key_memory_acl_memex

◆ key_memory_applier

PSI_memory_key key_memory_applier

◆ key_memory_binlog_cache_mngr

PSI_memory_key key_memory_binlog_cache_mngr

◆ key_memory_binlog_recover_exec

PSI_memory_key key_memory_binlog_recover_exec

◆ key_memory_binlog_statement_buffer

PSI_memory_key key_memory_binlog_statement_buffer

◆ key_memory_bison_stack

PSI_memory_key key_memory_bison_stack

◆ key_memory_blob_mem_storage

PSI_memory_key key_memory_blob_mem_storage

◆ key_memory_db_worker_hash_entry

PSI_memory_key key_memory_db_worker_hash_entry

◆ key_memory_DD_cache_infrastructure

PSI_memory_key key_memory_DD_cache_infrastructure

◆ key_memory_DD_column_statistics

PSI_memory_key key_memory_DD_column_statistics

◆ key_memory_DD_default_values

PSI_memory_key key_memory_DD_default_values

◆ key_memory_DD_import

PSI_memory_key key_memory_DD_import

◆ key_memory_DD_objects

PSI_memory_key key_memory_DD_objects

◆ key_memory_DD_String_type

PSI_memory_key key_memory_DD_String_type

◆ key_memory_delegate

PSI_memory_key key_memory_delegate

◆ key_memory_errmsgs_handler

PSI_memory_key key_memory_errmsgs_handler

◆ key_memory_errmsgs_server

PSI_memory_key key_memory_errmsgs_server

◆ key_memory_Event_queue_element_for_exec_names

PSI_memory_key key_memory_Event_queue_element_for_exec_names

◆ key_memory_Event_scheduler_scheduler_param

PSI_memory_key key_memory_Event_scheduler_scheduler_param

◆ key_memory_File_query_log_name

PSI_memory_key key_memory_File_query_log_name

◆ key_memory_Filesort_info_merge

PSI_memory_key key_memory_Filesort_info_merge

◆ key_memory_Filesort_info_record_pointers

PSI_memory_key key_memory_Filesort_info_record_pointers

◆ key_memory_Geometry_objects_data

PSI_memory_key key_memory_Geometry_objects_data

◆ key_memory_Gis_read_stream_err_msg

PSI_memory_key key_memory_Gis_read_stream_err_msg

◆ key_memory_global_system_variables

PSI_memory_key key_memory_global_system_variables

◆ key_memory_Gtid_state_to_string

PSI_memory_key key_memory_Gtid_state_to_string

◆ key_memory_handlerton_objects

PSI_memory_key key_memory_handlerton_objects

◆ key_memory_hash_index_key_buffer

PSI_memory_key key_memory_hash_index_key_buffer

◆ key_memory_hash_op

PSI_memory_key key_memory_hash_op

◆ key_memory_HASH_ROW_ENTRY

PSI_memory_key key_memory_HASH_ROW_ENTRY

◆ key_memory_help

PSI_memory_key key_memory_help

◆ key_memory_histograms

PSI_memory_key key_memory_histograms

◆ key_memory_host_cache_hostname

PSI_memory_key key_memory_host_cache_hostname

◆ key_memory_IndexRangeScanIterator_mrr_buf_desc

PSI_memory_key key_memory_IndexRangeScanIterator_mrr_buf_desc

◆ key_memory_JOIN_CACHE

PSI_memory_key key_memory_JOIN_CACHE

◆ key_memory_JSON

PSI_memory_key key_memory_JSON

◆ key_memory_locked_table_list

PSI_memory_key key_memory_locked_table_list

◆ key_memory_locked_thread_list

PSI_memory_key key_memory_locked_thread_list

◆ key_memory_LOG_name

PSI_memory_key key_memory_LOG_name

◆ key_memory_LOG_POS_COORD

PSI_memory_key key_memory_LOG_POS_COORD

◆ key_memory_MPVIO_EXT_auth_info

PSI_memory_key key_memory_MPVIO_EXT_auth_info

◆ key_memory_Mutex_cond_array_Mutex_cond

PSI_memory_key key_memory_Mutex_cond_array_Mutex_cond

◆ key_memory_my_str_malloc

PSI_memory_key key_memory_my_str_malloc

◆ key_memory_MYSQL_BIN_LOG_basename

PSI_memory_key key_memory_MYSQL_BIN_LOG_basename

◆ key_memory_MYSQL_BIN_LOG_index

PSI_memory_key key_memory_MYSQL_BIN_LOG_index

◆ key_memory_MYSQL_LOCK

PSI_memory_key key_memory_MYSQL_LOCK

◆ key_memory_MYSQL_LOG_name

PSI_memory_key key_memory_MYSQL_LOG_name

◆ key_memory_MYSQL_RELAY_LOG_basename

PSI_memory_key key_memory_MYSQL_RELAY_LOG_basename

◆ key_memory_MYSQL_RELAY_LOG_index

PSI_memory_key key_memory_MYSQL_RELAY_LOG_index

◆ key_memory_NET_buff

PSI_memory_key key_memory_NET_buff

◆ key_memory_NET_compress_packet

PSI_memory_key key_memory_NET_compress_packet

◆ key_memory_opt_bin_logname

PSI_memory_key key_memory_opt_bin_logname

◆ key_memory_Owned_gtids_sidno_to_hash

PSI_memory_key key_memory_Owned_gtids_sidno_to_hash

◆ key_memory_Owned_gtids_to_string

PSI_memory_key key_memory_Owned_gtids_to_string

◆ key_memory_partition_syntax_buffer

PSI_memory_key key_memory_partition_syntax_buffer

◆ key_memory_partitions_prune_exec

PSI_memory_key key_memory_partitions_prune_exec

◆ key_memory_persisted_variables_memroot

PSI_memory_key key_memory_persisted_variables_memroot

◆ key_memory_persisted_variables_unordered_map

PSI_memory_key key_memory_persisted_variables_unordered_map

◆ key_memory_persisted_variables_unordered_set

PSI_memory_key key_memory_persisted_variables_unordered_set

◆ key_memory_prepared_statement_infrastructure

PSI_memory_key key_memory_prepared_statement_infrastructure

◆ key_memory_prepared_statement_main_mem_root

PSI_memory_key key_memory_prepared_statement_main_mem_root

◆ key_memory_PROFILE

PSI_memory_key key_memory_PROFILE

◆ key_memory_queue_item

PSI_memory_key key_memory_queue_item

◆ key_memory_READ_INFO

PSI_memory_key key_memory_READ_INFO

◆ key_memory_READ_RECORD_cache

PSI_memory_key key_memory_READ_RECORD_cache

◆ key_memory_recovery

PSI_memory_key key_memory_recovery

◆ key_memory_relaylog_recovery

PSI_memory_key key_memory_relaylog_recovery

◆ key_memory_REPLICA_INFO

PSI_memory_key key_memory_REPLICA_INFO

◆ key_memory_Replica_job_group_group_relay_log_name

PSI_memory_key key_memory_Replica_job_group_group_relay_log_name

◆ key_memory_rm_db_mdl_reqs_root

PSI_memory_key key_memory_rm_db_mdl_reqs_root

◆ key_memory_rm_table_foreach_root

PSI_memory_key key_memory_rm_table_foreach_root

◆ key_memory_Row_data_memory_memory

PSI_memory_key key_memory_Row_data_memory_memory

◆ key_memory_rpl_filter

PSI_memory_key key_memory_rpl_filter

◆ key_memory_Rpl_info_file_buffer

PSI_memory_key key_memory_Rpl_info_file_buffer

◆ key_memory_Rpl_info_table

PSI_memory_key key_memory_Rpl_info_table

◆ key_memory_rpl_replica_check_temp_dir

PSI_memory_key key_memory_rpl_replica_check_temp_dir

◆ key_memory_rpl_thd_context

PSI_memory_key key_memory_rpl_thd_context

◆ key_memory_servers

PSI_memory_key key_memory_servers

◆ key_memory_shared_memory_name

PSI_memory_key key_memory_shared_memory_name

◆ key_memory_show_binlog_events

PSI_memory_key key_memory_show_binlog_events

◆ key_memory_show_replica_status_io_gtid_set

PSI_memory_key key_memory_show_replica_status_io_gtid_set

◆ key_memory_Slave_applier_json_diff_vector

PSI_memory_key key_memory_Slave_applier_json_diff_vector

◆ key_memory_sp_cache

PSI_memory_key key_memory_sp_cache

◆ key_memory_sp_head_call_root

PSI_memory_key key_memory_sp_head_call_root

◆ key_memory_sp_head_execute_root

PSI_memory_key key_memory_sp_head_execute_root

◆ key_memory_sp_head_main_root

PSI_memory_key key_memory_sp_head_main_root

◆ key_memory_ST_SCHEMA_TABLE

PSI_memory_key key_memory_ST_SCHEMA_TABLE

◆ key_memory_Sys_var_charptr_value

PSI_memory_key key_memory_Sys_var_charptr_value

◆ key_memory_TABLE

PSI_memory_key key_memory_TABLE

◆ key_memory_table_mapping_root

PSI_memory_key key_memory_table_mapping_root

◆ key_memory_TABLE_RULE_ENT

PSI_memory_key key_memory_TABLE_RULE_ENT

◆ key_memory_table_share

PSI_memory_key key_memory_table_share

◆ key_memory_TABLE_sort_io_cache

PSI_memory_key key_memory_TABLE_sort_io_cache

◆ key_memory_TC_LOG_MMAP_pages

PSI_memory_key key_memory_TC_LOG_MMAP_pages

◆ key_memory_test_quick_select_exec

PSI_memory_key key_memory_test_quick_select_exec

◆ key_memory_THD_db

PSI_memory_key key_memory_THD_db

◆ key_memory_THD_handler_tables_hash

PSI_memory_key key_memory_THD_handler_tables_hash

◆ key_memory_thd_main_mem_root

PSI_memory_key key_memory_thd_main_mem_root

◆ key_memory_THD_Session_sysvar_resource_manager

PSI_memory_key key_memory_THD_Session_sysvar_resource_manager

◆ key_memory_THD_Session_tracker

PSI_memory_key key_memory_THD_Session_tracker

◆ key_memory_thd_timer

PSI_memory_key key_memory_thd_timer

◆ key_memory_thd_transactions

PSI_memory_key key_memory_thd_transactions

◆ key_memory_THD_variables

PSI_memory_key key_memory_THD_variables

◆ key_memory_Unique_merge_buffer

PSI_memory_key key_memory_Unique_merge_buffer

◆ key_memory_Unique_sort_buffer

PSI_memory_key key_memory_Unique_sort_buffer

◆ key_memory_user_conn

PSI_memory_key key_memory_user_conn

◆ key_memory_User_level_lock

PSI_memory_key key_memory_User_level_lock

◆ key_memory_user_var_entry

PSI_memory_key key_memory_user_var_entry

◆ key_memory_user_var_entry_value

PSI_memory_key key_memory_user_var_entry_value

◆ key_memory_write_set_extraction

PSI_memory_key key_memory_write_set_extraction

◆ key_memory_xa_recovered_transactions

PSI_memory_key key_memory_xa_recovered_transactions

◆ key_memory_xa_transaction_contexts

PSI_memory_key key_memory_xa_transaction_contexts