MySQL 8.0.39
Source Code Documentation
page_cleaner_t Struct Reference

Page cleaner structure common for all threads. More...

Public Attributes

ib_mutex_t mutex
 mutex to protect whole of page_cleaner_t struct and page_cleaner_slot_t slots. More...
 
os_event_t is_requested
 event to activate worker threads. More...
 
os_event_t is_finished
 event to signal that all slots were finished. More...
 
bool requested
 true if requested pages to flush More...
 
lsn_t lsn_limit
 upper limit of LSN to be flushed More...
 
ulint n_slots
 total number of slots More...
 
ulint n_slots_requested
 number of slots in the state PAGE_CLEANER_STATE_REQUESTED More...
 
ulint n_slots_flushing
 number of slots in the state PAGE_CLEANER_STATE_FLUSHING More...
 
ulint n_slots_finished
 number of slots in the state PAGE_CLEANER_STATE_FINISHED More...
 
std::chrono::milliseconds flush_time
 elapsed time to flush requests for all slots More...
 
ulint flush_pass
 count to finish to flush requests for all slots More...
 
ut::unique_ptr< page_cleaner_slot_t[]> slots
 pointer to the slots More...
 
bool is_running
 false if attempt to shutdown More...
 
ulint n_disabled_debug
 how many of pc threads have been disabled More...
 

Detailed Description

Page cleaner structure common for all threads.

Member Data Documentation

◆ flush_pass

ulint page_cleaner_t::flush_pass

count to finish to flush requests for all slots

◆ flush_time

std::chrono::milliseconds page_cleaner_t::flush_time

elapsed time to flush requests for all slots

◆ is_finished

os_event_t page_cleaner_t::is_finished

event to signal that all slots were finished.

◆ is_requested

os_event_t page_cleaner_t::is_requested

event to activate worker threads.

◆ is_running

bool page_cleaner_t::is_running

false if attempt to shutdown

◆ lsn_limit

lsn_t page_cleaner_t::lsn_limit

upper limit of LSN to be flushed

◆ mutex

ib_mutex_t page_cleaner_t::mutex

mutex to protect whole of page_cleaner_t struct and page_cleaner_slot_t slots.

◆ n_disabled_debug

ulint page_cleaner_t::n_disabled_debug

how many of pc threads have been disabled

◆ n_slots

ulint page_cleaner_t::n_slots

total number of slots

◆ n_slots_finished

ulint page_cleaner_t::n_slots_finished

number of slots in the state PAGE_CLEANER_STATE_FINISHED

◆ n_slots_flushing

ulint page_cleaner_t::n_slots_flushing

number of slots in the state PAGE_CLEANER_STATE_FLUSHING

◆ n_slots_requested

ulint page_cleaner_t::n_slots_requested

number of slots in the state PAGE_CLEANER_STATE_REQUESTED

◆ requested

bool page_cleaner_t::requested

true if requested pages to flush

◆ slots

ut::unique_ptr<page_cleaner_slot_t[]> page_cleaner_t::slots

pointer to the slots


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