MySQL 9.1.0
Source Code Documentation
psi_memory_key.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int PSI_memory_key
 

Functions

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

Variables

PSI_memory_key key_memory_Filesort_buffer_sort_keys
 
PSI_memory_key key_memory_Gtid_set_Interval_chunk
 
PSI_memory_key key_memory_Gtid_set_to_string
 
PSI_memory_key key_memory_tsid_map_Node
 
PSI_memory_key key_memory_String_value
 
PSI_memory_key key_memory_log_error_loaded_services
 
PSI_memory_key key_memory_log_error_stack
 
PSI_memory_key key_memory_log_event
 
PSI_memory_key key_memory_log_sink_pfs
 memory instrumentation More...
 
PSI_memory_key key_memory_Gtid_state_group_commit_sidno
 
PSI_memory_key key_memory_string_iterator
 
PSI_memory_key key_memory_table_def_memory
 
PSI_memory_key key_memory_string_service_iterator
 
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_basic_root
 
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_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_applier_metric_service
 
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_bitmap_map
 
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
 

Typedef Documentation

◆ PSI_memory_key

typedef unsigned int PSI_memory_key

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

◆ key_memory_acl_cache

PSI_memory_key key_memory_acl_cache
extern

◆ key_memory_acl_map_cache

PSI_memory_key key_memory_acl_map_cache
extern

◆ key_memory_acl_mem

PSI_memory_key key_memory_acl_mem
extern

◆ key_memory_acl_memex

PSI_memory_key key_memory_acl_memex
extern

◆ key_memory_applier

PSI_memory_key key_memory_applier
extern

◆ key_memory_applier_metric_service

PSI_memory_key key_memory_applier_metric_service
extern

◆ key_memory_binlog_cache_mngr

PSI_memory_key key_memory_binlog_cache_mngr
extern

◆ key_memory_binlog_recover_exec

PSI_memory_key key_memory_binlog_recover_exec
extern

◆ key_memory_binlog_statement_buffer

PSI_memory_key key_memory_binlog_statement_buffer
extern

◆ key_memory_bison_stack

PSI_memory_key key_memory_bison_stack
extern

◆ key_memory_blob_mem_storage

PSI_memory_key key_memory_blob_mem_storage
extern

◆ key_memory_db_worker_hash_entry

PSI_memory_key key_memory_db_worker_hash_entry
extern

◆ key_memory_DD_cache_infrastructure

PSI_memory_key key_memory_DD_cache_infrastructure
extern

◆ key_memory_DD_column_statistics

PSI_memory_key key_memory_DD_column_statistics
extern

◆ key_memory_DD_default_values

PSI_memory_key key_memory_DD_default_values
extern

◆ key_memory_DD_import

PSI_memory_key key_memory_DD_import
extern

◆ key_memory_DD_objects

PSI_memory_key key_memory_DD_objects
extern

◆ key_memory_DD_String_type

PSI_memory_key key_memory_DD_String_type
extern

◆ key_memory_delegate

PSI_memory_key key_memory_delegate
extern

◆ key_memory_errmsgs_handler

PSI_memory_key key_memory_errmsgs_handler
extern

◆ key_memory_errmsgs_server

PSI_memory_key key_memory_errmsgs_server
extern

◆ key_memory_Event_queue_element_for_exec_names

PSI_memory_key key_memory_Event_queue_element_for_exec_names
extern

◆ key_memory_Event_scheduler_scheduler_param

PSI_memory_key key_memory_Event_scheduler_scheduler_param
extern

◆ key_memory_File_query_log_name

PSI_memory_key key_memory_File_query_log_name
extern

◆ key_memory_Filesort_buffer_sort_keys

PSI_memory_key key_memory_Filesort_buffer_sort_keys
extern

◆ key_memory_Filesort_info_merge

PSI_memory_key key_memory_Filesort_info_merge
extern

◆ key_memory_Filesort_info_record_pointers

PSI_memory_key key_memory_Filesort_info_record_pointers
extern

◆ key_memory_Geometry_objects_data

PSI_memory_key key_memory_Geometry_objects_data
extern

◆ key_memory_Gis_read_stream_err_msg

PSI_memory_key key_memory_Gis_read_stream_err_msg
extern

◆ key_memory_global_system_variables

PSI_memory_key key_memory_global_system_variables
extern

◆ key_memory_Gtid_set_Interval_chunk

PSI_memory_key key_memory_Gtid_set_Interval_chunk
extern

◆ key_memory_Gtid_set_to_string

PSI_memory_key key_memory_Gtid_set_to_string
extern

◆ key_memory_Gtid_state_group_commit_sidno

PSI_memory_key key_memory_Gtid_state_group_commit_sidno
extern

◆ key_memory_handlerton_objects

PSI_memory_key key_memory_handlerton_objects
extern

◆ key_memory_hash_index_key_buffer

PSI_memory_key key_memory_hash_index_key_buffer
extern

◆ key_memory_hash_op

PSI_memory_key key_memory_hash_op
extern

◆ key_memory_HASH_ROW_ENTRY

PSI_memory_key key_memory_HASH_ROW_ENTRY
extern

