Database Isolation Is Not Operational Isolation — When Postgres Apps Should Share a Cluster
While wiring up a desktop SQL client across the platform's ~20 Postgres instances, I hit a small surprise:
two servers host many databases at once. Backstage keeps 13 of them (one per plugin —
backstage_plugin_catalog, _auth, _scaffolder, …); the shared AI server keeps 6 (one per tool
— openwebui, litellm, ragdb, vaultwarden, flowise, mlflow). Everything else uses one database
per server.
That's a UI curiosity. But it forced the actual design question behind it: when should apps share a Postgres cluster, and when should each get its own? The answer rests on a distinction that's easy to collapse — and expensive when you do.