PostgreSQL’s schemas for multi-tenant applications
Performance isn’t worse, necessarily. As the article explains, there are specific conditions which make the schema approach better or worse depending on your application design and workload. Let me explain the tradeoffs of the “tenant-schema” vs. “shared-table” approaches: tenant-schema is best when you have a relatively small number of fairly large tenants. An example of … Read more