MySQL 8.0.32
Source Code Documentation
buf_page_info_t Struct Reference

This structure defines information we will fetch from pages currently cached in the buffer pool. More...

Public Attributes

size_t block_id
 Buffer Pool block ID. More...
 
space_id_t space_id
 Tablespace ID. More...
 
page_no_t page_num
 Page number, translating to offset in tablespace file. More...
 
lsn_t newest_mod
 Log sequence number of the most recent modification. More...
 
lsn_t oldest_mod
 Log sequence number of the oldest modification. More...
 
space_index_t index_id
 Index ID if a index page. More...
 
uint32_t access_time
 Time of first access. More...
 
uint32_t fix_count
 Count of how many-fold this block is buffer-fixed. More...
 
uint32_t freed_page_clock
 The value of buf_pool->freed_page_clock. More...
 
uint32_t num_recs: UNIV_PAGE_SIZE_SHIFT_MAX - 2
 Number of records on the page. More...
 
uint32_t data_size: UNIV_PAGE_SIZE_SHIFT_MAX
 Sum of the sizes of the records. More...
 
uint16_t is_stale: 1
 True if the page was already stale - a page from a already deleted tablespace. More...
 
uint16_t flush_type: 2
 Last flush request type. More...
 
uint16_t io_fix: 2
 Type of pending I/O operation. More...
 
uint16_t hashed: 1
 Whether hash index has been built on this page. More...
 
uint16_t is_old: 1
 True if the block is in the old blocks in buf_pool->LRU_old. More...
 
uint16_t zip_ssize: PAGE_ZIP_SSIZE_BITS
 Compressed page size. More...
 
uint8_t pool_id
 Buffer Pool ID. More...
 
buf_page_state page_state
 Page state. More...
 
uint8_t page_type
 Page type. More...
 

Detailed Description

This structure defines information we will fetch from pages currently cached in the buffer pool.

It will be used to populate table INFORMATION_SCHEMA.INNODB_BUFFER_PAGE

Member Data Documentation

◆ access_time

uint32_t buf_page_info_t::access_time

Time of first access.

◆ block_id

size_t buf_page_info_t::block_id

Buffer Pool block ID.

◆ data_size

uint32_t buf_page_info_t::data_size

Sum of the sizes of the records.

◆ fix_count

uint32_t buf_page_info_t::fix_count

Count of how many-fold this block is buffer-fixed.

◆ flush_type

uint16_t buf_page_info_t::flush_type

Last flush request type.

◆ freed_page_clock

uint32_t buf_page_info_t::freed_page_clock

The value of buf_pool->freed_page_clock.

◆ hashed

uint16_t buf_page_info_t::hashed

Whether hash index has been built on this page.

◆ index_id

space_index_t buf_page_info_t::index_id

Index ID if a index page.

◆ io_fix

uint16_t buf_page_info_t::io_fix

Type of pending I/O operation.

◆ is_old

uint16_t buf_page_info_t::is_old

True if the block is in the old blocks in buf_pool->LRU_old.

◆ is_stale

uint16_t buf_page_info_t::is_stale

True if the page was already stale - a page from a already deleted tablespace.

◆ newest_mod

lsn_t buf_page_info_t::newest_mod

Log sequence number of the most recent modification.

◆ num_recs

uint32_t buf_page_info_t::num_recs

Number of records on the page.

◆ oldest_mod

lsn_t buf_page_info_t::oldest_mod

Log sequence number of the oldest modification.

◆ page_num

page_no_t buf_page_info_t::page_num

Page number, translating to offset in tablespace file.

◆ page_state

buf_page_state buf_page_info_t::page_state

Page state.

◆ page_type

uint8_t buf_page_info_t::page_type

Page type.

◆ pool_id

uint8_t buf_page_info_t::pool_id

Buffer Pool ID.

Must be less than MAX_BUFFER_POOLS.

◆ space_id

space_id_t buf_page_info_t::space_id

Tablespace ID.

◆ zip_ssize

uint16_t buf_page_info_t::zip_ssize

Compressed page size.


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