• 0 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle
  • I’ve spend more than a decade supporting both Postgres and MongoDB in production.

    While they each have quirks, I prefer the quirks of Postgres.

    I just spent a massive amount of time retooling code to deal with a MongoDB upgrade. The code upgrade is so complex because that’s where the schema is defined. No wonder MongoDB upgrades are easier— the database has externalized a lot of complexity that now becomes some coders problem to deal with.


  • For minor version upgrades, the database remains binary compatible. Nothing to do.

    The dump/restore required during major upgrades allows format changes which enable new features and performance improvements without dragging around cruft forever to stay backwards compatible.

    For professionals running PostgreSQL clusters in production there is a way to cycle in the new server version with zero user-visible downtime.