MySQL 9.1.0
Source Code Documentation

A connection slice, an arbitrary grouping of several connections. More...

#include <pfs_con_slice.h>

Inheritance diagram for PFS_connection_slice:
[legend]

Public Member Functions

void reset_stats ()
 Reset all statistics. More...
 
void reset_waits_stats ()
 Reset all wait statistics. More...
 
void reset_stages_stats ()
 Reset all stages statistics. More...
 
void reset_statements_stats ()
 Reset all statements statistics. More...
 
void reset_transactions_stats ()
 Reset all transactions statistics. More...
 
void reset_errors_stats ()
 Reset all errors statistics. More...
 
void reset_status_stats ()
 Reset all status variable statistics. More...
 
void set_instr_class_waits_stats (PFS_single_stat *array)
 
const PFS_single_statread_instr_class_waits_stats () const
 
PFS_single_statwrite_instr_class_waits_stats ()
 
void set_instr_class_stages_stats (PFS_stage_stat *array)
 
const PFS_stage_statread_instr_class_stages_stats () const
 
PFS_stage_statwrite_instr_class_stages_stats ()
 
void set_instr_class_statements_stats (PFS_statement_stat *array)
 
const PFS_statement_statread_instr_class_statements_stats () const
 
PFS_statement_statwrite_instr_class_statements_stats ()
 
void set_instr_class_transactions_stats (PFS_transaction_stat *array)
 
const PFS_transaction_statread_instr_class_transactions_stats () const
 
PFS_transaction_statwrite_instr_class_transactions_stats ()
 
void set_instr_class_errors_stats (PFS_error_stat *array)
 
const PFS_error_statread_instr_class_errors_stats () const
 
PFS_error_statwrite_instr_class_errors_stats ()
 
void aggregate_status_stats (const System_status_var *status_vars)
 

Public Attributes

PFS_status_stats m_status_stats
 Aggregated status variables. More...
 
PFS_opaque_container_page * m_page
 Container page. More...
 

Protected Attributes

bool m_has_memory_stats {false}
 

Private Attributes

bool m_has_waits_stats {false}
 
bool m_has_stages_stats {false}
 
bool m_has_statements_stats {false}
 
bool m_has_transactions_stats {false}
 
bool m_has_errors_stats {false}
 
PFS_single_statm_instr_class_waits_stats {nullptr}
 Per connection slice waits aggregated statistics. More...
 
PFS_stage_statm_instr_class_stages_stats {nullptr}
 Per connection slice stages aggregated statistics. More...
 
PFS_statement_statm_instr_class_statements_stats {nullptr}
 Per connection slice statements aggregated statistics. More...
 
PFS_transaction_statm_instr_class_transactions_stats {nullptr}
 Per connection slice transactions aggregated statistics. More...
 
PFS_error_statm_instr_class_errors_stats {nullptr}
 Per connection slice error aggregated statistics. More...
 

Detailed Description

A connection slice, an arbitrary grouping of several connections.

This structure holds statistics for grouping of connections.

Member Function Documentation

◆ aggregate_status_stats()

void PFS_connection_slice::aggregate_status_stats ( const System_status_var status_vars)
inline

◆ read_instr_class_errors_stats()

const PFS_error_stat * PFS_connection_slice::read_instr_class_errors_stats ( ) const
inline

◆ read_instr_class_stages_stats()

const PFS_stage_stat * PFS_connection_slice::read_instr_class_stages_stats ( ) const
inline

◆ read_instr_class_statements_stats()

const PFS_statement_stat * PFS_connection_slice::read_instr_class_statements_stats ( ) const
inline

◆ read_instr_class_transactions_stats()

const PFS_transaction_stat * PFS_connection_slice::read_instr_class_transactions_stats ( ) const
inline

◆ read_instr_class_waits_stats()

const PFS_single_stat * PFS_connection_slice::read_instr_class_waits_stats ( ) const
inline

◆ reset_stats()

void PFS_connection_slice::reset_stats ( )
inline

Reset all statistics.

◆ reset_status_stats()

void PFS_connection_slice::reset_status_stats ( )
inline

Reset all status variable statistics.

