Jump to content

Ms Sql Server Technology Discussions


9Pardhu

Recommended Posts

data warehousing lo , do we load dimensions first or facts first ? ,  if so any reason , ee roju interview lo desi l**** asked this question 

 

answer neeku teliyaka potey aadni enduku man tidutunnav...

 

we load dimensions first and then the facts as the measures are available on the dimensions.. If you have a new dimensionID and that primary key is not loaded in the dimension, and if you process the fact without it, the process will fail...

 

I hope you got the answer...

Link to comment
Share on other sites

answer neeku teliyaka potey aadni enduku man tidutunnav...

 

we load dimensions first and then the facts as the measures are available on the dimensions.. If you have a new dimensionID and that primary key is not loaded in the dimension, and if you process the fact without it, the process will fail...

 

I hope you got the answer...

Orrni , love india baiya i answered the same way ...i thought thats incorrect  , aa desi gadu ....  why only dimensions first not fact ani , malli answer iste sure  pakka aa ani adigadu so was not confident...

thanks dude...

jai ballaya 

jai jai ballya

Link to comment
Share on other sites

Orrni , love india baiya i answered the same way ...i thought thats incorrect  , aa desi gadu ....  why only dimensions first not fact ani , malli answer iste sure  pakka aa ani adigadu so was not confident...

thanks dude...

jai ballaya 

jai jai ballya

 

Jai Balayya man... correct the spelling man... 

Link to comment
Share on other sites

data warehousing lo , do we load dimensions first or facts first ? ,  if so any reason , ee roju interview lo desi l**** asked this question 

 

 

Fact tables holds Dimension tables primary keys as foreign keys in it...

 

so first Dimension tabls nxt fact tables....

 

but dimension table can also act as fact tbl in other datamart... so appudu idi fact tbl avuthadi vere DM lo...

so alaantappudu ee tbl(wch is fact tbl now n earlier it was dimension tbl) ni frst e load chesam...

 

so aa interwr adi expect chesademo.... (lyk dimension tbl can also act as fact tbl to other DM)

 

 

http://www.codeproject.com/Articles/652108/Create-First-Data-WareHouse

Link to comment
Share on other sites

Fact tables holds Dimension tables primary keys as foreign keys in it...

 

so first Dimension tabls nxt fact tables....

 

but dimension table can also act as fact tbl in other datamart... so appudu idi fact tbl avuthadi vere DM lo...

so alaantappudu ee tbl(wch is fact tbl now n earlier it was dimension tbl) ni frst e load chesam...

 

so aa interwr adi expect chesademo.... (lyk dimension tbl can also act as fact tbl to other DM)

 

 

http://www.codeproject.com/Articles/652108/Create-First-Data-WareHouse

k

Link to comment
Share on other sites

Fact tables holds Dimension tables primary keys as foreign keys in it...

 

so first Dimension tabls nxt fact tables....

 

but dimension table can also act as fact tbl in other datamart... so appudu idi fact tbl avuthadi vere DM lo...

so alaantappudu ee tbl(wch is fact tbl now n earlier it was dimension tbl) ni frst e load chesam...

 

so aa interwr adi expect chesademo.... (lyk dimension tbl can also act as fact tbl to other DM)

 

 

http://www.codeproject.com/Articles/652108/Create-First-Data-WareHouse

 

dat is snowflake schema man... Pilla.gif

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...