![]() |
MySQL 26.7.0
Source Code Documentation
|
Resources used by a channel. More...
#include <resource_map.h>
Static Public Member Functions | |
| static bool | init_resources (std::size_t instance_id, std::size_t channel_memory, PSI_stage_info *waiting_for_channel_memory_stage) |
| Registeres named resources for the channel identified by the given instance_id. More... | |
Static Public Attributes | |
| static constexpr auto | declared_channel_memory = "declared_channel_memory" |
| Declared channel memory. More... | |
Resources used by a channel.
Contains specific resources names and registeres them at channel start (init_resources).
|
static |
Registeres named resources for the channel identified by the given instance_id.
| instance_id | Unique id representing a given CSA channel |
| channel_memory | The amount of memory available for the channel (configured via CRST, APPLIER_EVENT_MEMORY_LIMIT) |
| waiting_for_channel_memory_stage | Optional pointer to stage set during waiting |
|
staticconstexpr |
Declared channel memory.
Each transaction declares that it will use this specific amount of memory during apply phase