Hacker News new | ask | show | jobs
by tasuki 1148 days ago
Yes, a very commendable goal, I've seen this effort undertaken many times. Curiously enough, I've never actually seen anyone switch databases.
4 comments

Depends on the product in question. For integration products, its very common to support multiple database vendors with the same core engine. So any SQL written and db data-types is generally SQL-92/99.

This is pretty good since one can generally fast unit test DB code with an embedded database.

I moved the same system from MSSQL server to Oracle, then to MySQL.

The Oracle version had a lot of logic written as SP. I migrated them to MySQL SP.

So the conclusion is: SP don't make it impossible to migrate from one database to another, and second: yes database migrations do happen.

Also: all database migrations I have known involve Oracle in one way to another. Oracle salespeople are way too nosy.

I’ve done it twice. Mass migration off Oracle and before that DB2 and Sybase. Current system is also occasionally sold on premise to customers who have their own db preference and we can support them all.
Once of the major lifts at my last job was going from Oracle to post Fred's. The speed procedures were the worst part of it all.