|
RDBMS, Data Warehouse, Data Mining Tutorials |
| DBMS |
BPO
BPM
CMM
CMS
CRM
DBMS
ERP
Jobs
PM
SAP
Sarbanes Oxley
Six Sigma
White Papers
Publications
|
||
|
|||
Tutorials -> Dimensional Modeling TutorialFact Table SchemaFact table contains the actual business process measurements or metrics called facts. Usually these facts are numeric. These facts are generally Additive. Some times the facts are semi additive such as balances Some times they are non additive such as unit price In the above example where you are building a data warehouse of monthly sales in dollars, your fact table will contain the actual sales numbers, one row per month. In addition to the data itself, you will have the foreign keys for the various dimensions in this row. Granularity or Grain of Fact Table The level of detail of
the fact table is known as the grain of the fact table. In this example the
grain of your fact table is monthly sales number per location per
product.
In this table the combination of all three dimension table foreign keys make up
the primary key in the fact table. (TM_Dim_Id, PR_ Dim_Id, LOC_ Dim_Id) is our
primary key. This is the unique key into our Sales fact table.
Next>> Star Schema |
|
| KnowledgeHills© Copyright 2010 All Rights reserved. KnowledgeHills.com is for educational purposes only. We do not guarantee the correctness of the content. The risk of using this content remains with the user. Please read our Privacy Policy Send any comments to: Contact . This site is w3 HTML 4 compliant. |