Вы находитесь на странице: 1из 7

8/25/2016

SrinivasanSoftwareSolutions:[DWH]SlowlyChangingDimensions
0

HOME

INSTALLATION

More NextBlog

DATAWAREHOUSE

BIAPPS

OBIEE

INFORMATICA

ODI

TABLEAU

QLIKVIEW

PHP

SAP

HYPERION

Wednesday,February27,2013

LiveTrafficFeed

[DWH]SlowlyChangingDimensions

SearchThisBlog

Slowly Changing Dimensions

Categories

BI APPS (10)

In dimensional modeling, it is very important to determine how changes of data in the source

DATA WAREHOUSE
INFORMATICA (22)

reflect in dimension tables in data warehouse system. This phenomenon is known as slowly changing

INSTALL (18)

dimensions. This term comes from the reason that dimensions accumulates their changes at slow rate in

OBIEE (375)

compare with facts in the fact table.


There are three most common slowly change dimension types which are known as slowly changing dimension
type 1, type 2 and type 3. Lets examine each type and technique t deal with it in a greater detail.

PHP (1)
TABLEAU (52)

BlogArchive

2016 (33)
2015 (42)

Slowly changing dimensions type 1

2013 (419)
November 2013

In slowly changing dimensions type 1, when data in the source systems changed, the corresponding

October 2013

dimension attribute is overwritten. As the result, the dimension table does not represent history and historic

September 2013

context of existing facts is changed.

August 2013
June 2013 (7)

Slowly changing dimensions type 1 should be avoided as much as possible and only use to in case there is a

May 2013 (63)

need of correcting data in the source systems that will reflect in dimension table in data warehouse system.

April 2013 (9)


March 2013 (91)

Slowly changing dimensions type 1 example

Lets take a look at an example of slowly changing dimensions type 1 to get a better understanding.
In our sample star schema, we take DIM_PRODUCT dimension table as an example. Below is the sample data
of DIM_PRODUCT dimension table.

February 2013

[MSTG] Applying Selec


Or Slices

[MSTG] Execute Comm


Scripts

[MSTG] Security Mode

[MSTG] Hierarchy Dril

[MSTG] Using MicroSt

[MSTG] Comparison O
Of MicroStrateg...

[OBIEE 11g] KPI BASICS

[OBIEE 10g] Referencin


Session Variable In .

[OBIEE 10g] Using Rep


And Presentat...

[OBIEE 10g] Variables I


Database Requests

[OBIEE 11g] Application


From DEV to...

[SAP BO] Charts And D


Types And Conf...

[OBIEE 10g] Creating r


using OBI se...

[SAP BO] Dierent Out

[SAP BO] Drill In Busin

Figure 1. Slowly Changing Dimensions Type 1 Example

[SAP BO] Create Repor


[SAP BO] Filter Data

[SAP BO] SQL Develope


For OBIEE Deve...

[SAP BO] Ranking Data

http://ssssupport.blogspot.in/2013/02/dwhslowlychangingdimensions.html

1/7

8/25/2016

SrinivasanSoftwareSolutions:[DWH]SlowlyChangingDimensions

[SAP BO] Ranking Data

For some reasons, the product called Nikon Coolpix has a typo in the source system and that incorrect value

[SAP BO] How To Form

was loaded in the dimension table in data warehouse system. To apply slowly changing dimension type 1,

[SAP BO] Highlight Da

value in source system changed and value in data warehouse system get overwritten.

[OBIEE 11g] Adding Cal

[OBIEE 10g] Logical Di


Hierarchies

Slowly changing dimensions type 2

[OBIEE 11g] Building P

[DWH] Slowly Changin

In slowly changing dimension type 2, when data in the source system changed, a new version of the

[DWH] SnowFlake Sch

corresponding dimension row is created to preserve a version history and historic context of the facts. It is

[DWH] Star Schema

important to note that each time a change is made, a new record is inserted to preserve history therefore we

[DWH] OLAP

can preserve unlimited version history with slowly changing dimension type 2.

[DWH] Dimensional M

[DWH] Dierence Betw


OLAP

In the dimensional design, if you cannot decide what type of slowly changing dimension that applies to a

[DWH] Data WareHous

particular dimension, the type 2 is the safest way because when data in the source system changes, the

[DWH] Data Mart

dimension can use either type 1 or 2.

[OBIEE 10g] When OBI


Do Not Join To ...

[OBIEE 10g] Conditiona


On Other Colu...

Slowly changing dimensions type 2 example

[OBIEE 10g] Bubble Ch

In the figure 2 below, for example if the product category of product Id 4 changed into Electronics, instead of

[OBIEE 10g] Adding A C


Graphtype

overwriting the product category, we create a new record with single attribute that gets the new value so we

[SQL / PLSQL] Stored P

have two records one to preserve the history and one is for current analysis.

[SQL / PLSQL] Iterative

[SQL / PLSQL] What is

[OBIEE ] Excel As Data

[OBIEE 11g] Creating A

[OBIEE 11g] Generate M


Dictionary

[SQL / PLSQL] Unlocki


