MySQL 8.0.29
Source Code Documentation

State data storage for get_thread_statement_locker_v1_t, get_thread_statement_locker_v1_t. More...

#include <psi_statement_bits.h>

Public Attributes

bool m_discarded
 Discarded flag. More...
bool m_in_prepare
 In prepare flag. 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_flags
 Internal state. More...
void * m_class
 Instrumentation class. More...
struct PSI_threadm_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...
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_storagem_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...

Detailed Description

State data storage for get_thread_statement_locker_v1_t, get_thread_statement_locker_v1_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.

See also

Member Data Documentation

◆ m_class

void* PSI_statement_locker_state_v1::m_class

Instrumentation class.

◆ m_cpu_time_start

unsigned long long PSI_statement_locker_state_v1::m_cpu_time_start

THREAD CPU time start.

◆ m_created_tmp_disk_tables

unsigned long PSI_statement_locker_state_v1::m_created_tmp_disk_tables

Metric, temporary tables created on disk.

◆ m_created_tmp_tables

unsigned long PSI_statement_locker_state_v1::m_created_tmp_tables

Metric, temporary tables created.

◆ m_cs_number

unsigned int PSI_statement_locker_state_v1::m_cs_number

Statement character set number.

◆ m_digest

const struct sql_digest_storage* PSI_statement_locker_state_v1::m_digest

Statement digest.

◆ m_discarded

bool PSI_statement_locker_state_v1::m_discarded

Discarded flag.

◆ m_flags

unsigned int PSI_statement_locker_state_v1::m_flags

Internal state.

◆ m_in_prepare

bool PSI_statement_locker_state_v1::m_in_prepare

In prepare flag.

◆ m_lock_time

unsigned long long PSI_statement_locker_state_v1::m_lock_time

Locked time.

◆ m_no_good_index_used

unsigned char PSI_statement_locker_state_v1::m_no_good_index_used

Metric, no good index used flag.

◆ m_no_index_used

unsigned char PSI_statement_locker_state_v1::m_no_index_used

Metric, no index used flag.

◆ m_parent_prepared_stmt

PSI_prepared_stmt* PSI_statement_locker_state_v1::m_parent_prepared_stmt

◆ m_parent_sp_share

PSI_sp_share* PSI_statement_locker_state_v1::m_parent_sp_share

◆ m_query_sample

const char* PSI_statement_locker_state_v1::m_query_sample

Statement query sample.

◆ m_query_sample_length

unsigned int PSI_statement_locker_state_v1::m_query_sample_length

Length in bytes of m_query_sample.

◆ m_query_sample_truncated

bool PSI_statement_locker_state_v1::m_query_sample_truncated

True if m_query_sample was truncated.

◆ m_rows_examined

unsigned long long PSI_statement_locker_state_v1::m_rows_examined

Rows examined.

◆ m_rows_sent

unsigned long long PSI_statement_locker_state_v1::m_rows_sent

Rows sent.

◆ m_schema_name

char PSI_statement_locker_state_v1::m_schema_name[PSI_SCHEMA_NAME_LEN]

Current schema name.

◆ m_schema_name_length

unsigned int PSI_statement_locker_state_v1::m_schema_name_length

Length in bytes of m_schema_name.

◆ m_select_full_join

unsigned long PSI_statement_locker_state_v1::m_select_full_join

Metric, number of select full join.

◆ m_select_full_range_join

unsigned long PSI_statement_locker_state_v1::m_select_full_range_join

Metric, number of select full range join.

◆ m_select_range

unsigned long PSI_statement_locker_state_v1::m_select_range

Metric, number of select range.

◆ m_select_range_check

unsigned long PSI_statement_locker_state_v1::m_select_range_check

Metric, number of select range check.

◆ m_select_scan

unsigned long PSI_statement_locker_state_v1::m_select_scan

Metric, number of select scan.

◆ m_sort_merge_passes

unsigned long PSI_statement_locker_state_v1::m_sort_merge_passes

Metric, number of sort merge passes.

◆ m_sort_range

unsigned long PSI_statement_locker_state_v1::m_sort_range

Metric, number of sort merge.

◆ m_sort_rows

unsigned long PSI_statement_locker_state_v1::m_sort_rows

Metric, number of sort rows.

◆ m_sort_scan

unsigned long PSI_statement_locker_state_v1::m_sort_scan

Metric, number of sort scans.

◆ m_statement

void* PSI_statement_locker_state_v1::m_statement

Internal data.

◆ m_thread

struct PSI_thread* PSI_statement_locker_state_v1::m_thread

Current thread.

◆ m_timer_start

unsigned long long PSI_statement_locker_state_v1::m_timer_start

Timer start.

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