MySQL lock mechanism/management (concurrency lock, row lock, table lock, pre-lock, global lock, etc)

Source: Internet
Author: User
MySQL Lab 1 .? MySQL concurrency and Isolation Control Mechanism Meta-data metadata lock: Implemented in the tablecache cache, provides isolation operations for DDL (DataDefinitionLanguage. A special meta-data metadata type called NameLock. (SQL layer) table-level data lock (SQL layer) storage engine-specific mechanism ro

MySQL Lab 1 .? MySQL concurrency and Isolation Control Mechanism Meta-data metadata lock: Implemented in the table cache, provides isolation operations for DDL (Data Definition Language. A special meta-data metadata type called Name Lock. (SQL layer) table-level data lock (SQL layer) storage engine-specific mechanism ro

MySQL lab

1 .? MySQLConcurrency and Isolation Control Mechanism

  • Meta-data metadata lock: Implemented in the table cache and provides isolation for DDL (Data Definition Language. A special meta-data metadata type called Name Lock. (SQL layer)
  • Table-level data lock (SQL layer)
  • Storage engine-specific mechanisms-row locks, page locks, table locks, Version Control (implemented in the engine)
  • Global read lock-flush tables with read lock (SQL layer)

(...)
Read the full text of MySQL lock mechanism/management (concurrency lock, row lock, table lock, pre-lock, global lock, etc.) (1,324 words)

? Tan junqing published a study on MySQL performance, MySQL Cluster, and MySQL HA High Availability-MySQL laboratory, 2010.
The source and author information of an article can be reproduced at will.
Link: http://www.mysqlab.net/blog/2010/09/mysql-lock-management/

Tags: InnoDB, lock, metadata, Table cache

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.