github / github/gh-ost

Suggestion: Ability to run multiple alters on a single table

Open
#688 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
13.6k
Forks
1.4k
Avg merge
2h 31m
Merged PRs (30d)
4

Description

The feature should be added to allow multiple --alter flags for a single table. This is particularly useful for alters around things such as partitioning, which cannot be done with other alters.

For example, I am currently doing multiple alters on a partitioned table. One to add a new index and another to remove partitioning. If I could specify multiple alters, I could do one to add the index and another to remove partitioning. The end result would be the same as if I ran two separate alters through gh-ost, but would make it so that only one would need to be done.

In the situation I am in now, the alters are estimated to take about 6 days, so being able to group them would be very beneficial.

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.