Skip to content

Can i use gh-ost to migrate uuid fields from char(36) to binary(18) #1533

Open
@erfanium

Description

@erfanium

I want to migrate our UUID columns (or other hex columns) to the binary data type in MySQL, with minimal downtime.

My first idea was to create ghost tables manually and keep them in sync with the original table using triggers. But I wonder if I can go triggerless and use binary logs instead.

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