--lock-all-tables (-x)

This is a command-line option for the mariadb-dump & mysqldump commands.

Locks all tables across all databases. This is achieved by taking a global read lock for the duration of the whole dump. Automatically turns --single-transaction and --lock-tables off.

See also: Options for mariadb-dump & mysqldump in MariaDB Enterprise Server 10.5 and in 10.4 ES

CHANGE HISTORY

Release Series

History

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES