Kimball Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Too much of inner joins-ETL Strategy to load into Dimension

2 posters

Go down

Too much of inner joins-ETL Strategy to load into Dimension Empty Too much of inner joins-ETL Strategy to load into Dimension

Post  rbs100 Sat Sep 17, 2011 10:05 am

Hi,
We have situation where the tables are not directly linked with each other. To select one value many tables has to be linked. For eg. to select column c1 from table T1, we have to put inner join between t2,t3 and t4 with T!. Same way, if we need to select c2 from T1, we have inner join with T2,T5 and outer-join with T6. Which means that, there are no direct relationships between the data and we need to take the T2,T3,T4,T5 & T6. Morever, possibility of missing data possible due to outer joins. Will this not result into Snow-flaking in the star schema. In this kind of scenario, how to create dimension and fact without snow-flaking?

-RBS

rbs100

Posts : 12
Join date : 2011-09-14

Back to top Go down

Too much of inner joins-ETL Strategy to load into Dimension Empty Re: Too much of inner joins-ETL Strategy to load into Dimension

Post  ngalemmo Sat Sep 17, 2011 1:29 pm

Let me see if I understand the question...

1. You have a source where you need to join a bunch of tables together to get the data you need.

2. Sometimes there isn't data in some of the tables.

3. You need to load it into a dimension.

So, what is the problem? Why do you feel there is a need to snowflake?
ngalemmo
ngalemmo

Posts : 3000
Join date : 2009-05-15
Location : Los Angeles

http://aginity.com

Back to top Go down

Too much of inner joins-ETL Strategy to load into Dimension Empty Re: Re: Too much of inner joins-ETL Strategy to load into Dimension

Post  rbs100 Sun Sep 18, 2011 4:10 am

ngalemmo wrote:Let me see if I understand the question...

1. You have a source where you need to join a bunch of tables together to get the data you need.

2. Sometimes there isn't data in some of the tables.

3. You need to load it into a dimension.

So, what is the problem? Why do you feel there is a need to snowflake?

The problem here is the data in the joining tables are candidates for dimension.
So if the data has dependency on the other dimension, will it not create snow flake?

rbs100

Posts : 12
Join date : 2011-09-14

Back to top Go down

Too much of inner joins-ETL Strategy to load into Dimension Empty Re: Too much of inner joins-ETL Strategy to load into Dimension

Post  ngalemmo Mon Sep 19, 2011 1:36 am

No. Relationships between dimensions are based on the fact table. Dimensions do not relate to each other.

In other words, if a customer belongs to a sales region, and both customer and sales region are their own dimensions, the fact should have FKs to both customer and sales region if it makes sense for the facts.
ngalemmo
ngalemmo

Posts : 3000
Join date : 2009-05-15
Location : Los Angeles

http://aginity.com

Back to top Go down

Too much of inner joins-ETL Strategy to load into Dimension Empty Re: Too much of inner joins-ETL Strategy to load into Dimension

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum