Getting Started 01

Source: Internet
Author: User

Enging=innodb

InnoDb is one of MySQL's database engines, and the biggest envoy is the acid-compatible thing (Transaction) feature, similar to Postersql

ACID: An abbreviation for four basic elements that the database thing is correctly executed

A atomicity: atomicity: Beauty: [?? T?m '? S?ti]

The whole process of your execution is either complete or complete. If an error occurs during execution, it is rolled back to the state it was in before the thing started, and no action was taken on the data.

C Conformance: Consistency

is protection and invariance. The overall status of the data can not be changed, for example, I have 100 yuan, you have 100 yuan, add up the total is 200 yuan, can not say I transferred to you 50, two of the total account has become 150 yuan.

I isolation: Isolation

Only one request processes the same data at the same time.

D Persistence: Durability

After the whole thing is done, changes made to the database are persisted in the database and will not be rolled back.

============== There are two ways to achieve acid: the first is write ahead logging that is, the way the logs are (modern databases are based on this approach) the central idea of Wal is that modifications to the data file must be done after the log records are flushed to the permanent storage.

The second type is SHADW paging.

Getting Started 01

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.