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

Thank you for such an amazing tool #13

Open
victor-ponamariov opened this issue Jun 14, 2020 · 3 comments
Open

Thank you for such an amazing tool #13

victor-ponamariov opened this issue Jun 14, 2020 · 3 comments

Comments

@victor-ponamariov
Copy link

I cannot imagine it's not popular. People don't have big databases or what?
I understand that I can use percons/gh-ost tools directly, but then I won't be able to write laravel's migration.

Currently I have like a 5 millions db, and it takes 30 minutes to migrate.

So far works good!

@Daursu
Copy link
Owner

Daursu commented Jun 16, 2020

Thanks! I'm glad to hear that it works well for your use-case. It's true that you can use the tools directly, but I've designed this package to integrate seamlessly with Laravel's existing migrations, without having to learn new commands or change the existing deployment flow.

@erichowey
Copy link

I've also come to thank you for making this. I cannot believe this library isn't more popular.

@florianoversmake
Copy link

florianoversmake commented Jul 29, 2024

bump.

I just realized that the last time I've checked this repository was more than 2 years ago.

First of all, really great package, I don't understand why it's not more popular.
I guess most people are using AWS or SaaS like Planetscale for this?
Or they just don't mind hours of downtime :D

I was very sceptical about running and orchestrating long-running processes from within PHP, but the whole thing works like a charm for more than 2 years, for us, now.

We use gh-ost, to migrate our production databases, and perform schema changes on multiple tables with > 70M rows, in a single migration, under heavy read/write traffic and complex replication topologies without any downtime.

Since gh-ost 1.1.6 the --attempt-instant-ddl option is available, which makes the whole process even faster and less intrusive most of the time !

https://dev.mysql.com/doc/refman/9.0/en/innodb-online-ddl-operations.html

It's nerve-wracking the first few times, but once you get used to it and build CI around it, it gets a real game-changer.

This is our current approach, which is painful to set-up I think:
https://github.com/smakecloud/skeema

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

No branches or pull requests

4 participants