Is multi tenancy possible in PostgreSql?

April 17, 2019 373 views

Want to know the strength of postgresql with respect to multitenancy

1 Answer


I welcome others weighing in on this, as Postgres is not my particular strong point. That said, I don't feel intimidated by it, so I'll answer as best I can.

Postgres appears to have support for users/roles/permissions, and it seems we have a tutorial for some of that here:

Given that you can define the permissions for users or roles on tables, I've no reason to suspect that postgres would have difficulty handling a multi-tenant workload. I also found an article that details someone else's experience with it:


by Justin Ellingwood
PostgreSQL is an open source database management system that stores and manipulates data produced by other applications. This guide will cover how to manage permissions and privileges within PostgreSQL by controlling roles and grants.
Have another answer? Share your knowledge.