Which Locks Does OPTIMIZE TABLE Take?

(Doc ID 1910515.1)

Last updated on MARCH 08, 2017

Applies to:

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


Learn what the impact of executing OPTIMIZE TABLE is for InnoDB and MyISAM tables in terms of locking.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms