My Oracle Support Banner

How does Locking Work in the MySQL Server? (Doc ID 1375282.1)

Last updated on SEPTEMBER 04, 2023

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.


Learn about the various types of locking used in the MySQL Server.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Lock Types
 Table Level Locks
 Global Read Lock
 Row Level Locks
 Metadata Locks
 External Locks
 Concurrent Inserts

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.