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 a staging area? Do we need it? What is the purpose of a staging area?
What is partitioning? What are the types of partitioning?
Explain what is type 2 version dimension?
Compare ?Data mining? and ?Data Warehousing??
what are the similarities between ROLAP and MOLAP
What is operational data store (ods)?
Explain is fact table?
What is data validation strategies for data mart v?
what are confirmed dimension? We alwys give date as a conformed dimension but if it has different format for different contries say YYMMDD for italy and MM-DD-YYYY for france.Then are they not confirmed.
4 Answers IBM, MAHINDRA, Tech Mahindra,
Explain what are non-additive facts?
What are cursors?
What is source qualifier?