I hear this suggested in talks / on the web frequently enough to wonder if any company has ever successfully migrated from mySQL to PostgresQL, or from database technology foo to database technology bar, without coming close to killing the company or blocking the development team from doing more profitable work? Or is this something that many people suggest but have never actually done?<p>Just move to a "real" database and all your problems will be solved, right? I don't think so - you will just replace one set of problems with another. And when you're dealing with a schema that is multiples of TB, hundreds of tables, stored procs, triggers, poorly normalised, contains a mass of undocumented domain knowledge, goes back over a decade, then it's not going to happen.<p>If it does happen then it's probably over a period of years, or effectively a rewrite. Databases are like mortgages, they're technical debt that take decades to pay off.<p>So, have you ever done the migration? How did it go?
Just a quick interjection: I wrote a library that migrates between any 2 relational databases. In my case, I migrated off of Oracle and onto MySQL, but the tool supports any RDBMS supported by SQLAlchemy.<p><a href="https://github.com/seanharr11/etlalchemy" rel="nofollow">https://github.com/seanharr11/etlalchemy</a><p>The best way to know is to try! It takes 4 lines of python to get you migrated.<p>PostgreSQL is a bit more feature rich in my findings, but for the majority of web development there really aren't huge differences. In my experience, MySQL performs a bit better for lots of simple READ queries, while PostgreSQL can handle larger, more complex queries and very frequent WRITEs.
I migrated from a custom database to postgresql. I have to say I am much happier in terms of being able to generate complex reports.<p>The types and jsonb are also very nice.<p>I have used mysql early in my career, and I still use it for certain existing projects. I liked the simplicity of its command line, but postgresql has caught up, and they continue to add amazing features.