MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
buf_page_info_t Struct Reference

Public Attributes

ulint block_id
unsigned space_id:32
unsigned page_num:32
unsigned access_time:32
unsigned pool_id:MAX_BUFFER_POOLS_BITS
unsigned flush_type:2
unsigned io_fix:2
unsigned fix_count:19
unsigned hashed:1
unsigned is_old:1
unsigned freed_page_clock:31
unsigned zip_ssize:PAGE_ZIP_SSIZE_BITS
unsigned page_state:BUF_PAGE_STATE_BITS
unsigned page_type:4
unsigned num_recs:UNIV_PAGE_SIZE_SHIFT_MAX-2
unsigned data_size:UNIV_PAGE_SIZE_SHIFT_MAX
lsn_t newest_mod
lsn_t oldest_mod
index_id_t index_id

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

Definition at line 106 of file i_s.cc.

Member Data Documentation

unsigned buf_page_info_t::access_time

Time of first access

Definition at line 110 of file i_s.cc.

ulint buf_page_info_t::block_id

Buffer Pool block ID

Definition at line 107 of file i_s.cc.

unsigned buf_page_info_t::data_size

Sum of the sizes of the records

Definition at line 131 of file i_s.cc.

unsigned buf_page_info_t::fix_count

Count of how manyfold this block is bufferfixed

Definition at line 116 of file i_s.cc.

unsigned buf_page_info_t::flush_type

Flush type

Definition at line 114 of file i_s.cc.

unsigned buf_page_info_t::freed_page_clock

the value of buf_pool->freed_page_clock

Definition at line 122 of file i_s.cc.

unsigned buf_page_info_t::hashed

Whether hash index has been built on this page

Definition at line 118 of file i_s.cc.

index_id_t buf_page_info_t::index_id

Index ID if a index page

Definition at line 136 of file i_s.cc.

unsigned buf_page_info_t::io_fix

type of pending I/O operation

Definition at line 115 of file i_s.cc.

unsigned buf_page_info_t::is_old

TRUE if the block is in the old blocks in buf_pool->LRU_old

Definition at line 120 of file i_s.cc.

lsn_t buf_page_info_t::newest_mod

Log sequence number of the youngest modification

Definition at line 132 of file i_s.cc.

unsigned buf_page_info_t::num_recs

Number of records on Page

Definition at line 129 of file i_s.cc.

lsn_t buf_page_info_t::oldest_mod

Log sequence number of the oldest modification

Definition at line 134 of file i_s.cc.

unsigned buf_page_info_t::page_num

Page number/offset

Definition at line 109 of file i_s.cc.

unsigned buf_page_info_t::page_state

Page state

Definition at line 126 of file i_s.cc.

unsigned buf_page_info_t::page_type

Page type

Definition at line 127 of file i_s.cc.

unsigned buf_page_info_t::pool_id

Buffer Pool ID. Must be less than MAX_BUFFER_POOLS

Definition at line 112 of file i_s.cc.

unsigned buf_page_info_t::space_id

Tablespace ID

Definition at line 108 of file i_s.cc.

unsigned buf_page_info_t::zip_ssize

Compressed page size

Definition at line 125 of file i_s.cc.


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