![]() |
MySQL 8.0.43
Source Code Documentation
|
The database buffer pool global types for the directory. More...
#include "os0event.h"#include "sync0rw.h"#include "ut0byte.h"#include "ut0mutex.h"#include "ut0rnd.h"#include "ut0ut.h"Go to the source code of this file.
Classes | |
| class | page_id_t |
| Page identifier. More... | |
Typedefs | |
| typedef byte | buf_frame_t |
| A buffer frame. More... | |
| typedef ib_bpmutex_t | BPageMutex |
| typedef ib_mutex_t | BufListMutex |
| typedef ib_mutex_t | FlushListMutex |
| typedef BPageMutex | BufPoolZipMutex |
| typedef rw_lock_t | BPageLock |
Functions | |
| bool | is_checksum_strict (srv_checksum_algorithm_t algo) |
| bool | is_checksum_strict (ulint algo) |
| std::ostream & | operator<< (std::ostream &out, const page_id_t &page_id) |
| Print the given page_id_t object. More... | |
Variables | |
| constexpr uint32_t | BUF_NO_CHECKSUM_MAGIC = 0xDEADBEEFUL |
| Magic value to use instead of checksums when they are disabled. More... | |
| std::atomic_uint32_t | buf_pool_resize_status_code |
| Buffer pool resize status code and progress are tracked using these atomic variables to ensure thread synchronization between innodb_buffer_pool_size_update (raising srv_buf_resize_event) and buf_resize_thread (handling srv_buf_resize_event) More... | |
| std::atomic_uint32_t | buf_pool_resize_status_progress |
| #define | BUF_BUDDY_SIZES (UNIV_PAGE_SIZE_SHIFT - BUF_BUDDY_LOW_SHIFT) |
| Actual number of buddy sizes based on current page size. More... | |
| #define | BUF_BUDDY_HIGH (BUF_BUDDY_LOW << BUF_BUDDY_SIZES) |
| twice the maximum block size of the buddy system; the underlying memory is aligned by this amount: this must be equal to UNIV_PAGE_SIZE More... | |
| constexpr uint32_t | BUF_BUDDY_LOW_SHIFT = UNIV_ZIP_SIZE_SHIFT_MIN |
| Parameters of binary buddy system for compressed pages (buf0buddy.h) More... | |
| constexpr uint32_t | BUF_BUDDY_LOW = (1U << BUF_BUDDY_LOW_SHIFT) |
| Smallest buddy page size. More... | |
| constexpr uint32_t | BUF_BUDDY_SIZES_MAX |
| Maximum number of buddy sizes based on the max page size. More... | |
The database buffer pool global types for the directory.
Created 11/17/1995 Heikki Tuuri
| #define BUF_BUDDY_HIGH (BUF_BUDDY_LOW << BUF_BUDDY_SIZES) |
twice the maximum block size of the buddy system; the underlying memory is aligned by this amount: this must be equal to UNIV_PAGE_SIZE
| #define BUF_BUDDY_SIZES (UNIV_PAGE_SIZE_SHIFT - BUF_BUDDY_LOW_SHIFT) |
Actual number of buddy sizes based on current page size.
| typedef ib_bpmutex_t BPageMutex |
| typedef byte buf_frame_t |
A buffer frame.
| typedef ib_mutex_t BufListMutex |
| typedef BPageMutex BufPoolZipMutex |
| typedef ib_mutex_t FlushListMutex |
| enum buf_flush_t : uint8_t |
| enum buf_io_fix : uint8_t |
Enumerate possible status codes during buffer pool resize.
This is used to identify the resize status using the corresponding code.
| enum buf_remove_t |
Algorithm to remove the pages for a tablespace from the buffer pool.
See buf_LRU_flush_or_remove_pages().
Alternatives for srv_checksum_algorithm, which can be changed by setting innodb_checksum_algorithm.
|
inline |
|
inline |
| std::ostream & operator<< | ( | std::ostream & | out, |
| const page_id_t & | page_id | ||
| ) |
Print the given page_id_t object.
| [in,out] | out | the output stream |
| [in] | page_id | the page_id_t object to be printed |
|
constexpr |
Smallest buddy page size.
|
constexpr |
Parameters of binary buddy system for compressed pages (buf0buddy.h)
Zip shift value for the smallest page size
|
constexpr |
Maximum number of buddy sizes based on the max page size.
|
constexpr |
Magic value to use instead of checksums when they are disabled.
|
extern |
Buffer pool resize status code and progress are tracked using these atomic variables to ensure thread synchronization between innodb_buffer_pool_size_update (raising srv_buf_resize_event) and buf_resize_thread (handling srv_buf_resize_event)
Buffer pool resize status code and progress are tracked using these atomic variables to ensure thread synchronization between innodb_buffer_pool_size_update (raising srv_buf_resize_event) and buf_resize_thread (handling srv_buf_resize_event)
|
extern |