MySQL 8.4.2
Source Code Documentation
|
Performance schema system variable and status variable (implementation). More...
#include "storage/perfschema/pfs_variable.h"
#include <assert.h>
#include <algorithm>
#include <map>
#include <vector>
#include "my_compiler.h"
#include "m_string.h"
#include "mutex_lock.h"
#include "my_macros.h"
#include "my_sys.h"
#include "mysql/strings/m_ctype.h"
#include "sql/current_thd.h"
#include "sql/debug_sync.h"
#include "sql/derror.h"
#include "sql/mysqld.h"
#include "sql/persisted_variable.h"
#include "sql/sql_class.h"
#include "sql/sql_lex.h"
#include "sql/sql_show.h"
#include "storage/perfschema/pfs.h"
#include "storage/perfschema/pfs_global.h"
#include "storage/perfschema/pfs_visitor.h"
Functions | |
void | sum_user_status (PFS_client *pfs_user, System_status_var *status_totals) |
void | sum_host_status (PFS_client *pfs_host, System_status_var *status_totals) |
void | sum_account_status (PFS_client *pfs_account, System_status_var *status_totals) |
void | reset_pfs_status_stats () |
Reset aggregated status counter stats for account, user and host. More... | |
void | system_variable_warning () |
Warning issued if the version of the system variable hash table changes during a query. More... | |
void | status_variable_warning () |
Warning issued if the global status variable array changes during a query. More... | |
Performance schema system variable and status variable (implementation).
void reset_pfs_status_stats | ( | ) |
Reset aggregated status counter stats for account, user and host.
Reset the aggregated status counter stats.
NOTE: Assumes LOCK_status is held.
void status_variable_warning | ( | ) |
Warning issued if the global status variable array changes during a query.
This can happen when a plugin is loaded or unloaded.
void sum_account_status | ( | PFS_client * | pfs_account, |
System_status_var * | status_totals | ||
) |
void sum_host_status | ( | PFS_client * | pfs_host, |
System_status_var * | status_totals | ||
) |
void sum_user_status | ( | PFS_client * | pfs_user, |
System_status_var * | status_totals | ||
) |
void system_variable_warning | ( | ) |
Warning issued if the version of the system variable hash table changes during a query.
This can happen when a plugin is loaded or unloaded.