Multi-tenant application on Windows Azure

前端 未结 3 521
醉话见心
醉话见心 2021-01-27 03:18

We want to create multitenant application with shared database table structure.

Currently with standard SQL Server we could achieve that with providing TenantID for each

3条回答
  •  轮回少年
    2021-01-27 03:58

    I concur with the answer smarx gave you, but also consider this: If you have multiple tenants and this drives you above a SQL Azure size limit (say, 1GB or 10GB), you'd need to make a jump to the next-larger database, and this could increase your cost beyond what you want:

    • 1GB: $10 monthly
    • 10GB: $100 monthly
    • 50GB: being released in June, presumably 5x10GB cost

    So in the case where you're under the 1GB limit with one tenant, but over 1GB with, say, 2-5 tenants, it would be more cost-effective to set up separate 1GB databases for each tenant, and then manage this sharding in your business tier, based on TenantID.

提交回复
热议问题