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 |
Hierarchy of DWH?
2 Answers Accenture, EDS, IBM, iFlex, TCS,
What is surrogate key?
What is factless fact schema?
what is the diffrence between psa and idoc
Explain differences between star and snowflake schemas?
How would you declare an inline css to format the table with a background color of yellow and give the table cell a right margin of 10 pixels?
What is aggregate awareness?
What is analytical or analytic mean?
in siebel analytics by using dashboard prompts in a page have 2 reports so i have to give dashboard prompt to applied on first report only that will not applied to 2 report how it will do
What is Bulk Insert?
How can we load the time dimension?
Start a batches with in a batch?