Skip to main content

Slowly changing dimensions


Slowly Changing Dimensions (SCD’s)

SCD is a dimension which captures the changes

that occur over a period of time.

Type I – Contains only current data.Change in source is overwritten

Type II-Maintains complete history+Current data

Type III-Partial(recent) history+Current data
In OLTP
Cust Id  C.Name  Loc  StartDate
11  Smith  Hyd  12Jan09
12  James  Che  12Jan09
13  Tom  Mum  12Jan09
14  Peter  Hyd  15Sept10


In DWH
Sl.No     CustId     C.Name        Loc     StartDt              EndDate     ChangeVer.
1  11  Smith       Hyd      12Jan09  1
2  12  James       Che      12Jan09         14Sept09  1
3  13  Tom       Mum      12Jan09              1
4  12  James       Kol      15Sep09  2
5  14  Peter       Hyde      15Sep09  1
Active record is where end date is null
History
Active status(Active record – Max Version)
Change No (Version)
Duration (Time stamp)



Comments

Popular posts from this blog

Data modeling

Data Modeling: Model: Model is business representation of information in one or more data sources OLTP                                    DWH   Model          Model                 Model E-R Model    (modify wih ETL)       Dimensional model (Design based on              (Design based on facts and Measures) Entities&Relationships)   Dimensional Modeling: Is a design methodology for designing a DWH It consists of following 3phases to design the Database 1)Conceptual Modeling: •          Understanding the requirements •     ...

FM workflow diagram

FM workflow process diagram: A windows based tool used to design metadata Models                        import Datasource------ à FM design and create the project Prepare the metadata project(Presentation layer)--Prepare  the project business view--Create & manage package---setup  security— Publish package---Content store(Metadata)---Reporting interface   Metadata source-Cognos Application •        Cognos impromptu •        Cognos 10.1 model •        Cognos Architect •        Decision stream •        Data Manager •        IBM Data Source   Third party metadata source: •        ERWIN •     ...

Book on IBM Cognos 10 written by me-

Here is a book written by me on IBM Business Intelligence Tool COGNOS which is published at the following link- http://www.amazon.com/dp/B00KKSVGPA/ref=rdr_kindle_ext_tmb Anyone who is having prior knowledge in database like oracle can easily learn to develop the business reports by following the screenshot assisted examples. This book will be a good resource for the students who wish to self learn IBM Cognos software.