Earlier quoted context omitted.
mysql is a bigger target market.
We recently started investing in Postgres because of support of JSON fields and nested indexes in those fields. Should we have chosen MySQL?
GitHub's online schema migration for MySQL
11–20 of 96 posts
Re: GitHub's online schema migration for MySQL
#12Holy crap, an alternative to Percona? Why does MySQL get two awesome tools and Postgres nothing?
(And as modern MySQL releases get better online DDL support, become less and less critical - though still useful for all of those edge cases where native lockless online DDLs can't work yet)
Re: GitHub's online schema migration for MySQL
#13Holy crap, an alternative to Percona? Why does MySQL get two awesome tools and Postgres nothing?
Re: GitHub's online schema migration for MySQL
#14Earlier quoted context omitted.
mysql is a bigger target market.
We recently started investing in Postgres because of support of JSON fields and nested indexes in those fields. Should we have chosen MySQL?
Ultimately I’d always suggest the tool you are most familiar with if it’s doing a good enough job.
Re: GitHub's online schema migration for MySQL
#15Earlier quoted context omitted.
mysql is a bigger target market.
We recently started investing in Postgres because of support of JSON fields and nested indexes in those fields. Should we have chosen MySQL?
Doing anything meaningfully complex or mission-critical with either will always require care, attention, and understanding of how the database is doing its work. If you know MySQL internals particularly better, it may benefit you to focus your efforts there as modern MySQL is perfectly capable (decent online DDL support, decent native JSON support, etc).
If your team aren't experts with either, I'd invest my effort in learning Postgres.
Re: GitHub's online schema migration for MySQL
#16Earlier quoted context omitted.
mysql is a bigger target market.
We recently started investing in Postgres because of support of JSON fields and nested indexes in those fields. Should we have chosen MySQL?
As someone else pointed out, the reason so many similar tools exist for this task on mysql and there's no such tool for postgres is not that postgres isn't as popular.
The reason is that this problem is almost non-existent on postgres as many table alterations do not lock the table.
Re: GitHub's online schema migration for MySQL
#17Earlier quoted context omitted.
We recently started investing in Postgres because of support of JSON fields and nested indexes in those fields. Should we have chosen MySQL?
Probably no. As someone else pointed out, the reason so many similar tools exist for this task on mysql and there's no such tool for postgres is not that postgres isn't as popular. The reason is that this problem is almost non-existent on postgres as many table alterations do not lock the table.
But you’re right, my comment is mostly pedantic, that Postgres implements alters better so these tools aren’t needed.
Re: GitHub's online schema migration for MySQL
#18Earlier quoted context omitted.
mysql is a bigger target market.
We recently started investing in Postgres because of support of JSON fields and nested indexes in those fields. Should we have chosen MySQL?
1. https://dev.mysql.com/doc/refman/5.7/en/json.html
2. https://dev.mysql.com/doc/refman/5.7/en/create-table-seconda...
Re: GitHub's online schema migration for MySQL
#19It was recently open-sourced. Do take a look.