github / github/gh-ost

FR be able to run several alter table in series (or pass a create table statement)

Open
#476 10 comments 0 reactions 1 assignee Claimed by @shlomi-noach View on GitHub
Dominant language
Go
Stars
13.6k
Forks
1.4k
Avg merge
2h 31m
Merged PRs (30d)
4

Description

Due to MySQL and MariaDB issues in ALTER TABLE, it is sometimes not possible to run all ALTER commands as a single ALTER TABLE. It is required to run several of them,

Examples :
https://bugs.mysql.com/bug.php?id=78891

But also
https://jira.mariadb.org/browse/MDEV-9548

Please note that Facebook osc version solves this problem by giving the new CREATE TABLE which solves all kind of similar issues. see https://github.com/facebookincubator/OnlineSchemaChange (copy mode)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.