MySQL 8.4.2
Source Code Documentation
arch0page.cc File Reference

Innodb implementation for page archive. More...

#include "arch0page.h"
#include "arch0recv.h"
#include "clone0clone.h"
#include "log0buf.h"
#include "log0chkp.h"
#include "srv0start.h"

Functions

void page_archiver_thread ()
 Archiver background thread. More...
 
bool wait_flush_archiver (Page_Wait_Flush_Archiver_Cbk cbk_func)
 

Variables

uint ARCH_PAGE_FILE_CAPACITY
 Archived page file default size in number of blocks. More...
 
uint ARCH_PAGE_FILE_DATA_CAPACITY
 Archived page data file size (without header) in number of blocks. More...
 
os_event_t page_archiver_thread_event
 Event to signal the page archiver thread. More...
 

Detailed Description

Innodb implementation for page archive.

Function Documentation

◆ page_archiver_thread()

void page_archiver_thread ( )

Archiver background thread.

Page archiver background thread.

◆ wait_flush_archiver()

bool wait_flush_archiver ( Page_Wait_Flush_Archiver_Cbk  cbk_func)

Variable Documentation

◆ ARCH_PAGE_FILE_CAPACITY

uint ARCH_PAGE_FILE_CAPACITY
Initial value:
=
constexpr uint ARCH_PAGE_BLK_SIZE
Memory block size.
Definition: arch0arch.h:91
constexpr uint ARCH_BLK_PAGE_ID_SIZE
Serialized page ID: Total length.
Definition: arch0page.h:126
constexpr uint ARCH_PAGE_BLK_HEADER_LENGTH
Block Header: Total length.
Definition: arch0page.h:93

Archived page file default size in number of blocks.

◆ ARCH_PAGE_FILE_DATA_CAPACITY

uint ARCH_PAGE_FILE_DATA_CAPACITY
Initial value:
=
uint ARCH_PAGE_FILE_CAPACITY
Archived page file default size in number of blocks.
Definition: arch0page.cc:42
constexpr uint ARCH_PAGE_FILE_NUM_RESET_PAGE
Archived page header file size (RESET Page) in number of blocks.
Definition: arch0page.h:40

Archived page data file size (without header) in number of blocks.

◆ page_archiver_thread_event

os_event_t page_archiver_thread_event

Event to signal the page archiver thread.

Archiver thread event to signal that data is available.