MySQL 8.4.2
Source Code Documentation
|
Functions | |
bool | create_and_use_pfs_schema (THD *thd) |
Create and use the performance schema. More... | |
bool | check_perf_schema_has_correct_version (THD *thd) |
Check that the actual version of performance schema supported by server and the version of performance schema stored in the Data Dictionary are the same. More... | |
String_type | build_ddl_drop_ps_table (const String_type &table_name) |
Produce a statement DROP TABLE for a table name specified by the argument. More... | |
bool | create_pfs_tables (THD *thd) |
Create performance schema tables. More... | |
const dd::String_type | SERVER_PS_TABLE_PROPERTY_NAME ("server_p_s_table") |
bool | drop_old_pfs_tables (THD *thd) |
Drop all P_S tables that have the property PS_version. More... | |
void | add_pfs_definition (const Plugin_table *table) |
Produce sql statement to create a P_S table, add a pair table_name/sql_statement into the list of P_S tables to create and register a name of P_S table in the register of known P_S tables. More... | |
bool | initialize_pfs (THD *thd) |
Creates the database performance_schema and tables that the perf_schema consists of. More... | |
void anonymous_namespace{init.cc}::add_pfs_definition | ( | const Plugin_table * | table | ) |
Produce sql statement to create a P_S table, add a pair table_name/sql_statement into the list of P_S tables to create and register a name of P_S table in the register of known P_S tables.
table | P_S table definition |
String_type anonymous_namespace{init.cc}::build_ddl_drop_ps_table | ( | const String_type & | table_name | ) |
Produce a statement DROP TABLE for a table name specified by the argument.
table_name | A name of table to drop |
bool anonymous_namespace{init.cc}::check_perf_schema_has_correct_version | ( | THD * | thd | ) |
Check that the actual version of performance schema supported by server and the version of performance schema stored in the Data Dictionary are the same.
thd | Thread context. |
bool anonymous_namespace{init.cc}::create_and_use_pfs_schema | ( | THD * | thd | ) |
Create and use the performance schema.
thd | Thread context. |
bool anonymous_namespace{init.cc}::create_pfs_tables | ( | THD * | thd | ) |
Create performance schema tables.
thd | Thread context. |
bool anonymous_namespace{init.cc}::drop_old_pfs_tables | ( | THD * | thd | ) |
Drop all P_S tables that have the property PS_version.
thd | Thread context. |
bool anonymous_namespace{init.cc}::initialize_pfs | ( | THD * | thd | ) |
Creates the database performance_schema and tables that the perf_schema consists of.
thd | Thread context. |
const dd::String_type anonymous_namespace{init.cc}::SERVER_PS_TABLE_PROPERTY_NAME | ( | "server_p_s_table" | ) |