MySQL 8.0.40
Source Code Documentation
|
Implements a buffer pool dump/load. More...
#include "univ.i"
Go to the source code of this file.
Functions | |
void | buf_dump_start () |
Wakes up the buffer pool dump/load thread and instructs it to start a dump. More... | |
void | buf_load_start () |
Wakes up the buffer pool dump/load thread and instructs it to start a load. More... | |
void | buf_load_abort () |
Aborts a currently running buffer pool load. More... | |
void | buf_dump_thread () |
This is the main thread for buffer pool dump/load. More... | |
void | buf_dump_generate_path (char *path, size_t path_size) |
Generate the path to the buffer pool dump/load file. More... | |
Implements a buffer pool dump/load.
Created April 08, 2011 Vasil Dimov
void buf_dump_generate_path | ( | char * | path, |
size_t | path_size | ||
) |
Generate the path to the buffer pool dump/load file.
[out] | path | generated path |
[in] | path_size | size of 'path', used as in snprintf(3). |
void buf_dump_start | ( | ) |
Wakes up the buffer pool dump/load thread and instructs it to start a dump.
This function is called by MySQL code via buffer_pool_dump_now() and it should return immediately because the whole MySQL is frozen during its execution.
void buf_dump_thread | ( | ) |
This is the main thread for buffer pool dump/load.
It waits for an event and when waked up either performs a dump or load and sleeps again.
void buf_load_abort | ( | ) |
Aborts a currently running buffer pool load.
This function is called by MySQL code via buffer_pool_load_abort() and it should return immediately because the whole MySQL is frozen during its execution.
void buf_load_start | ( | ) |
Wakes up the buffer pool dump/load thread and instructs it to start a load.
This function is called by MySQL code via buffer_pool_load_now() and it should return immediately because the whole MySQL is frozen during its execution.