Database per tenant can get real nasty when schemas get out of sync, then you’re in real pain.
Postgres with row based access control is a much better solution to database per tenant/strong isolation.
Postgres with row based access control is a much better solution to database per tenant/strong isolation.
This problem also does happen with sharded databases - which is why most co's have a structured approach of deploying schema changes, observing them having applied everywhere, and only then deploying the feature relying on the schema changes.
Postgres row level access control gives all the benefits of strong isolation with none of the pain of schemas getting out of sync.
It's all tradeoffs after all.
https://www.crunchydata.com/blog/row-level-security-for-tena...
Before performing upgrade make a copy of the db file. Also multiple DBs can be inited in parallel.
I fail to see why this might be so hard.