◆ key_memory_help

PSI_memory_key key_memory_help
extern

◆ key_memory_histograms

PSI_memory_key key_memory_histograms
extern

◆ key_memory_host_cache_hostname

PSI_memory_key key_memory_host_cache_hostname
extern

◆ key_memory_IndexRangeScanIterator_mrr_buf_desc

PSI_memory_key key_memory_IndexRangeScanIterator_mrr_buf_desc
extern

◆ key_memory_JOIN_CACHE

PSI_memory_key key_memory_JOIN_CACHE
extern

◆ key_memory_JSON

PSI_memory_key key_memory_JSON
extern

◆ key_memory_locked_table_list

PSI_memory_key key_memory_locked_table_list
extern

◆ key_memory_locked_thread_list

PSI_memory_key key_memory_locked_thread_list
extern

◆ key_memory_log_error_loaded_services

PSI_memory_key key_memory_log_error_loaded_services
extern

◆ key_memory_log_error_stack

PSI_memory_key key_memory_log_error_stack
extern

◆ key_memory_log_event

PSI_memory_key key_memory_log_event
extern

◆ key_memory_LOG_name

PSI_memory_key key_memory_LOG_name
extern

◆ key_memory_LOG_POS_COORD

PSI_memory_key key_memory_LOG_POS_COORD
extern

◆ key_memory_log_sink_pfs

PSI_memory_key key_memory_log_sink_pfs
extern

memory instrumentation

◆ key_memory_MPVIO_EXT_auth_info

PSI_memory_key key_memory_MPVIO_EXT_auth_info
extern

◆ key_memory_Mutex_cond_array_Mutex_cond

PSI_memory_key key_memory_Mutex_cond_array_Mutex_cond
extern

◆ key_memory_my_bitmap_map

PSI_memory_key key_memory_my_bitmap_map
extern

◆ key_memory_my_str_malloc

PSI_memory_key key_memory_my_str_malloc
extern

◆ key_memory_MYSQL_BIN_LOG_basename

PSI_memory_key key_memory_MYSQL_BIN_LOG_basename
extern

◆ key_memory_MYSQL_BIN_LOG_index

PSI_memory_key key_memory_MYSQL_BIN_LOG_index
extern

◆ key_memory_MYSQL_LOCK

PSI_memory_key key_memory_MYSQL_LOCK
extern

◆ key_memory_MYSQL_LOG_name

PSI_memory_key key_memory_MYSQL_LOG_name
extern

◆ key_memory_MYSQL_RELAY_LOG_basename

PSI_memory_key key_memory_MYSQL_RELAY_LOG_basename
extern

◆ key_memory_MYSQL_RELAY_LOG_index

PSI_memory_key key_memory_MYSQL_RELAY_LOG_index
extern

◆ key_memory_NET_buff

PSI_memory_key key_memory_NET_buff
extern

◆ key_memory_NET_compress_packet

PSI_memory_key key_memory_NET_compress_packet
extern

◆ key_memory_opt_bin_logname

PSI_memory_key key_memory_opt_bin_logname
extern

◆ key_memory_Owned_gtids_sidno_to_hash

PSI_memory_key key_memory_Owned_gtids_sidno_to_hash
extern

◆ key_memory_Owned_gtids_to_string

PSI_memory_key key_memory_Owned_gtids_to_string
extern

◆ key_memory_partition_syntax_buffer

PSI_memory_key key_memory_partition_syntax_buffer
extern

◆ key_memory_partitions_prune_exec

PSI_memory_key key_memory_partitions_prune_exec
extern

◆ key_memory_persisted_variables_memroot

PSI_memory_key key_memory_persisted_variables_memroot
extern

◆ key_memory_persisted_variables_unordered_map

PSI_memory_key key_memory_persisted_variables_unordered_map
extern

◆ key_memory_persisted_variables_unordered_set

PSI_memory_key key_memory_persisted_variables_unordered_set
extern

◆ key_memory_prepared_statement_infrastructure

PSI_memory_key key_memory_prepared_statement_infrastructure
extern

◆ key_memory_prepared_statement_main_mem_root

PSI_memory_key key_memory_prepared_statement_main_mem_root
extern

◆ key_memory_PROFILE

PSI_memory_key key_memory_PROFILE
extern

◆ key_memory_queue_item

PSI_memory_key key_memory_queue_item
extern

◆ key_memory_READ_INFO

PSI_memory_key key_memory_READ_INFO
extern

◆ key_memory_READ_RECORD_cache

PSI_memory_key key_memory_READ_RECORD_cache
extern

◆ key_memory_recovery

PSI_memory_key key_memory_recovery
extern

◆ key_memory_relaylog_recovery

PSI_memory_key key_memory_relaylog_recovery
extern

◆ key_memory_REPLICA_INFO

PSI_memory_key key_memory_REPLICA_INFO
extern

◆ key_memory_Replica_job_group_group_relay_log_name

PSI_memory_key key_memory_Replica_job_group_group_relay_log_name
extern

◆ key_memory_rm_db_mdl_reqs_root

