Most B2B SaaS platforms face the same architectural fork in the road: share one database across all customers, give each customer its own schema, or provision a dedicated database per tenant. The right answer is rarely one of these but a tiered combination, because the model that keeps infrastructure costs low for your long tail is precisely the model that enterprise InfoSec teams scrutinize hardest during SOC 2 Type II, HIPAA, and GDPR reviews. This guide maps the three dominant isolation patterns against documented operational failure points—PostgreSQL connection ceilings, migration sprawl, and point-in-time recovery complexity—so you can pick boundaries before procurement forces them on you.
The Multi-Tenant Isolation Spectrum
The pooled model puts every tenant in shared tables, with each row carrying a tenant identifier and the database enforcing access through row-level security. As Bilal Jhangda's isolation guide for Emergen frames it, the goal is that one customer can never read, change, or infer another customer's data even though they share the same application and often the same database. Isolation strength here is medium to high, depending entirely on enforcement discipline, while cost efficiency is the best of the three options because infrastructure is fully shared.
The bridge model—schema-per-tenant—allocates each customer a dedicated schema inside a shared PostgreSQL database instance. It sits in the middle of the spectrum: stronger separation than shared tables, cheaper than dedicated instances. The silo model, database-per-tenant, provides the ultimate physical boundary, which is why WorkOS's developer guide positions single-tenant and dedicated deployments for regulated industries, top-tier enterprise customers, and bring-your-own-cloud deals. The trade-off is linear infrastructure cost and heavy operational burden: many environments to manage, slow onboarding, and difficulty keeping feature parity across tenants.
AWS's guidance for ISVs identifies the root cause of most isolation failures: treating tenant identity as a simple database field means tenant isolation exists only in application logic, which creates risk of cross-tenant access. Every downstream isolation, compliance, and operational decision depends on how you define and enforce tenant identity—and getting this layer right early, AWS notes, helps engineering leaders avoid costly enterprise retrofits later in the sales cycle. In other words, the architecture decision is not just technical; it is a sales-cycle decision.





