I’ve started a new job where I’m working with MySQL instead of Oracle. What are some things that I might have to “unlearn” from using Oracle? What are some things that might make Oracle SQL go faster, but might be bad under MySQL (and vice-versa)?
In particular, is it better for MySQL code to commit less frequently (as is the case for Oracle)?
Storage Engines are the key. MyISAM and InnoDB will perform very differently, for example (not least because MyISAM is non-transactional and can therefore skip a lot of consistency logic).
So what is faster will often depend on the storage engine being used.