Metadata Locking
Understand how MariaDB manages concurrency. Metadata locks protect the structure of database objects from being modified while they are in use.
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transactionCREATE TABLE t (a INT) ENGINE = MEMORY;START TRANSACTION;
INSERT INTO t SET a=1;ALTER TABLE t ADD COLUMN b INT;COMMIT;Query OK, 1 row affected (35.23 sec)
Records: 1 Duplicates: 0 Warnings: 0Last updated
Was this helpful?

