MySQL  8.0.17
Source Code Documentation
KEY_CACHE Struct Reference

#include <keycache.h>

Public Attributes

bool key_cache_inited
 
bool in_resize
 
bool resize_in_flush
 
bool can_be_used
 
size_t key_cache_mem_size
 
uint key_cache_block_size
 
ulonglong min_warm_blocks
 
ulonglong age_threshold
 
ulonglong keycache_time
 
uint hash_entries
 
int hash_links
 
int hash_links_used
 
int disk_blocks
 
ulong blocks_used
 
ulong blocks_unused
 
ulong blocks_changed
 
ulong warm_blocks
 
ulong cnt_for_resize_op
 
long blocks_available
 
HASH_LINK ** hash_root
 
HASH_LINKhash_link_root
 
HASH_LINKfree_hash_list
 
BLOCK_LINKfree_block_list
 
BLOCK_LINKblock_root
 
ucharblock_mem
 
BLOCK_LINKused_last
 
BLOCK_LINKused_ins
 
mysql_mutex_t cache_lock
 
KEYCACHE_WQUEUE resize_queue
 
KEYCACHE_WQUEUE waiting_for_resize_cnt
 
KEYCACHE_WQUEUE waiting_for_hash_link
 
KEYCACHE_WQUEUE waiting_for_block
 
BLOCK_LINKchanged_blocks [CHANGED_BLOCKS_HASH]
 
BLOCK_LINKfile_blocks [CHANGED_BLOCKS_HASH]
 
ulonglong param_buff_size
 
ulonglong param_block_size
 
ulonglong param_division_limit
 
ulonglong param_age_threshold
 
ulong global_blocks_changed
 
ulonglong global_cache_w_requests
 
ulonglong global_cache_write
 
ulonglong global_cache_r_requests
 
ulonglong global_cache_read
 
int blocks
 
bool in_init
 

Member Data Documentation

◆ age_threshold

ulonglong KEY_CACHE::age_threshold

◆ block_mem

uchar* KEY_CACHE::block_mem

◆ block_root

BLOCK_LINK* KEY_CACHE::block_root

◆ blocks

int KEY_CACHE::blocks

◆ blocks_available

long KEY_CACHE::blocks_available

◆ blocks_changed

ulong KEY_CACHE::blocks_changed

◆ blocks_unused

ulong KEY_CACHE::blocks_unused

◆ blocks_used

ulong KEY_CACHE::blocks_used

◆ cache_lock

mysql_mutex_t KEY_CACHE::cache_lock

◆ can_be_used

bool KEY_CACHE::can_be_used

◆ changed_blocks

BLOCK_LINK* KEY_CACHE::changed_blocks[CHANGED_BLOCKS_HASH]

◆ cnt_for_resize_op

ulong KEY_CACHE::cnt_for_resize_op

◆ disk_blocks

int KEY_CACHE::disk_blocks

◆ file_blocks

BLOCK_LINK* KEY_CACHE::file_blocks[CHANGED_BLOCKS_HASH]

◆ free_block_list

BLOCK_LINK* KEY_CACHE::free_block_list

◆ free_hash_list

HASH_LINK* KEY_CACHE::free_hash_list

◆ global_blocks_changed

ulong KEY_CACHE::global_blocks_changed

◆ global_cache_r_requests

ulonglong KEY_CACHE::global_cache_r_requests

◆ global_cache_read

ulonglong KEY_CACHE::global_cache_read

◆ global_cache_w_requests

ulonglong KEY_CACHE::global_cache_w_requests

◆ global_cache_write

ulonglong KEY_CACHE::global_cache_write

◆ hash_entries

uint KEY_CACHE::hash_entries

◆ hash_link_root

HASH_LINK* KEY_CACHE::hash_link_root

◆ hash_links

int KEY_CACHE::hash_links

◆ hash_links_used

int KEY_CACHE::hash_links_used

◆ hash_root

HASH_LINK** KEY_CACHE::hash_root

◆ in_init

bool KEY_CACHE::in_init

◆ in_resize

bool KEY_CACHE::in_resize

◆ key_cache_block_size

uint KEY_CACHE::key_cache_block_size

◆ key_cache_inited

bool KEY_CACHE::key_cache_inited

◆ key_cache_mem_size

size_t KEY_CACHE::key_cache_mem_size

◆ keycache_time

ulonglong KEY_CACHE::keycache_time

◆ min_warm_blocks

ulonglong KEY_CACHE::min_warm_blocks

◆ param_age_threshold

ulonglong KEY_CACHE::param_age_threshold

◆ param_block_size

ulonglong KEY_CACHE::param_block_size

◆ param_buff_size

ulonglong KEY_CACHE::param_buff_size

◆ param_division_limit

ulonglong KEY_CACHE::param_division_limit

◆ resize_in_flush

bool KEY_CACHE::resize_in_flush

◆ resize_queue

KEYCACHE_WQUEUE KEY_CACHE::resize_queue

◆ used_ins

BLOCK_LINK* KEY_CACHE::used_ins

◆ used_last

BLOCK_LINK* KEY_CACHE::used_last

◆ waiting_for_block

KEYCACHE_WQUEUE KEY_CACHE::waiting_for_block

◆ waiting_for_hash_link

KEYCACHE_WQUEUE KEY_CACHE::waiting_for_hash_link

◆ waiting_for_resize_cnt

KEYCACHE_WQUEUE KEY_CACHE::waiting_for_resize_cnt

◆ warm_blocks

ulong KEY_CACHE::warm_blocks

The documentation for this struct was generated from the following file: