MySQL 5.6.14 Source Code Document
|
Go to the source code of this file.
Classes | |
struct | PFS_events_statements |
Functions | |
void | insert_events_statements_history (PFS_thread *thread, PFS_events_statements *statement) |
void | insert_events_statements_history_long (PFS_events_statements *statement) |
int | init_events_statements_history_long (uint events_statements_history_long_sizing) |
void | cleanup_events_statements_history_long () |
void | reset_events_statements_current () |
void | reset_events_statements_history () |
void | reset_events_statements_history_long () |
void | reset_events_statements_by_thread () |
void | reset_events_statements_by_account () |
void | reset_events_statements_by_user () |
void | reset_events_statements_by_host () |
void | reset_events_statements_global () |
void | aggregate_account_statements (PFS_account *account) |
void | aggregate_user_statements (PFS_user *user) |
void | aggregate_host_statements (PFS_host *host) |
Variables | |
bool | flag_events_statements_current |
bool | flag_events_statements_history |
bool | flag_events_statements_history_long |
bool | events_statements_history_long_full |
volatile uint32 | events_statements_history_long_index |
PFS_events_statements * | events_statements_history_long_array |
ulong | events_statements_history_long_size |
Events statements data structures (declarations).
Definition in file pfs_events_statements.h.
void cleanup_events_statements_history_long | ( | void | ) |
Cleanup table EVENTS_STATEMENTS_HISTORY_LONG.
Definition at line 69 of file pfs_events_statements.cc.
int init_events_statements_history_long | ( | uint | events_statements_history_long_sizing | ) |
Initialize table EVENTS_STATEMENTS_HISTORY_LONG.
events_statements_history_long_sizing | table sizing |
Definition at line 52 of file pfs_events_statements.cc.
void insert_events_statements_history | ( | PFS_thread * | thread, |
PFS_events_statements * | statement | ||
) |
Insert a statement record in table EVENTS_STATEMENTS_HISTORY.
thread | thread that executed the wait |
statement | record to insert |
Definition at line 86 of file pfs_events_statements.cc.
void insert_events_statements_history_long | ( | PFS_events_statements * | statement | ) |
Insert a statement record in table EVENTS_STATEMENTS_HISTORY_LONG.
statement | record to insert |
Definition at line 118 of file pfs_events_statements.cc.
void reset_events_statements_by_account | ( | ) |
Reset table EVENTS_STATEMENTS_SUMMARY_BY_ACCOUNT_BY_EVENT_NAME data.
Definition at line 203 of file pfs_events_statements.cc.
void reset_events_statements_by_host | ( | ) |
Reset table EVENTS_STATEMENTS_SUMMARY_BY_HOST_BY_EVENT_NAME data.
Definition at line 235 of file pfs_events_statements.cc.
void reset_events_statements_by_thread | ( | ) |
Reset table EVENTS_STATEMENTS_SUMMARY_BY_THREAD_BY_EVENT_NAME data.
Definition at line 182 of file pfs_events_statements.cc.
void reset_events_statements_by_user | ( | ) |
Reset table EVENTS_STATEMENTS_SUMMARY_BY_USER_BY_EVENT_NAME data.
Definition at line 222 of file pfs_events_statements.cc.
void reset_events_statements_current | ( | void | ) |
Reset table EVENTS_STATEMENTS_CURRENT data.
Definition at line 136 of file pfs_events_statements.cc.
void reset_events_statements_global | ( | ) |
Reset table EVENTS_STATEMENTS_GLOBAL_BY_EVENT_NAME data.
Definition at line 248 of file pfs_events_statements.cc.
void reset_events_statements_history | ( | void | ) |
Reset table EVENTS_STATEMENTS_HISTORY data.
Definition at line 152 of file pfs_events_statements.cc.
void reset_events_statements_history_long | ( | void | ) |
Reset table EVENTS_STATEMENTS_HISTORY_LONG data.
Definition at line 170 of file pfs_events_statements.cc.
PFS_events_statements* events_statements_history_long_array |
EVENTS_STATEMENTS_HISTORY_LONG circular buffer.
Definition at line 46 of file pfs_events_statements.cc.
bool events_statements_history_long_full |
True if EVENTS_STATEMENTS_HISTORY_LONG circular buffer is full.
Definition at line 42 of file pfs_events_statements.cc.
volatile uint32 events_statements_history_long_index |
Index in EVENTS_STATEMENTS_HISTORY_LONG circular buffer.
Definition at line 44 of file pfs_events_statements.cc.
bool flag_events_statements_current |
Consumer flag for table EVENTS_STATEMENTS_CURRENT.
Definition at line 35 of file pfs_events_statements.cc.
bool flag_events_statements_history |
Consumer flag for table EVENTS_STATEMENTS_HISTORY.
Definition at line 37 of file pfs_events_statements.cc.
bool flag_events_statements_history_long |
Consumer flag for table EVENTS_STATEMENTS_HISTORY_LONG.
Definition at line 39 of file pfs_events_statements.cc.