Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

online database migrations #827

Open
erfanium opened this issue Sep 16, 2024 · 1 comment
Open

online database migrations #827

erfanium opened this issue Sep 16, 2024 · 1 comment

Comments

@erfanium
Copy link

erfanium commented Sep 16, 2024

Can i use goose as a alternative tool to https://github.com/github/gh-ost? will goose ever support online database migrations?

@mfridman
Copy link
Collaborator

Kind of, it really depends on your scale and needs. The gh-ost tool is quite useful when you have extremely large data sets and you need to migrate data in a non-blocking manner, I think the blog post described it quite nicely:

Adding/changing/removing columns and indexes etc., are blocking operations with the default MySQL behavior. We conduct such schema changes multiple times per day and wish to minimize user facing impact.

I don't think we have plans to add this functionality into goose, at least not anytime soon.

ps. My personal take is most applications don't have the concerns GitHub was trying to solve, so most migration tools are usually fine. YMMV :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants