InnoDB Logical Storage

Source: Internet
Author: User

InnodbLogical Storage

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/83/42/wKiom1duQjrQy1BwAAIv5uQNlmk338.png-wh_500x0-wm_3 -wmp_4-s_3192428505.png "title=" 1.png "alt=" Wkiom1duqjrqy1bwaaiv5uqnlmk338.png-wh_50 "/>

Segment: Data segment, rollback segment ...

Extent: A extent page , a large segment can apply for 4 extent

Page: A page 16k, a extent16*64=1024k=1m

Segment: like Oracle , in a way, a segment can be understood as a table

Bufferand thePageRelationship
    1. Buffer interacts data from the data file into memory in page (conservative attitude);

    2. MySQL is also divided into physical reading and logical reading, similar to Oracle ;

    3. Page interacts in memory, a page corresponds to a buffer,[ Note in the terminology ];

    4. Buffer divided into free[ never used ],clean[ and data files in consistency ],dirty[ Inconsistent with data in data file ]

Memory Chain Management
    1. Freelist corresponds to free buffer;

    2. Flushlist corresponds to dirty buffer, need to be refreshed;

    3. Lrulist corresponds to Cleanbuffer, pay attention to hit ratio;

    4. List linked list, which can be used from the back to the rear.


This article is from the "90SirDB" blog, be sure to keep this source http://90sirdb.blog.51cto.com/8713279/1792870

InnoDB Logical Storage

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.