MySQL 8.0.39
Source Code Documentation
|
Classes | |
struct | xdes_mem_t |
struct | fsp_header_mem_t |
In-memory representation of the fsp_header_t file structure. More... | |
Typedefs | |
typedef byte | fsp_header_t |
typedef byte | xdes_t |
Functions | |
bool | xdes_state_is_valid (ulint state) |
Check if the state of extent descriptor is valid. More... | |
std::ostream & | operator<< (std::ostream &out, const xdes_mem_t &obj) |
std::ostream & | operator<< (std::ostream &out, const fsp_header_mem_t &obj) |
Variables | |
std::vector< space_id_t > | flag_mismatch_spaces |
constexpr uint32_t | FSP_HEADER_OFFSET = FIL_PAGE_DATA |
Offset of the space header within a file page. More... | |
constexpr uint32_t | FSP_SDI_HEADER_LEN = 8 |
The number of bytes required to store SDI root page number(4) and SDI version(4) at Page 0. More... | |
constexpr uint32_t | FSP_SPACE_ID = 0 |
space id More... | |
constexpr uint32_t | FSP_NOT_USED = 4 |
this field contained a value up to which we know that the modifications in the database have been flushed to the file space; not used now More... | |
constexpr uint32_t | FSP_SIZE = 8 |
Current size of the space in pages. More... | |
constexpr uint32_t | FSP_FREE_LIMIT = 12 |
Minimum page number for which the free list has not been initialized: the pages >= this limit are, bydefinition, free; note that in a single-table tablespace where size < 64 pages, this number is 64, i.e.,we have initialized the space about the first extent, but have not physically allocated those pages to thefile. More... | |
constexpr uint32_t | FSP_SPACE_FLAGS = 16 |
fsp_space_t.flags, similar to dict_table_t::flags More... | |
constexpr uint32_t | FSP_FRAG_N_USED = 20 |
number of used pages in the FSP_FREE_FRAG list More... | |
constexpr uint32_t | FSP_FREE = 24 |
list of free extents More... | |
constexpr uint32_t | FSP_FREE_FRAG = 24 + FLST_BASE_NODE_SIZE |
list of partially free extents not belonging to any segment More... | |
constexpr uint32_t | FSP_FULL_FRAG = 24 + 2 * FLST_BASE_NODE_SIZE |
list of full extents not belonging to any segment More... | |
constexpr uint32_t | FSP_SEG_ID = 24 + 3 * FLST_BASE_NODE_SIZE |
8 bytes which give the first unused segment id More... | |
constexpr uint32_t | FSP_SEG_INODES_FULL = 32 + 3 * FLST_BASE_NODE_SIZE |
list of pages containing segment headers, where all the segment inode slots are reserved More... | |
constexpr uint32_t | FSP_SEG_INODES_FREE = 32 + 4 * FLST_BASE_NODE_SIZE |
list of pages containing segment headers, where not all the segment header slots are reserved More... | |
constexpr uint32_t | FSP_HEADER_SIZE = 32 + 5 * FLST_BASE_NODE_SIZE |
constexpr uint32_t | FSP_FREE_ADD = 4 |
This many free extents are added to the free list from above FSP_FREE_LIMIT at a time. More... | |
typedef byte fsp_header_t |
|
inline |
|
inline |
bool xdes_state_is_valid | ( | ulint | state | ) |
Check if the state of extent descriptor is valid.
[in] | state | the extent descriptor state |
|
extern |
|
constexpr |
number of used pages in the FSP_FREE_FRAG list
|
constexpr |
list of free extents
|
constexpr |
This many free extents are added to the free list from above FSP_FREE_LIMIT at a time.
|
constexpr |
list of partially free extents not belonging to any segment
|
constexpr |
Minimum page number for which the free list has not been initialized: the pages >= this limit are, bydefinition, free; note that in a single-table tablespace where size < 64 pages, this number is 64, i.e.,we have initialized the space about the first extent, but have not physically allocated those pages to thefile.
|
constexpr |
list of full extents not belonging to any segment
|
constexpr |
Offset of the space header within a file page.
|
constexpr |
|
constexpr |
this field contained a value up to which we know that the modifications in the database have been flushed to the file space; not used now
|
constexpr |
The number of bytes required to store SDI root page number(4) and SDI version(4) at Page 0.
|
constexpr |
8 bytes which give the first unused segment id
|
constexpr |
list of pages containing segment headers, where not all the segment header slots are reserved
|
constexpr |
list of pages containing segment headers, where all the segment inode slots are reserved
|
constexpr |
Current size of the space in pages.
|
constexpr |
fsp_space_t.flags, similar to dict_table_t::flags
|
constexpr |
space id