MySQL 5.6.14 Source Code Document
|
Go to the source code of this file.
Macros | |
#define | BUF_BUDDY_LOW_SHIFT UNIV_ZIP_SIZE_SHIFT_MIN |
#define | BUF_BUDDY_LOW (1U << BUF_BUDDY_LOW_SHIFT) |
#define | BUF_BUDDY_SIZES (UNIV_PAGE_SIZE_SHIFT - BUF_BUDDY_LOW_SHIFT) |
#define | BUF_BUDDY_SIZES_MAX |
#define | BUF_BUDDY_HIGH (BUF_BUDDY_LOW << BUF_BUDDY_SIZES) |
Typedefs | |
typedef byte | buf_frame_t |
The database buffer pool global types for the directory
Created 11/17/1995 Heikki Tuuri
Definition in file buf0types.h.
#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
Definition at line 113 of file buf0types.h.
#define BUF_BUDDY_LOW (1U << BUF_BUDDY_LOW_SHIFT) |
Smallest buddy page size
Definition at line 101 of file buf0types.h.
#define BUF_BUDDY_LOW_SHIFT UNIV_ZIP_SIZE_SHIFT_MIN |
Parameters of binary buddy system for compressed pages (buf0buddy.h) Zip shift value for the smallest page size
Definition at line 98 of file buf0types.h.
#define BUF_BUDDY_SIZES (UNIV_PAGE_SIZE_SHIFT - BUF_BUDDY_LOW_SHIFT) |
Actual number of buddy sizes based on current page size
Definition at line 104 of file buf0types.h.
#define BUF_BUDDY_SIZES_MAX |
Maximum number of buddy sizes based on the max page size
Definition at line 107 of file buf0types.h.
typedef byte buf_frame_t |
enum buf_flush_t |
Flags for flush types
Definition at line 48 of file buf0types.h.
enum buf_io_fix |
Flags for io_fix types
BUF_IO_NONE |
no pending I/O |
BUF_IO_READ |
read pending |
BUF_IO_WRITE |
write pending |
BUF_IO_PIN |
disallow relocation of block and its removal of from the flush_list |
Definition at line 69 of file buf0types.h.
enum buf_remove_t |
Algorithm to remove the pages for a tablespace from the buffer pool.
See buf_LRU_flush_or_remove_pages().
Definition at line 59 of file buf0types.h.
Alternatives for srv_checksum_algorithm, which can be changed by
setting innodb_checksum_algorithm
Definition at line 80 of file buf0types.h.