MySQL 8.4.2
Source Code Documentation
dict_persist_t::Enable_immediate Class Reference

Write dynamic metadata to DD buffer table immediately when such data is generated. More...

#include <dict0dict.h>

Public Member Functions

 Enable_immediate (dict_persist_t *persister)
 Constructor to immediate persisting mode. More...
 
 ~Enable_immediate ()
 Destructor to switch back to default mode. More...
 
 Enable_immediate (Enable_immediate const &)=delete
 Disable copy construction. More...
 
Enable_immediateoperator= (Enable_immediate const &)=delete
 Disable assignment. More...
 

Private Attributes

dict_persist_tm_persister
 Dictionary persister. More...
 

Detailed Description

Write dynamic metadata to DD buffer table immediately when such data is generated.

By default, the metadata is first written to redo log and then to the DD buffer table during checkpoint. This is going to hurt auto increment performance and Currently enabled by clone for short time to eliminate dependency with dynamic metadata recovered from redo log.

Constructor & Destructor Documentation

◆ Enable_immediate() [1/2]

dict_persist_t::Enable_immediate::Enable_immediate ( dict_persist_t persister)

Constructor to immediate persisting mode.

Parameters
[in,out]persisterdictionary persister

◆ ~Enable_immediate()

dict_persist_t::Enable_immediate::~Enable_immediate ( )

Destructor to switch back to default mode.

◆ Enable_immediate() [2/2]

dict_persist_t::Enable_immediate::Enable_immediate ( Enable_immediate const &  )
delete

Disable copy construction.

Member Function Documentation

◆ operator=()

Enable_immediate & dict_persist_t::Enable_immediate::operator= ( Enable_immediate const &  )
delete

Disable assignment.

Member Data Documentation

◆ m_persister

dict_persist_t* dict_persist_t::Enable_immediate::m_persister
private

Dictionary persister.


The documentation for this class was generated from the following files: