MySQL/MariaDB to PostgreSQL Migration

We have moved several production projects from MySQL/MariaDB to PostgreSQL. It is a common step once a project outgrows MySQL’s feature set or needs capabilities PostgreSQL handles better - and it is not something to attempt without a plan.

Why move to PostgreSQL?

What the migration involves

From experience

We default to PostgreSQL on new infrastructure as well - see how we set up a PostgreSQL database on Dokku when deploying Rails applications.

Summary

Moving off MySQL/MariaDB touches the schema, the queries, the gems, and the deployment pipeline. We have done this migration on several real projects and can carry yours across without data loss or unplanned downtime.

Running MySQL or MariaDB and considering PostgreSQL? Get in touch.