If I have table T1 and table T2
T1 has 250 cols and 10,000 rows
T2 has 2 billion rows and 10 cols
Which one would be Fact table and which one would be
Dimension table and why ?
Answers were Sorted based on User's Feedback
Answer / bluegems
Whether table T1 and T2 are dimension or fact table depends
on the information they store. If the all the measures are
in T1 with dimensions key in it then T1 table is fact and if
T1 is having a pk and textual information then it is
dimension and visa versa.
Idealy the number of row in fact table is very high. In this
case it looks like T2 may be the fact and T1 may be the
dimension. But cann't be said for sure as the information
given is incomplete.
| Is This Answer Correct ? | 30 Yes | 1 No |
Answer / henry
Dimensions are wide - facts are deep.
T1 will be dimension table (example "customer" with all the
related attributes like address, tel etc)
T2 will be your fact table (example "orders") which uses
one column as surrogate key to link to T1 ("customers" in
this case)
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / nithin
A table being set as a Fact or Dimension depends on the
kind of data it stores.Measures and keys are stored in
Facts and Dimension stores a primary key and other
information depending up on the dimension.
| Is This Answer Correct ? | 7 Yes | 0 No |
What is surrogate key? Explain with examples.
Give me a broad concept of what a data warehouse is, and what it might be used for?
How do you call a module named �testmod.cfm� with the parameters param1=�yes� and param2=5?
Can any one explain about core dimension, balanced dimension, and dirty dimension?
What is meant by metadata in context of a data warehouse?
Explain what is cost benefit analysis (cba)?
What is the difference between dependent data warehouse and independent data warehouse?
What a static and local variable?
What is the definition of cube in datawarehousing?
What is the "junk dimension"? Give with examples?
How to pivot row data using informatica?
What is critical column?