Multi-tenant architecture
3 posters
Page 1 of 1
Multi-tenant architecture
Hi.
We're in the designing proccess of a datawarehouse, the environment has to be multitenant. Most of the approaches point to have a tenant table with the key "on every dimension".
It's really necesary to have every table with a tenant id?
Could it be on the fact tables only?,
If the tenant id is on every dimension table, we are talking about a snowflake schema?, we want to model using star schema.
Another approach is to do a database schema per tenant, but that would imply to have different tables all with the same structure per schema, and what about a structure change? or new requeriment?
We want to have a reports central repository, (the most of the reports could be shared accross all tenant) and then filter by tenant, the user logged would have that attribute.
Hope some one could guide through the right way or share some experience.
Thanks.
We're in the designing proccess of a datawarehouse, the environment has to be multitenant. Most of the approaches point to have a tenant table with the key "on every dimension".
It's really necesary to have every table with a tenant id?
Could it be on the fact tables only?,
If the tenant id is on every dimension table, we are talking about a snowflake schema?, we want to model using star schema.
Another approach is to do a database schema per tenant, but that would imply to have different tables all with the same structure per schema, and what about a structure change? or new requeriment?
We want to have a reports central repository, (the most of the reports could be shared accross all tenant) and then filter by tenant, the user logged would have that attribute.
Hope some one could guide through the right way or share some experience.
Thanks.
aicrag- Posts : 1
Join date : 2014-11-13
Re: Multi-tenant architecture
I spoke with someone from a multi-tenant company the other day. They said the way to go is a common schema with all data instead of different schemas. I believe they used partitioning to physically separate the data. I wouldn't have thought that was the way to go but apparently keeping all the schemas in sync with the latest changes becomes quite cumbersome. You would want tenant id on all tables because not all reporting hits the fact tables. A pure customer report could run solely off of the customer dimension.
BoxesAndLines- Posts : 1212
Join date : 2009-02-03
Location : USA
Multi-tenant architecture
Create one conformed tenant dim and separating tenant with their type, for example Govt, small business etc. If you want to pivot out tenant data then create a tenant type dim and tenant dim and join it in a Fact table.
zoom- Posts : 97
Join date : 2010-08-23
Location : Chicago
Similar topics
» Multi - tenant or SaaS Warehouse architecture
» Multi-tenant design for Data Warehouse
» ODS Data Architecture
» multi to multi relationship with multiple business view.
» contract multi-value or multi-fact or ...
» Multi-tenant design for Data Warehouse
» ODS Data Architecture
» multi to multi relationship with multiple business view.
» contract multi-value or multi-fact or ...
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum