Comments - online indexing using mariadb 10.4 and innodb?

4 years, 6 months ago Marko Mäkelä

At the start and end of an ALTER TABLE or CREATE INDEX or DROP INDEX or similar operation, the table will be locked exclusively, that is, any active transactions that may have accessed the table must be committed or aborted for the operation to continue. It is called ‘online’ ALTER TABLE because during time-consuming operations (creating secondary indexes, or rebuilding the table and all its indexes), concurrent modifications are allowed. https://mariadb.com/kb/en/library/innodb-online-ddl-overview/#alter-locking-strategies has been updated to make this clearer.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.