MySQL Source Series: 1: The Spy article

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.