MySQL 9.1.0
Source Code Documentation

Statistics for statement usage. More...

#include <pfs_stat.h>

Public Member Functions

void reset ()
 
void aggregate_counted ()
 
void aggregate_value (ulonglong value)
 
void aggregate_memory_size (size_t controlled_size, size_t total_size)
 
void aggregate (const PFS_statement_stat *stat)
 

Public Attributes

PFS_single_stat m_timer1_stat
 
ulonglong m_error_count {0}
 
ulonglong m_warning_count {0}
 
ulonglong m_rows_affected {0}
 
ulonglong m_lock_time {0}
 
ulonglong m_rows_sent {0}
 
ulonglong m_rows_examined {0}
 
ulonglong m_created_tmp_disk_tables {0}
 
ulonglong m_created_tmp_tables {0}
 
ulonglong m_select_full_join {0}
 
ulonglong m_select_full_range_join {0}
 
ulonglong m_select_range {0}
 
ulonglong m_select_range_check {0}
 
ulonglong m_select_scan {0}
 
ulonglong m_sort_merge_passes {0}
 
ulonglong m_sort_range {0}
 
ulonglong m_sort_rows {0}
 
ulonglong m_sort_scan {0}
 
ulonglong m_no_index_used {0}
 
ulonglong m_no_good_index_used {0}
 
ulonglong m_cpu_time {0}
 CPU TIME. More...
 
ulonglong m_max_controlled_memory {0}
 
ulonglong m_max_total_memory {0}
 
ulonglong m_count_secondary {0}
 

Detailed Description

Statistics for statement usage.

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_memory_size()

void PFS_statement_stat::aggregate_memory_size ( size_t  controlled_size,
size_t  total_size 
)
inline

◆ aggregate_value()

void PFS_statement_stat::aggregate_value ( ulonglong  value)
inline

◆ reset()

void PFS_statement_stat::reset ( void  )
inline

Member Data Documentation

◆ m_count_secondary

ulonglong PFS_statement_stat::m_count_secondary {0}

◆ m_cpu_time

ulonglong PFS_statement_stat::m_cpu_time {0}

CPU TIME.

Expressed in STORAGE units (nanoseconds).

◆ m_created_tmp_disk_tables

ulonglong PFS_statement_stat::m_created_tmp_disk_tables {0}

◆ m_created_tmp_tables

ulonglong PFS_statement_stat::m_created_tmp_tables {0}

◆ m_error_count

ulonglong PFS_statement_stat::m_error_count {0}

◆ m_lock_time

ulonglong PFS_statement_stat::m_lock_time {0}

◆ m_max_controlled_memory

ulonglong PFS_statement_stat::m_max_controlled_memory {0}

◆ m_max_total_memory

ulonglong PFS_statement_stat::m_max_total_memory {0}

◆ m_no_good_index_used

ulonglong PFS_statement_stat::m_no_good_index_used {0}

◆ m_no_index_used

ulonglong PFS_statement_stat::m_no_index_used {0}

◆ m_rows_affected

ulonglong PFS_statement_stat::m_rows_affected {0}

◆ m_rows_examined

ulonglong PFS_statement_stat::m_rows_examined {0}

◆ m_rows_sent

ulonglong PFS_statement_stat::m_rows_sent {0}

◆ m_select_full_join

ulonglong PFS_statement_stat::m_select_full_join {0}

◆ m_select_full_range_join

ulonglong PFS_statement_stat::m_select_full_range_join {0}

◆ m_select_range

ulonglong PFS_statement_stat::m_select_range {0}

◆ m_select_range_check

ulonglong PFS_statement_stat::m_select_range_check {0}

◆ m_select_scan

ulonglong PFS_statement_stat::m_select_scan {0}

◆ m_sort_merge_passes

ulonglong PFS_statement_stat::m_sort_merge_passes {0}

◆ m_sort_range

ulonglong PFS_statement_stat::m_sort_range {0}

◆ m_sort_rows

ulonglong PFS_statement_stat::m_sort_rows {0}

◆ m_sort_scan

ulonglong PFS_statement_stat::m_sort_scan {0}

◆ m_timer1_stat

PFS_single_stat PFS_statement_stat::m_timer1_stat

◆ m_warning_count

ulonglong PFS_statement_stat::m_warning_count {0}

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