X. Introduction to MySQL Affairs

Source: Internet
Author: User

1.    MyISAM with memory support table level lock    BDB page level     lock 2. Table lock (not cousin) lock table    read   // read-only table lock, This means that after the lock is executed, the operation in the lock can only be read for the    select * from ...    unlock tables;        Lock  Tablewrite// read-write table lock, readable writable     Insert ...    Update ...    Select ...    Delete ...    unlock tables;        PS:: After the table is locked, other connected operations will be suspended until the locked connection is unlocked, and if the TM has been unlocked, it will be ruined !!! 3. Business     | | start transaction    | | Commit COMMIT TRANSACTION        PS: If you are performing a Mysiam table lock operation, but you have opened the transaction during the table lock, the lock will be executed unlock, which requires attention    

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.