MySQL 8.4.3
Source Code Documentation
|
State data storage for get_thread_statement_locker_v5_t
.
More...
#include <psi_statement_bits.h>
Public Attributes | |
bool | m_in_prepare |
In prepare flag. More... | |
bool | m_secondary |
Using secondary engine. More... | |
unsigned char | m_no_index_used |
Metric, no index used flag. More... | |
unsigned char | m_no_good_index_used |
Metric, no good index used flag. More... | |
unsigned int | m_collect_flags |
Internal state. More... | |
unsigned int | m_pfs_flags |
Internal PFS flags. More... | |
unsigned int | m_tel_flags |
Internal telemetry flags. More... | |
void * | m_class |
Instrumentation class. More... | |
struct PSI_thread * | m_thread |
Current thread. More... | |
unsigned long long | m_timer_start |
Timer start. More... | |
unsigned long long | m_cpu_time_start |
THREAD CPU time start. More... | |
size_t | m_controlled_local_size_start |
State temporary data for CONTROLLED_MEMORY. More... | |
size_t | m_controlled_stmt_size_start |
State temporary data for MAX_CONTROLLED_MEMORY. More... | |
size_t | m_total_local_size_start |
State temporary data for TOTAL_MEMORY. More... | |
size_t | m_total_stmt_size_start |
State temporary data for MAX_TOTAL_MEMORY. More... | |
void * | m_statement |
Internal data. More... | |
unsigned long long | m_lock_time |
Locked time. More... | |
unsigned long long | m_rows_sent |
Rows sent. More... | |
unsigned long long | m_rows_examined |
Rows examined. More... | |
unsigned long | m_created_tmp_disk_tables |
Metric, temporary tables created on disk. More... | |
unsigned long | m_created_tmp_tables |
Metric, temporary tables created. More... | |
unsigned long | m_select_full_join |
Metric, number of select full join. More... | |
unsigned long | m_select_full_range_join |
Metric, number of select full range join. More... | |
unsigned long | m_select_range |
Metric, number of select range. More... | |
unsigned long | m_select_range_check |
Metric, number of select range check. More... | |
unsigned long | m_select_scan |
Metric, number of select scan. More... | |
unsigned long | m_sort_merge_passes |
Metric, number of sort merge passes. More... | |
unsigned long | m_sort_range |
Metric, number of sort merge. More... | |
unsigned long | m_sort_rows |
Metric, number of sort rows. More... | |
unsigned long | m_sort_scan |
Metric, number of sort scans. More... | |
const struct sql_digest_storage * | m_digest |
Statement digest. More... | |
char | m_schema_name [PSI_SCHEMA_NAME_LEN] |
Current schema name. More... | |
unsigned int | m_schema_name_length |
Length in bytes of m_schema_name . More... | |
unsigned int | m_cs_number |
Statement character set number. More... | |
const char * | m_query_sample |
Statement query sample. More... | |
unsigned int | m_query_sample_length |
Length in bytes of m_query_sample . More... | |
bool | m_query_sample_truncated |
True if m_query_sample was truncated. More... | |
PSI_sp_share * | m_parent_sp_share |
PSI_prepared_stmt * | m_parent_prepared_stmt |
uint64_t | m_telemetry_scope |
Telemetry can force instruments creation regardless if the respective consumer is enabled or not through configuration. More... | |
void * | m_telemetry |
telemetry_session_t * | m_telemetry_session |
telemetry_locker_t * | m_telemetry_locker |
State data storage for get_thread_statement_locker_v5_t
.
This structure provide temporary storage to a statement locker. The content of this structure is considered opaque, the fields are only hints of what an implementation of the psi interface can use. This memory is provided by the instrumented code for performance reasons.
void* PSI_statement_locker_state_v5::m_class |
Instrumentation class.
unsigned int PSI_statement_locker_state_v5::m_collect_flags |
Internal state.
size_t PSI_statement_locker_state_v5::m_controlled_local_size_start |
State temporary data for CONTROLLED_MEMORY.
size_t PSI_statement_locker_state_v5::m_controlled_stmt_size_start |
State temporary data for MAX_CONTROLLED_MEMORY.
unsigned long long PSI_statement_locker_state_v5::m_cpu_time_start |
THREAD CPU time start.
unsigned long PSI_statement_locker_state_v5::m_created_tmp_disk_tables |
Metric, temporary tables created on disk.
unsigned long PSI_statement_locker_state_v5::m_created_tmp_tables |
Metric, temporary tables created.
unsigned int PSI_statement_locker_state_v5::m_cs_number |
Statement character set number.
const struct sql_digest_storage* PSI_statement_locker_state_v5::m_digest |
Statement digest.
bool PSI_statement_locker_state_v5::m_in_prepare |
In prepare flag.
unsigned long long PSI_statement_locker_state_v5::m_lock_time |
Locked time.
unsigned char PSI_statement_locker_state_v5::m_no_good_index_used |
Metric, no good index used flag.
unsigned char PSI_statement_locker_state_v5::m_no_index_used |
Metric, no index used flag.
PSI_prepared_stmt* PSI_statement_locker_state_v5::m_parent_prepared_stmt |
PSI_sp_share* PSI_statement_locker_state_v5::m_parent_sp_share |
unsigned int PSI_statement_locker_state_v5::m_pfs_flags |
Internal PFS flags.
const char* PSI_statement_locker_state_v5::m_query_sample |
Statement query sample.
unsigned int PSI_statement_locker_state_v5::m_query_sample_length |
Length in bytes of m_query_sample
.
bool PSI_statement_locker_state_v5::m_query_sample_truncated |
True if m_query_sample
was truncated.
unsigned long long PSI_statement_locker_state_v5::m_rows_examined |
Rows examined.
unsigned long long PSI_statement_locker_state_v5::m_rows_sent |
Rows sent.
char PSI_statement_locker_state_v5::m_schema_name[PSI_SCHEMA_NAME_LEN] |
Current schema name.
unsigned int PSI_statement_locker_state_v5::m_schema_name_length |
Length in bytes of m_schema_name
.
bool PSI_statement_locker_state_v5::m_secondary |
Using secondary engine.
unsigned long PSI_statement_locker_state_v5::m_select_full_join |
Metric, number of select full join.
unsigned long PSI_statement_locker_state_v5::m_select_full_range_join |
Metric, number of select full range join.
unsigned long PSI_statement_locker_state_v5::m_select_range |
Metric, number of select range.
unsigned long PSI_statement_locker_state_v5::m_select_range_check |
Metric, number of select range check.
unsigned long PSI_statement_locker_state_v5::m_select_scan |
Metric, number of select scan.
unsigned long PSI_statement_locker_state_v5::m_sort_merge_passes |
Metric, number of sort merge passes.
unsigned long PSI_statement_locker_state_v5::m_sort_range |
Metric, number of sort merge.
unsigned long PSI_statement_locker_state_v5::m_sort_rows |
Metric, number of sort rows.
unsigned long PSI_statement_locker_state_v5::m_sort_scan |
Metric, number of sort scans.
void* PSI_statement_locker_state_v5::m_statement |
Internal data.
unsigned int PSI_statement_locker_state_v5::m_tel_flags |
Internal telemetry flags.
void* PSI_statement_locker_state_v5::m_telemetry |
telemetry_locker_t* PSI_statement_locker_state_v5::m_telemetry_locker |
uint64_t PSI_statement_locker_state_v5::m_telemetry_scope |
Telemetry can force instruments creation regardless if the respective consumer is enabled or not through configuration.
telemetry_session_t* PSI_statement_locker_state_v5::m_telemetry_session |
struct PSI_thread* PSI_statement_locker_state_v5::m_thread |
Current thread.
unsigned long long PSI_statement_locker_state_v5::m_timer_start |
Timer start.
size_t PSI_statement_locker_state_v5::m_total_local_size_start |
State temporary data for TOTAL_MEMORY.
size_t PSI_statement_locker_state_v5::m_total_stmt_size_start |
State temporary data for MAX_TOTAL_MEMORY.