MySQL 8.0.40
Source Code Documentation
|
A statement record. More...
#include <pfs_events_statements.h>
Public Attributes | |
ulonglong | m_statement_id |
STATEMENT_ID, from the SQL layer QUERY_ID. More... | |
enum_object_type | m_sp_type |
PFS_schema_name | m_schema_name |
PFS_object_name | m_object_name |
PFS_schema_name | m_current_schema_name |
Database name. More... | |
ulonglong | m_lock_time |
Locked time. More... | |
uint | m_sql_errno |
Diagnostics area, error number. More... | |
char | m_sqlstate [SQLSTATE_LENGTH] |
Diagnostics area, SQLSTATE . More... | |
uint | m_error_count |
Diagnostics area, error count. More... | |
uint | m_warning_count |
Diagnostics area, warning count. More... | |
ulonglong | m_rows_affected |
Diagnostics area, rows affected. More... | |
ulonglong | m_rows_sent |
Optimizer metric, number of rows sent. More... | |
ulonglong | m_rows_examined |
Optimizer metric, number of rows examined. More... | |
ulonglong | m_created_tmp_disk_tables |
Optimizer metric, number of temporary tables created on disk. More... | |
ulonglong | m_created_tmp_tables |
Optimizer metric, number of temporary tables created. More... | |
ulonglong | m_select_full_join |
Optimizer metric, number of full join. More... | |
ulonglong | m_select_full_range_join |
Optimizer metric, number of full range join. More... | |
ulonglong | m_select_range |
Optimizer metric, number of select range. More... | |
ulonglong | m_select_range_check |
Optimizer metric, number of select range checks. More... | |
ulonglong | m_select_scan |
Optimizer metric, number of select scans. More... | |
ulonglong | m_sort_merge_passes |
Optimizer metric, number of sort merge passes. More... | |
ulonglong | m_sort_range |
Optimizer metric, number of sort ranges. More... | |
ulonglong | m_sort_rows |
Optimizer metric, number of sort rows. More... | |
ulonglong | m_sort_scan |
Optimizer metric, number of sort scans. More... | |
ulonglong | m_no_index_used |
Optimizer metric, number of 'no index used'. More... | |
ulonglong | m_no_good_index_used |
Optimizer metric, number of 'no good index used'. More... | |
ulonglong | m_cpu_time |
CPU time. More... | |
ulonglong | m_max_controlled_memory |
ulonglong | m_max_total_memory |
bool | m_sqltext_truncated |
True if SQL_TEXT was truncated. More... | |
uint | m_sqltext_cs_number |
Statement character set number. More... | |
bool | m_secondary |
Executed on the secondary engine. More... | |
char * | m_sqltext |
SQL_TEXT. More... | |
uint | m_sqltext_length |
Length of m_sqltext . More... | |
sql_digest_storage | m_digest_storage |
Statement digest. More... | |
uint | m_message_text_length |
Length of m_message_text . More... | |
char | m_message_text [MYSQL_ERRMSG_SIZE+1] |
Diagnostics area, message text. More... | |
Public Attributes inherited from PFS_events | |
ulonglong | m_thread_internal_id |
THREAD_ID. More... | |
ulonglong | m_event_id |
EVENT_ID. More... | |
ulonglong | m_end_event_id |
END_EVENT_ID. More... | |
enum_event_type | m_event_type |
(EVENT_TYPE) More... | |
ulonglong | m_nesting_event_id |
NESTING_EVENT_ID. More... | |
enum_event_type | m_nesting_event_type |
NESTING_EVENT_TYPE. More... | |
uint | m_nesting_event_level |
NESTING_EVENT_LEVEL. More... | |
PFS_instr_class * | m_class |
Instrument metadata. More... | |
ulonglong | m_timer_start |
Timer start. More... | |
ulonglong | m_timer_end |
Timer end. More... | |
const char * | m_source_file |
Location of the instrumentation in the source code (file name). More... | |
uint | m_source_line |
Location of the instrumentation in the source code (line number). More... | |
Additional Inherited Members | |
Public Member Functions inherited from PFS_events | |
PFS_events & | operator= (const PFS_events &rhs)=default |
A statement record.
ulonglong PFS_events_statements::m_cpu_time |
CPU time.
Expressed in STORAGE units (nanoseconds).
ulonglong PFS_events_statements::m_created_tmp_disk_tables |
Optimizer metric, number of temporary tables created on disk.
ulonglong PFS_events_statements::m_created_tmp_tables |
Optimizer metric, number of temporary tables created.
PFS_schema_name PFS_events_statements::m_current_schema_name |
Database name.
sql_digest_storage PFS_events_statements::m_digest_storage |
Statement digest.
This underlying token array storage pointer is immutable, and always point to pre allocated memory.
uint PFS_events_statements::m_error_count |
Diagnostics area, error count.
ulonglong PFS_events_statements::m_lock_time |
Locked time.
ulonglong PFS_events_statements::m_max_controlled_memory |
ulonglong PFS_events_statements::m_max_total_memory |
char PFS_events_statements::m_message_text[MYSQL_ERRMSG_SIZE+1] |
Diagnostics area, message text.
uint PFS_events_statements::m_message_text_length |
Length of m_message_text
.
This is placed before m_message_text[], for data locality.
ulonglong PFS_events_statements::m_no_good_index_used |
Optimizer metric, number of 'no good index used'.
ulonglong PFS_events_statements::m_no_index_used |
Optimizer metric, number of 'no index used'.
PFS_object_name PFS_events_statements::m_object_name |
ulonglong PFS_events_statements::m_rows_affected |
Diagnostics area, rows affected.
ulonglong PFS_events_statements::m_rows_examined |
Optimizer metric, number of rows examined.
ulonglong PFS_events_statements::m_rows_sent |
Optimizer metric, number of rows sent.
PFS_schema_name PFS_events_statements::m_schema_name |
bool PFS_events_statements::m_secondary |
Executed on the secondary engine.
ulonglong PFS_events_statements::m_select_full_join |
Optimizer metric, number of full join.
ulonglong PFS_events_statements::m_select_full_range_join |
Optimizer metric, number of full range join.
ulonglong PFS_events_statements::m_select_range |
Optimizer metric, number of select range.
ulonglong PFS_events_statements::m_select_range_check |
Optimizer metric, number of select range checks.
ulonglong PFS_events_statements::m_select_scan |
Optimizer metric, number of select scans.
ulonglong PFS_events_statements::m_sort_merge_passes |
Optimizer metric, number of sort merge passes.
ulonglong PFS_events_statements::m_sort_range |
Optimizer metric, number of sort ranges.
ulonglong PFS_events_statements::m_sort_rows |
Optimizer metric, number of sort rows.
ulonglong PFS_events_statements::m_sort_scan |
Optimizer metric, number of sort scans.
enum_object_type PFS_events_statements::m_sp_type |
uint PFS_events_statements::m_sql_errno |
Diagnostics area, error number.
char PFS_events_statements::m_sqlstate[SQLSTATE_LENGTH] |
Diagnostics area, SQLSTATE
.
char* PFS_events_statements::m_sqltext |
SQL_TEXT.
This pointer is immutable, and always point to pre allocated memory.
uint PFS_events_statements::m_sqltext_cs_number |
Statement character set number.
uint PFS_events_statements::m_sqltext_length |
Length of m_sqltext
.
bool PFS_events_statements::m_sqltext_truncated |
True if SQL_TEXT
was truncated.
ulonglong PFS_events_statements::m_statement_id |
STATEMENT_ID, from the SQL layer QUERY_ID.
uint PFS_events_statements::m_warning_count |
Diagnostics area, warning count.