The Password ...

[ODI 11g] ODI Scenario

Figure 2. Slowly Changing Dimensions Type 2 Example

[SQL / PLSQL] Sql Quer

[OBIEE 10g] Enabling C


[OBIEE 11g] Title View

[OBIEE 10g N 11g] Imag

Slowly changing dimensions type 3

[OBIEE 11g] Write Back

[OBIEE 11g] Write Back

In dimensional design, sometimes you will have requirements that allows analysts to analyze facts recorded
before and after the change occurred using the old value and new value. None of both types above is suitable

[OBIEE 10g] Identifyin


Level

to address these requirements. In this case, type 3 is used.

[OBIEE 11g] Script Met

[OBIEE 11g] Adding Do


Files To The Cata...

In type 3, a pair of attributes is created to track current value and previous values. Whenever a change occurs,

[OBIEE 11g] Saving RPD


Content

both attributes get updated, no row is added. Be noted that type 3 only keeps track the current value and
most recent values not all historical values like type 2.

[OBIEE 11g] Multi User


Using SVN

[OBIEE ] Dierences B
Analytics And ...

Slowly changing dimensions type 3 example

[OBIEE 10g] Admin To


Sql Server

In the product dimension table we created a pair of attributes called CAT_CURRENT and CAT_PREVIOUS to

[OBIEE 10g] Running I

track the change. As shown in the figure 3 below, the product category of product Id 4 is kept track.

[OBIEE 10g] Aggregate


Wizard
January 2013
2012 (133)

Video

Figure 3. Slowly Changing Dimensions Type 3 Example

Slowly changing dimension summary


Slowly

Action

changing

Effects on facts
ContactForm

dimensions
http://ssssupport.blogspot.in/2013/02/dwhslowlychangingdimensions.html

2/7

8/25/2016

SrinivasanSoftwareSolutions:[DWH]SlowlyChangingDimensions

Type 1

Overwrite attribute value in dimension

Restate history

Name

Email *

table
Type 2

Insert new row in dimension table

Preserves unlimited history

Type 3

Create a pair of attributes to keep

Ability to analyze facts recorded before and

previous and current values. No new rows

after change happened using old value and new

are added.

value.

Message *

Send

Followus
Posted by SSS Blogs at Wednesday, February 27, 2013
Reactions:

funny (0)

interesting (0)

cool (0)

Recommend this on Google

OfficalSite

Nocomments:
PostaComment

Translate

Enteryourcomment...

SelectLanguage

Commentas:

Publish

Followers

Selectprofile...

Followers(42)Next

Preview

Follow

+5 Recommend this on

PopularPosts

Newer Post

Home

Subscribe to: Post Comments (Atom)

Older Post

Installing O
in Windows
Download t
below link
http://www
network/middleware/biedition/downloads/busin

[OBIEE 11g] E
Single Sign O
Enabling Or
On (OSSO) w
following ste
required to enable Oracle
wit...

[ODI 11g] What's


What's New in O
Data Integrator
large number of
enhancements that mak..

OBIEE 12C CLIENT INSTA


There is no direct way of
RPD once OBIEE12C is ins
Administration tool is av
default. We have to dow..

analyz...

http://ssssupport.blogspot.in/2013/02/dwhslowlychangingdimensions.html

OBIEE 12C N
Many new f
added in th
including n
level functi
properties,

3/7

8/25/2016

SrinivasanSoftwareSolutions:[DWH]SlowlyChangingDimensions

Pre-Requis
BIAPPS IN L
In this artic
covering th
OBIA 11.1.1.1
prerequisite
environment. We will be

Flower View
1.First we h
AnalyticsRe
below scree
Deployed A
One Folder

[TABLEAU]
Distribution
Cumulative
Cumulative
frequently u
trends acro

[TABLEAU]
Grouped Ba
Cre
Bar Chart
chart shows
vividly and

ORACLE AP
INTEGRATI
11G
For Integra
APEX, follo
Download t
from Oracle Website and
Extracting A...

Labels

11.1.1.10.1
12c

12C Client installation pro


12c Database

12c Database Installation

12C Database Installation

12C Database Installation


12C new features
Act as another user
Act as Proxy User
analyticsRes in obiee11g
Android Installation
APEX
APEX integration
Arch QVW
Architecture
ATG & FSM in LINUX

ATG & FSM Update for BI


BI 12C new features
BI APPS
BIAPPS
BIAPPS Cong in Linux
BIAPPS Conguration

BIAPPS Conguration iss


BIAPPS RCU Installation

Big Data Analytical Tools


cache
cache management
calcualtion order

changing weblogic passw


compression techniques.

conguration of mongod

conguring obiee 11g age


services.

Conguring SSL in OBIEE

connecting google analyt


connectors
CONSOLE USERS

custom links enabling. cu


custom links in obiee.
DAC Cong Installation
Data
data load order

http://ssssupport.blogspot.in/2013/02/dwhslowlychangingdimensions.html

4/7

8/25/2016

SrinivasanSoftwareSolutions:[DWH]SlowlyChangingDimensions
Data Visualization
DATA WAREHOUSE
Database
Database Fragmentation
database restructuring
defragmentation

