MySQL 8.0.39
Source Code Documentation
ibuf_t Struct Reference

Insert buffer struct. More...

Public Attributes

ulint size
 current size of the ibuf index tree, in pages More...
 
ulint max_size
 recommended maximum size of the ibuf index tree, in pages More...
 
ulint seg_size
 allocated pages of the file segment containing ibuf header and tree More...
 
bool empty
 Protected by the page latch of the root page of the insert buffer tree (FSP_IBUF_TREE_ROOT_PAGE_NO). More...
 
ulint free_list_len
 length of the free list More...
 
ulint height
 tree height More...
 
dict_index_tindex
 insert buffer index More...
 
std::atomic< ulintn_merges
 number of pages merged More...
 
std::atomic< ulintn_merged_ops [IBUF_OP_COUNT]
 number of operations of each type merged to index pages More...
 
std::atomic< ulintn_discarded_ops [IBUF_OP_COUNT]
 number of operations of each type discarded without merging due to the tablespace being deleted or the index being dropped More...
 

Detailed Description

Insert buffer struct.

Member Data Documentation

◆ empty

bool ibuf_t::empty

Protected by the page latch of the root page of the insert buffer tree (FSP_IBUF_TREE_ROOT_PAGE_NO).

true if and only if the insert buffer tree is empty.

◆ free_list_len

ulint ibuf_t::free_list_len

length of the free list

◆ height

ulint ibuf_t::height

tree height

◆ index

dict_index_t* ibuf_t::index

insert buffer index

◆ max_size

ulint ibuf_t::max_size

recommended maximum size of the ibuf index tree, in pages

◆ n_discarded_ops

std::atomic<ulint> ibuf_t::n_discarded_ops[IBUF_OP_COUNT]

number of operations of each type discarded without merging due to the tablespace being deleted or the index being dropped

◆ n_merged_ops

std::atomic<ulint> ibuf_t::n_merged_ops[IBUF_OP_COUNT]

number of operations of each type merged to index pages

◆ n_merges

std::atomic<ulint> ibuf_t::n_merges

number of pages merged

◆ seg_size

ulint ibuf_t::seg_size

allocated pages of the file segment containing ibuf header and tree

◆ size

ulint ibuf_t::size

current size of the ibuf index tree, in pages


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