Percona also recommends using this tool to safely perform alters for any Galera-based replication product (Percona XtraDB Cluster, MariaDB Galera Cluster, etc.)
Percona also recommends using this tool to safely perform alters for any Galera-based replication product (Percona XtraDB Cluster, MariaDB Galera Cluster, etc.)
It only failed catastrophically, causing a critical production incident, twice.
Each time took dozens of engineer hours to vet in advance, thus costing thousands of dollars.
Online DDL changes and indexing with pg cost us... basically nothing, and never caused downtime.
My and Pg each have their place... but if you want to modify large tables, MySQL is almost certainly the wrong tool for the job.
This space is far from done, until we can change data structures on the fly...we're going to find there to be a constant struggle between schema and schema-less and neither side will be right or wrong.
Solution: Quantum states; We suspect every possible scenario is happening already, so we should just migrate our database to the appropriate quantum state, where the data is in the structure we desire. Sounds insane, it probably is.
I know first hand shops like FB use a similar method in production.
Also, big note, the whole point of "schemaless" (And other things, like fb's friend feed architecture) is that you don't make schema changes.
We allocate our own IDs, and disable foreign keys for bulk loading.