1: Download the source code
Http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.25.tar.gz
http://dev.mysql.com/downloads/mysql/
2: The root directory structure after decompression
Directory structure of the 3:INNODB storage engine:
Mysql-5.6.25\storage\innobase
4: Directory Introduction
The implementation of the btr:b+ tree.
BUF: Buffer pool implementation, including LRU algorithm, flush refresh algorithm and so on.
Dict:innodb the implementation of the memory data dictionary for the storage Engine.
Dyn:innodb the implementation of a dynamic array of storage engines.
Fil:innodb the file data structure in the storage engine and some operations on the file.
FSP: Can be understood as file space, which is the management of the physical files of the InnoDB storage engine, such as pages, extents, segments, etc.
HA: the implementation of the hashing algorithm.
Handler: inherited from MySQL's handler, plug-in storage engine implementation.
IBUF: The implementation of the insert buffer.
Include:innodb Place the header file (. h. ic) files in this folder.
Lock:innodb the implementation of storage engine locks, such as s-locks, X-locks, and some column algorithms that define locks.
LOG: The implementation of journal buffering and reassembly log files.
MEM: The implementation of the secondary buffer pool. The memory used to request some data structures.
MTR: The underlying realization of things.
OS: Encapsulates some operations on the operating system.
Page: The implementation of the pages.
Row: Operation for various types of row data.
SRV: Design for INNODB storage engine parameters.
Implementation of SYNC:INNODB storage engine mutex (mutex)
TRX: The realization of things
UT: Tool class
MySQL Source Series: 1: The Spy article