MySQL Knowledge points

Source: Internet
Author: User

I. Characteristics of a transaction

Atomicity, consistency, isolation, persistence

Second, the isolation level of the transaction

1. Non-submitted reading (read uncommitpeatableted)

Infamous dirty read, other transactions uncommitted, still readable to

2, submit read RC (Committed)

2.1. The transaction will establish a read View each time the read operation is done.

2.2. Only read committed transactions are allowed, but multiple queries in one transaction may result in different results, which are also known as non-repeatable reads.

3. REPEATABLE Read RR (Repeat read)

3.1. During the first read operation, the transaction will establish a read View

3.2, mysq the InnoDB default isolation level, in the same transaction, continuous same read reads to the same result set

4, serialization (Serializable)

Table lock

Third, MVCC (multi-version concurrency control)

Cond.....

Resources:

MySQL Lock

Isolation level

B + Tree

MySQL Knowledge points

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.