You are on page 1of 2

Dimension tables: it contains one primary key and remiaing attributes mainitaining

the descriptive
kind of information .

Dimension tables contains denormalized data. It has duplicates

Dimension tables and fact tables intracted wiht priamary(parent) and foreign key
relationship.

Types of dimensions:
--------------------
1.Conformed Dimension (FAQ)
2.Degenerate dim(FAQ)
3.Junk dim(FAQ)
4.Large Dim
5.Min DIM
6.Slowly changing dim (FAQ)(SCD)
1 2
ACCt_101 1 or 2
3 montha

Type1: It maintains latest or updated values that we called as type1.

ex 10000,12000

Type2 : It maintains compelete history of all the transactions.

ex : 9000,10000,12000

Type3: It maintains current values along wiht immediate previous values.

ex 10000,12000

7.Rapidly changing dim(RCD): Changes will happening in rapidly that we called RCD

8.Custom dim

9.static dim:

ex country and currency

10.Dynamic dim

11.Aggregate Dim

12.Multivalued dim

----------------------------------------------------------

Male---Flag--> M
Female--Flage-->F
Repees-->F-->RS
US doll--->$

Dimen attri
Gender, CTRY,CASH
M,IN,US

----------------------------------------------------------------------------

Fact Tables
-------------------------

it is a lage control table in datawarehouse shemas it contains set of foreing key


with respective to all the dimenstin tables
that are directly connected to it

Fact finformation and some times one or more degenerate dimenstions.

fact table types.

1.Snapshot fact table:it contains the information at point of time.

ex: 25-Dec-2022
2.cummulaltive fact table:It contains the inforamtion about a period .

01-Jan-2021 to 31-Dec-2021

3.Factless fact table.(FAQ): It does not contain any fact information is called as
fact less fact table.

-----------------------------------------------------------------------------------
---------------------------------

Types of facts
--------------------------------------------

1.Additive facts:The facts which are calculated or aggregated from any of hte
dimension table that id directly connected with the fact tables
are called as addive facts.

2.Semi additive facts: the facts which can not abe calculated from any of the
dimension table available for fact table are called as non-additive facts.

You might also like