MySQL 5.6.14 Source Code Document
|
Go to the source code of this file.
Classes | |
struct | PFS_sizing_hints |
struct | PFS_global_param |
Functions | |
struct PSI_bootstrap * | initialize_performance_schema (PFS_global_param *param) |
void | pfs_automated_sizing (PFS_global_param *param) |
void | initialize_performance_schema_acl (bool bootstrap) |
void | check_performance_schema () |
void | init_pfs_instrument_array () |
int | add_pfs_instr_to_array (const char *name, const char *value) |
void | shutdown_performance_schema () |
Variables | |
PFS_global_param | pfs_param |
Private interface for the server (declarations).
Definition in file pfs_server.h.
int add_pfs_instr_to_array | ( | const char * | name, |
const char * | value | ||
) |
Process one PFS_INSTRUMENT configuration string.
Process one performance_schema_instrument configuration string. Isolate the instrument name, evaluate the option value, and store them in a dynamic array. Return 'false' for success, 'true' for error.
name | Instrument name |
value | Configuration option: 'on', 'off', etc. |
Definition at line 245 of file pfs_server.cc.
void check_performance_schema | ( | ) |
Check that the performance schema tables have the expected structure. Discrepancies are written in the server log, but are not considered fatal, so this function does not return an error code:
Definition at line 45 of file pfs_check.cc.
void init_pfs_instrument_array | ( | ) |
Initialize the dynamic array holding individual instrument settings collected from the server configuration options.
Initialize the dynamic array used to hold PFS_INSTRUMENT configuration options.
Definition at line 216 of file pfs_server.cc.
|
read |
Initialize the performance schema.
param | Size parameters to use. |
Default values for SETUP_CONSUMERS
Definition at line 53 of file pfs_server.cc.
void shutdown_performance_schema | ( | ) |
Shutdown the performance schema.
Definition at line 194 of file pfs_server.cc.
PFS_global_param pfs_param |
Performance schema sizing values for the server. This global variable is set when parsing server startup options.
Definition at line 41 of file pfs_server.cc.