Display the variables crea

Downgrading RPD in Obi

Downgrading versions of

Email Vercation script b


Essbase
Essbase optimization
essbase security

essential tools for crunch

Execute load plans throug


in ODI
Flower
Flower View

Flower View in OBIEE 11G

force shutdown in obiee 1


Fragmentation
Fragmentation Removal

FSM conguration in BIA


google analytics.
Hadoop (Linux)
Hadoop Components
Hadoop Concepts
Hadoop contents

Hadoop Management too


Hadoop Zoo
HANA

How to Congure BIAPPS


How to install OBIEE 12c
How to install OBIEE 12c

How to Integrate APEX w

How to integrate OBIEE w


Hyeprion
HYPERION
Hyperion ESSbase

Hyperion ESSbase Databa

Hyperion ESSbase Databa


Fragmentation
hyperion optimization

In memory computing en
Index Server
INFORMATICA

Informatica PowerCenter
Installation (Windows)

initialization block in obi


INSTALL
Installation
Integration

Integration of OBIEE with


intelligent calculation
Linux
LINUX in OBIEE

load plans through comm


LUMIRA
management
Map Builder.

Map Viewer Conguratio

Migration code from Unix


Windows server in Inform

Migration of Informatica
Server to Windows Server
Mongo DB Installation
mongodb installation

mongodb installation ste


MUDE
MUDE concept
Mude Implementation
Mude in OBIEE 11g
Multi User Development
obiee 11g.
MV demo

http://ssssupport.blogspot.in/2013/02/dwhslowlychangingdimensions.html

5/7

8/25/2016

SrinivasanSoftwareSolutions:[DWH]SlowlyChangingDimensions
Navteq mapdata

New Features available in

OBIA Conguration in BI

OBIA CONFIGURATION in
11.1.1.10.1 Installation
OBIEE
OBIEE 11.1.1.7.0 to OBIEE
upgrade.
OBIEE 11g
OBIEE 11g 11.1.1.9.0 RCU
Installation

OBIEE 11G Installation (L


OBIEE 11g integration

Obiee 11g integration with

OBIEE 11g User Proxies se


OBIEE 12C Client

OBIEE 12C CLIENT INSTA


OBIEE 12C Installation
OBIEE 12C New Features

OBIEE 12c step by step pr


Windows 7
OBIEE Client installation
OBIEE Installation
OBIEE11g.
Obieemap

odbc connection to mong


ODI
ODI Installation
ODI 12C ( Windows)
ODI BIAPPS

ODI BIAPPS IN Linux 11.1


ODI Installation

ODI Installation (Window

ODI load plans through C


ODI load plans.

Oracle Database 11g Insta

Oracle Database 11g Insta

Patch Upgrade in Obiee 11


Patches
Patches for BIAPPS

Patches for BIAPPS 11.1.1.


PHP

PHP Installation (Window


Pre-requisites

Python Installation (Wind


QLIKVIEW

QLIKVIEW ARCHITECTUR
Qlikview Connectors
QV Connectors
QVW Arch
QVW Connectors
RCU
RCU Installation

RCU installation in BIAPP


Red hat 6

Red Hat Linux 5 - Install

Red Hat Linux 6 Enterpri


Installation

Red Hat Linux 7.0 installa


Redhat 6
Redhat6

Redhat6 BIAPPS 11.1.1.10.1


repository variable

Resetting the weblogic pa


RPD Downgrading

Ruby On Rails Installation


SAP
SAP HANA
SAP HANA Architecture
SAP HANA Database
SAP HANA IMCE
SAP HANA Index Server.
SAP LUMIRA
Script Verication Email

Secure Socket Layer in Ob

http://ssssupport.blogspot.in/2013/02/dwhslowlychangingdimensions.html

6/7

8/25/2016

SrinivasanSoftwareSolutions:[DWH]SlowlyChangingDimensions

Secure Socket Layer in Ob


security
session variable
Silent RCU Installation

SOAP UI WITH OBIEE 11g


SQL Server Installation
SSL in Obiee 11g

Start and Stop Obiee serv

Start Obiee servies in linu

step by step installation o

Stop Obiee services in lin


TABLEAU
tools for taming big data
Unix server

Upgradation of obiee by u

Upgradation of patches in
User activation by Email
user and groups in obiee
scripting
User Proxies

User Proxies in OBIEE 11g


User Proxies Setting up.

users creation using WLS

USERS IN DASHBOARD L
variables in obiee 11g
variables in UI level

Vercation Email script u

Version 326 to 325 RPD D


Views

Visual Studio .Net Installa


Windows 7 Installation
WIndows Server

Windows Server 2008 Ins

World Map Conguration

FollowbyEmail

Emailaddress...

RandomPosts

News

Design

Technology

Gagdet

AdsInsidePost

Ratings

302 1 1 8

Simple template. Template images by Storman. Powered by Blogger.

http://ssssupport.blogspot.in/2013/02/dwhslowlychangingdimensions.html

7/7

Вам также может понравиться