I have a question regarding MySQL locking and transaction management. My Question is ..does mysql takes lock on the the tuple/table on which I am doing select/update in a transaction ?
Tell me more
×
Database Administrators Stack Exchange is a question and answer site for
database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
|
With MyISAM, you can use the With InnoDB, the rules are:
This is probably not a thorough list, but should get you the general picture. |
|||
|
|
MYISAMEach INSERT, UPDATE, and DELETE performs a full table lock before perform in the SQL command. InnoDBMySQL's ACID-compliant storage engine, InnoDB performs row-level (tuple-level) locking. InnoDB performs MVCC to support transaction isolation. The level for Transaction Isolation in InnoDB are There are other posts I have for to look over to see how InnoDB and MyISAM differ
|
||||
|
|