Open umutm opened 7 years ago
@umutm Not yet. You will note we projected this, see https://speakerdeck.com/shlominoach/githubs-online-schema-migrations-for-mysql#33, but we're not actively working on this, and it's on our that-would-be-awesome-but-not-for-immediate-use roadmap.
@shlomi-noach Sorry to hear that :) and thanks so much for the quick update.
@umutm we're always open to contributions; if you are able to, or know someone who is able to, and has the resources to work on this, please let me know.
With this feature, I'd love to also see a --where
option that would allow you to move part of a table. I could see this being useful in a shard splitting type scenario. (The cleanup of the old data would need to be an external script I would think.)
@shlomi-noach Wish I was able to. Yet, I'll definitely share this challenge with other that I know are capable of :).
I generally use a 'mysqldump --where' for this. Very convenient for initialising shards. So not 'online' but with replication locally paused.
@druud62, mysqldump
will certainly work. What I was thinking with gh-ost
was that it would be replication lag aware and could throttle easily. In addition it would keep data up to date in both places until you were ready to cut-over.
Hi Tom, yes, different use case. Good to have the choice.
Sorry if the docs cover that but I couldn't be sure.
Does gh-ost cover the scenario of:
Thanks very much.