MySQL 9.1.0
Source Code Documentation
|
Namespaces | |
namespace | platform |
Classes | |
struct | Range |
class | Resource_group |
Class that represents an abstraction of the Resource Group. More... | |
struct | Resource_group_ctx |
class | Resource_group_mgr |
This is a singleton class that provides various functionalities related to Resource group management, more importantly the managing and the mapping of resource group names to the corresponding in-memory resource group object. More... | |
class | Sql_cmd_alter_resource_group |
Sql_cmd_alter_resource_group represents ALTER RESOURCE GROUP statement. More... | |
class | Sql_cmd_create_resource_group |
Sql_cmd_create_resource_group represents CREATE RESOURCE GROUP statement. More... | |
class | Sql_cmd_drop_resource_group |
Sql_cmd_drop_resource_group represents DROP RESOURCE GROUP statement. More... | |
class | Sql_cmd_set_resource_group |
Sql_cmd_set_resource_group represents SET RESOURCE GROUP statement. More... | |
class | Thread_resource_control |
Class that abstracts the resource control that can be applied to threads. More... | |
Enumerations | |
enum class | Type { SYSTEM_RESOURCE_GROUP = 1 , USER_RESOURCE_GROUP } |
Functions | |
void | thread_create_callback (const PSI_thread_attrs *thread_attrs) |
void | session_disconnect_callback (const PSI_thread_attrs *) |
static bool | persist_resource_group (THD *thd, const resourcegroups::Resource_group &resource_group, bool update) |
Persist an in-memory resource group to Data Dictionary. More... | |
static bool | deserialize_resource_groups (THD *thd) |
Variables | |
const char * | SYS_DEFAULT_RESOURCE_GROUP_NAME = "SYS_default" |
const char * | USR_DEFAULT_RESOURCE_GROUP_NAME = "USR_default" |
|
strong |
|
static |
|
inlinestatic |
Persist an in-memory resource group to Data Dictionary.
thd | pointer to THD. |
resource_group | Reference to the resource group to be persisted. |
update | True if the resource groups exists and needs to be updated else resource group is created in DD. |
void resourcegroups::session_disconnect_callback | ( | const PSI_thread_attrs * | ) |
void resourcegroups::thread_create_callback | ( | const PSI_thread_attrs * | thread_attrs | ) |
const char * resourcegroups::SYS_DEFAULT_RESOURCE_GROUP_NAME = "SYS_default" |
const char * resourcegroups::USR_DEFAULT_RESOURCE_GROUP_NAME = "USR_default" |