Skip to content

[Enhancement Request] Online DDL Should't Copy Whole Table Data In Some Simple Case #565

Description

@newborn22

Background

Online ddl will copy the whole table data when renaming a column.

set @@ddl_strategy='online';
alter table mysql.t1 rename column username to user_name;

Proposal

Identify these cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    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