Skip to content

Be careful recommending INPLACE DDL #18

Description

@morgo

From the MySQL skill:

Use online DDL (ALGORITHM=INPLACE) when possible; test on replicas first.

INPLACE blocks InnoDB purge (bug) and requires enough temporary space to run. When it runs out of space, it's not resumable.

There are only a subset of INPLACE operations which are safe. You can use a parser to find these (example), or if not, I would recommend against it.

No issues with INSTANT.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions