Closed zach2good closed 3 years ago
TODO: Go through these points for safety, and do a bunch of testing: https://mariadb.com/kb/en/converting-tables-from-myisam-to-innodb/
DB Import is painfully slow, gotta work through this: https://dev.mysql.com/doc/refman/5.7/en/optimizing-innodb-bulk-data-loading.html
I affirm:
Temporary:
We were discussing earlier all the things that are historically wrong with the server that nobody has gotten around to fixing. We eventually got onto our DB access patterns and locking, and all of that good stuff. We then looked at the db engines, and what engines are good for what.
After a little digging (and a little advice from Noct Souls and Eden) we decided it's probably best for us to migrate everything to InnoDB, which supports row-level locking, where MyISAM was table-level.
This isn't a silver bullet for any specific problem, but it's good practice and should easy delays a bit.
Also removed
ROW_FORMAT=FIXED
because it wasn't playing nice with InnoDBSources
https://dev.mysql.com/doc/refman/5.7/en/internal-locking.html
I saw somewhere that MyISAM is deprecated, or on the way to being, and InnoDB is the default engine, so it has to be at least acceptable 🤷