Is multi tenancy possible in PostgreSql?

Want to know the strength of postgresql with respect to multitenancy

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


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: