Want to know the strength of postgresql with respect to multitenancy
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!
Greetings!
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: https://www.digitalocean.com/community/tutorials/how-to-use-roles-and-manage-grant-permissions-in-postgresql-on-a-vps--2
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:
https://influitive.io/our-multi-tenancy-journey-with-postgres-schemas-and-apartment-6ecda151a21f
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.