InnoDB Online DDL Operations with ALGORITHM=NOCOPY

You are viewing an old version of this article. View the current version here.

Currently, the following operations are supported by InnoDB for ALGORITHM=NOCOPY:

  • Adding a non-primary index.

The following will change data files (ADD INDEX), but not rebuild the table:

CREATE TABLE t1 (a INT, e ENUM ('red','green'));
ALTER TABLE t ADD INDEX(b), ALGORITHM=NOCOPY;

Comments

Comments loading...
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.