Catalogue / infisical-2024-postgres-migration

Infisical rewrote its data layer from MongoDB to PostgreSQL, mainly so customers could self-host it more easily

Infisical, 2024. Primary database of the secrets management platform.

Organisation
Infisical
Evidence
Reported from production
Source
The Great Migration from MongoDB to PostgreSQL

Infisical blog, published 2024-03-25

Records

Decision#d1

Replace MongoDB with PostgreSQL as the one supported database of a product customers also self-host

Decision#d2

Migrate in a read-only window, accepting blocked writes but no full downtime

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.