PSI_memory_key key_memory_rm_db_mdl_reqs_root
extern

◆ key_memory_rm_table_foreach_root

PSI_memory_key key_memory_rm_table_foreach_root
extern

◆ key_memory_Row_data_memory_memory

PSI_memory_key key_memory_Row_data_memory_memory
extern

◆ key_memory_rpl_filter

PSI_memory_key key_memory_rpl_filter
extern

◆ key_memory_Rpl_info_file_buffer

PSI_memory_key key_memory_Rpl_info_file_buffer
extern

◆ key_memory_Rpl_info_table

PSI_memory_key key_memory_Rpl_info_table
extern

◆ key_memory_rpl_replica_check_temp_dir

PSI_memory_key key_memory_rpl_replica_check_temp_dir
extern

◆ key_memory_rpl_thd_context

PSI_memory_key key_memory_rpl_thd_context
extern

◆ key_memory_servers

PSI_memory_key key_memory_servers
extern

◆ key_memory_shared_memory_name

PSI_memory_key key_memory_shared_memory_name
extern

◆ key_memory_show_binlog_events

PSI_memory_key key_memory_show_binlog_events
extern

◆ key_memory_show_replica_status_io_gtid_set

PSI_memory_key key_memory_show_replica_status_io_gtid_set
extern

◆ key_memory_Slave_applier_json_diff_vector

PSI_memory_key key_memory_Slave_applier_json_diff_vector
extern

◆ key_memory_sp_cache

PSI_memory_key key_memory_sp_cache
extern

◆ key_memory_sp_head_call_root

PSI_memory_key key_memory_sp_head_call_root
extern

◆ key_memory_sp_head_execute_root

PSI_memory_key key_memory_sp_head_execute_root
extern

◆ key_memory_sp_head_main_root

PSI_memory_key key_memory_sp_head_main_root
extern

◆ key_memory_ST_SCHEMA_TABLE

PSI_memory_key key_memory_ST_SCHEMA_TABLE
extern

◆ key_memory_string_iterator

PSI_memory_key key_memory_string_iterator
extern

◆ key_memory_string_service_iterator

PSI_memory_key key_memory_string_service_iterator
extern

◆ key_memory_String_value

PSI_memory_key key_memory_String_value
extern

◆ key_memory_Sys_var_charptr_value

PSI_memory_key key_memory_Sys_var_charptr_value
extern

◆ key_memory_TABLE

PSI_memory_key key_memory_TABLE
extern

◆ key_memory_table_def_memory

PSI_memory_key key_memory_table_def_memory
extern

◆ key_memory_table_mapping_root

PSI_memory_key key_memory_table_mapping_root
extern

◆ key_memory_TABLE_RULE_ENT

PSI_memory_key key_memory_TABLE_RULE_ENT
extern

◆ key_memory_table_share

PSI_memory_key key_memory_table_share
extern

◆ key_memory_TABLE_sort_io_cache

PSI_memory_key key_memory_TABLE_sort_io_cache
extern

◆ key_memory_TC_LOG_MMAP_pages

PSI_memory_key key_memory_TC_LOG_MMAP_pages
extern

◆ key_memory_test_quick_select_exec

PSI_memory_key key_memory_test_quick_select_exec
extern

◆ key_memory_THD_db

PSI_memory_key key_memory_THD_db
extern

◆ key_memory_THD_handler_tables_hash

PSI_memory_key key_memory_THD_handler_tables_hash
extern

◆ key_memory_thd_main_mem_root

PSI_memory_key key_memory_thd_main_mem_root
extern

◆ key_memory_THD_Session_sysvar_resource_manager

PSI_memory_key key_memory_THD_Session_sysvar_resource_manager
extern

◆ key_memory_THD_Session_tracker

PSI_memory_key key_memory_THD_Session_tracker
extern

◆ key_memory_thd_timer

PSI_memory_key key_memory_thd_timer
extern

◆ key_memory_thd_transactions

PSI_memory_key key_memory_thd_transactions
extern

◆ key_memory_THD_variables

PSI_memory_key key_memory_THD_variables
extern

◆ key_memory_tsid_map_Node

PSI_memory_key key_memory_tsid_map_Node
extern

◆ key_memory_Unique_merge_buffer

PSI_memory_key key_memory_Unique_merge_buffer
extern

◆ key_memory_Unique_sort_buffer

PSI_memory_key key_memory_Unique_sort_buffer
extern

◆ key_memory_user_conn

PSI_memory_key key_memory_user_conn
extern

◆ key_memory_User_level_lock

PSI_memory_key key_memory_User_level_lock
extern

◆ key_memory_user_var_entry

PSI_memory_key key_memory_user_var_entry
extern

◆ key_memory_user_var_entry_value

PSI_memory_key key_memory_user_var_entry_value
extern

◆ key_memory_write_set_extraction

PSI_memory_key key_memory_write_set_extraction
extern

◆ key_memory_xa_recovered_transactions

PSI_memory_key key_memory_xa_recovered_transactions
extern

◆ key_memory_xa_transaction_contexts

PSI_memory_key key_memory_xa_transaction_contexts
extern