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

#include <log0log.h>

Public Attributes

ulint id
ulint n_files
lsn_t file_size
ulint space_id
ulint state
lsn_t lsn
lsn_t lsn_offset
ulint n_pending_writes
byte ** file_header_bufs_ptr
byte ** file_header_bufs
lsn_t scanned_lsn
byte * checkpoint_buf_ptr
byte * checkpoint_buf
 log_groups

Detailed Description

Log group consists of a number of log files, each of the same size; a log

group is implemented as a space in the sense of the module fil0fil.

Definition at line 685 of file log0log.h.

Member Data Documentation

byte* log_group_t::checkpoint_buf

checkpoint header is written from this buffer to the group

Definition at line 730 of file log0log.h.

byte* log_group_t::checkpoint_buf_ptr

unaligned checkpoint header

Definition at line 729 of file log0log.h.

byte** log_group_t::file_header_bufs

buffers for each file header in the group

Definition at line 701 of file log0log.h.

byte** log_group_t::file_header_bufs_ptr

unaligned buffers

Definition at line 700 of file log0log.h.

lsn_t log_group_t::file_size

individual log file size in bytes, including the log file header

Definition at line 689 of file log0log.h.

ulint log_group_t::id

log group id

Definition at line 687 of file log0log.h.

log_group_t::log_groups

list of log groups

Definition at line 733 of file log0log.h.

lsn_t log_group_t::lsn

lsn used to fix coordinates within the log group

Definition at line 695 of file log0log.h.

lsn_t log_group_t::lsn_offset

the offset of the above lsn

Definition at line 697 of file log0log.h.

ulint log_group_t::n_files

number of files in the group

Definition at line 688 of file log0log.h.

ulint log_group_t::n_pending_writes

number of currently pending flush writes for this log group

Definition at line 698 of file log0log.h.

lsn_t log_group_t::scanned_lsn

used only in recovery: recovery scan succeeded up to this lsn in this log group

Definition at line 726 of file log0log.h.

ulint log_group_t::space_id

file space which implements the log group

Definition at line 691 of file log0log.h.

ulint log_group_t::state

LOG_GROUP_OK or LOG_GROUP_CORRUPTED

Definition at line 693 of file log0log.h.


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