My Oracle Support Banner

How to Use FLUSH TABLES WITH READ LOCK With a Subset of Tables? (Doc ID 2012654.1)

Last updated on MARCH 08, 2017

Applies to:

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


When using the statement

it will lock all tables in the whole MySQL instance.

Learn how to use FLUSH TABLES WITH READ LOCK to lock only a subset of the tables, for example all tables in a specific database.


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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.