How MySQL's InnoDB storage engine works, data structures, etc.

Source: Internet
Author: User

First on the InnoDB frame composition:

The top-down sequence is the memory area structure, background thread, operating system, disk storage, log files and so on.

Where memory consists of buffer pool, additional buffer pool, log buffer pool. Where the buffer pool is structured as follows:

In the disk storage file, the MyISAM storage engine uses metadata, data, index three points of the file storage method, and InnoDB with metadata, data (= index) way to store, this is mainly due to the InnoDB using B + tree structure implementation. So we see in the architecture diagram that the stored table1 contains primary key& data. Its structure such as

For a innodb of this storage structure and its impact on indexes, see: How MySQL MyISAM and InnoDB are indexed.

Reference:

Http://blog.codinglabs.org/articles/theory-of-mysql-index.html

http://blog.csdn.net/liuxinmingcode/article/details/8871912

http://blog.itpub.net/12679300/viewspace-1410437/

http://caisangzi.blog.51cto.com/6387416/1317469

How MySQL's InnoDB storage engine works, data structures, etc.

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.