MySQL  8.0.19
Source Code Documentation

Statistics for statement usage. More...

#include <pfs_stat.h>

Public Member Functions

 PFS_statement_stat ()
 
void reset ()
 
void mark_used ()
 
void aggregate_counted ()
 
void aggregate_value (ulonglong value)
 
void aggregate (const PFS_statement_stat *stat)
 

Public Attributes

PFS_single_stat m_timer1_stat
 
ulonglong m_error_count
 
ulonglong m_warning_count
 
ulonglong m_rows_affected
 
ulonglong m_lock_time
 
ulonglong m_rows_sent
 
ulonglong m_rows_examined
 
ulonglong m_created_tmp_disk_tables
 
ulonglong m_created_tmp_tables
 
ulonglong m_select_full_join
 
ulonglong m_select_full_range_join
 
ulonglong m_select_range
 
ulonglong m_select_range_check
 
ulonglong m_select_scan
 
ulonglong m_sort_merge_passes
 
ulonglong m_sort_range
 
ulonglong m_sort_rows
 
ulonglong m_sort_scan
 
ulonglong m_no_index_used
 
ulonglong m_no_good_index_used
 

Private Member Functions

void delayed_reset (void)
 

Detailed Description

Statistics for statement usage.

This structure uses lazy initialization, controlled by member m_timer1_stat.m_count.

Constructor & Destructor Documentation

◆ PFS_statement_stat()

PFS_statement_stat::PFS_statement_stat ( )
inline

Member Function Documentation

◆ aggregate()

void PFS_statement_stat::aggregate ( const PFS_statement_stat stat)
inline

◆ aggregate_counted()

void PFS_statement_stat::aggregate_counted ( )
inline

◆ aggregate_value()

void PFS_statement_stat::aggregate_value ( ulonglong  value)
inline

◆ delayed_reset()

void PFS_statement_stat::delayed_reset ( void  )
inlineprivate

◆ mark_used()

void PFS_statement_stat::mark_used ( )
inline

◆ reset()

void PFS_statement_stat::reset ( )
inline

Member Data Documentation

◆ m_created_tmp_disk_tables

ulonglong PFS_statement_stat::m_created_tmp_disk_tables

◆ m_created_tmp_tables

ulonglong PFS_statement_stat::m_created_tmp_tables

◆ m_error_count

ulonglong PFS_statement_stat::m_error_count

◆ m_lock_time

ulonglong PFS_statement_stat::m_lock_time

◆ m_no_good_index_used

ulonglong PFS_statement_stat::m_no_good_index_used

◆ m_no_index_used

ulonglong PFS_statement_stat::m_no_index_used

◆ m_rows_affected

ulonglong PFS_statement_stat::m_rows_affected

◆ m_rows_examined

ulonglong PFS_statement_stat::m_rows_examined

◆ m_rows_sent

ulonglong PFS_statement_stat::m_rows_sent

◆ m_select_full_join

ulonglong PFS_statement_stat::m_select_full_join

◆ m_select_full_range_join

ulonglong PFS_statement_stat::m_select_full_range_join

◆ m_select_range

ulonglong PFS_statement_stat::m_select_range

◆ m_select_range_check

ulonglong PFS_statement_stat::m_select_range_check

◆ m_select_scan

ulonglong PFS_statement_stat::m_select_scan

◆ m_sort_merge_passes

ulonglong PFS_statement_stat::m_sort_merge_passes

◆ m_sort_range

ulonglong PFS_statement_stat::m_sort_range

◆ m_sort_rows

ulonglong PFS_statement_stat::m_sort_rows

◆ m_sort_scan

ulonglong PFS_statement_stat::m_sort_scan

◆ m_timer1_stat

PFS_single_stat PFS_statement_stat::m_timer1_stat

◆ m_warning_count

ulonglong PFS_statement_stat::m_warning_count

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