◆ set_instr_class_errors_stats()

void PFS_connection_slice::set_instr_class_errors_stats ( PFS_error_stat array)
inline

◆ set_instr_class_stages_stats()

void PFS_connection_slice::set_instr_class_stages_stats ( PFS_stage_stat array)
inline

◆ set_instr_class_statements_stats()

void PFS_connection_slice::set_instr_class_statements_stats ( PFS_statement_stat array)
inline

◆ set_instr_class_transactions_stats()

void PFS_connection_slice::set_instr_class_transactions_stats ( PFS_transaction_stat array)
inline

◆ set_instr_class_waits_stats()

void PFS_connection_slice::set_instr_class_waits_stats ( PFS_single_stat array)
inline

◆ write_instr_class_errors_stats()

PFS_error_stat * PFS_connection_slice::write_instr_class_errors_stats ( )
inline

◆ write_instr_class_stages_stats()

PFS_stage_stat * PFS_connection_slice::write_instr_class_stages_stats ( )
inline

◆ write_instr_class_statements_stats()

PFS_statement_stat * PFS_connection_slice::write_instr_class_statements_stats ( )
inline

◆ write_instr_class_transactions_stats()

PFS_transaction_stat * PFS_connection_slice::write_instr_class_transactions_stats ( )
inline

◆ write_instr_class_waits_stats()

PFS_single_stat * PFS_connection_slice::write_instr_class_waits_stats ( )
inline

Member Data Documentation

◆ m_has_errors_stats

bool PFS_connection_slice::m_has_errors_stats {false}
private

◆ m_has_memory_stats

bool PFS_connection_slice::m_has_memory_stats {false}
protected

◆ m_has_stages_stats

bool PFS_connection_slice::m_has_stages_stats {false}
private

◆ m_has_statements_stats

bool PFS_connection_slice::m_has_statements_stats {false}
private

◆ m_has_transactions_stats

bool PFS_connection_slice::m_has_transactions_stats {false}
private

◆ m_has_waits_stats

bool PFS_connection_slice::m_has_waits_stats {false}
private

◆ m_instr_class_errors_stats

PFS_error_stat* PFS_connection_slice::m_instr_class_errors_stats {nullptr}
private

Per connection slice error aggregated statistics.

This member holds the data for the table PERFORMANCE_SCHEMA.EVENTS_ERRORS_SUMMARY_BY_*_BY_ERROR. Immutable, safe to use without internal lock.

◆ m_instr_class_stages_stats

PFS_stage_stat* PFS_connection_slice::m_instr_class_stages_stats {nullptr}
private

Per connection slice stages aggregated statistics.

This member holds the data for the table PERFORMANCE_SCHEMA.EVENTS_STAGES_SUMMARY_BY_*_BY_EVENT_NAME. Immutable, safe to use without internal lock.

◆ m_instr_class_statements_stats

PFS_statement_stat* PFS_connection_slice::m_instr_class_statements_stats {nullptr}
private

Per connection slice statements aggregated statistics.

This member holds the data for the table PERFORMANCE_SCHEMA.EVENTS_STATEMENTS_SUMMARY_BY_*_BY_EVENT_NAME. Immutable, safe to use without internal lock.

◆ m_instr_class_transactions_stats

PFS_transaction_stat* PFS_connection_slice::m_instr_class_transactions_stats {nullptr}
private

Per connection slice transactions aggregated statistics.

This member holds the data for the table PERFORMANCE_SCHEMA.EVENTS_TRANSACTIONS_SUMMARY_BY_*_BY_EVENT_NAME. Immutable, safe to use without internal lock.

◆ m_instr_class_waits_stats

PFS_single_stat* PFS_connection_slice::m_instr_class_waits_stats {nullptr}
private

Per connection slice waits aggregated statistics.

This member holds the data for the table PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_BY_*_BY_EVENT_NAME. Immutable, safe to use without internal lock.

◆ m_page

PFS_opaque_container_page* PFS_connection_slice::m_page

Container page.

◆ m_status_stats

PFS_status_stats PFS_connection_slice::m_status_stats

Aggregated status variables.


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