MySQL 8.0.40
Source Code Documentation
|
Statistics for TABLE usage. More...
#include <pfs_stat.h>
Public Member Functions | |
void | reset_io () |
Reset table I/O statistic. More... | |
void | reset_lock () |
Reset table lock statistic. More... | |
void | reset () |
Reset table statistic. More... | |
void | fast_reset_io () |
void | fast_reset_lock () |
void | fast_reset () |
void | aggregate_io (const PFS_table_stat *stat, uint key_count) |
void | aggregate_lock (const PFS_table_stat *stat) |
void | aggregate (const PFS_table_stat *stat, uint key_count) |
void | sum_io (PFS_single_stat *result, uint key_count) |
void | sum_lock (PFS_single_stat *result) |
void | sum (PFS_single_stat *result, uint key_count) |
Public Attributes | |
PFS_table_io_stat | m_index_stat [MAX_INDEXES+1] |
Statistics, per index. More... | |
PFS_table_lock_stat | m_lock_stat |
Statistics, per lock type. More... | |
Static Public Attributes | |
static struct PFS_table_stat | g_reset_template |
Statistics for TABLE usage.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Reset table statistic.
|
inline |
Reset table I/O statistic.
|
inline |
Reset table lock statistic.
|
inline |
|
inline |
|
inline |
|
static |
PFS_table_io_stat PFS_table_stat::m_index_stat[MAX_INDEXES+1] |
Statistics, per index.
Each index stat is in [0, MAX_INDEXES-1], stats when using no index are in [MAX_INDEXES].
PFS_table_lock_stat PFS_table_stat::m_lock_stat |
Statistics, per lock type.