Skip to content

Be careful recommending INPLACE DDL #18

@morgo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions