0% found this document useful (0 votes)
65 views6 pages

Complete Reference To Informatica: SCD Type 3

slowly changing dimensions 3

Uploaded by

Dadar Guru
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views6 pages

Complete Reference To Informatica: SCD Type 3

slowly changing dimensions 3

Uploaded by

Dadar Guru
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Ho me

Inf o rmat ica

D at a Ware Ho using

Unix- She ll Scrip t s

PL SQ L

C o nt act Us

Complete reference to Informatica

26
Sharing

Ap r 20 11

SCD Type 3
Naveen

0
Discussion Forum

Share

Filter

Discussio n Fo rum

Expressio n

SCD Type 3:

Ro uter
So rter

Int roduct ion


ETL Life Cycle

This Metho d has limited histo ry preservatio n, and we are go anna use skey as the

Rank

Primary key here.

Transactio n Co ntro l

What Is Info rmatica


Client Co mpo nents
Services Behind Scene

So urce Qualifier

So urce t able : (0 1-0 1-20 11)

Sto red Pro cedure

Em pno

Enam e

Sal

10 1

10 0 0

Try U R Hand's o n AdminCo nso le

Transf ormat ion

SQL Transfo rmatio n


No rmalizer
Sequence Generato r
PDFmyURL.com

Difference Between 7.1 and


8 .6
Info rmatica 8 .6 Installatio n

10 2

20 0 0

10 3

30 0 0

Aggregato r
Unio n
Jo iner
Update Strategy

Int erview Zone

Targe t Table : (0 1-0 1-20 11)

Lo o k Up

Em pno

Enam e

C-sal

P-sal

10 1

10 0 0

10 2

20 0 0

10 3

30 0 0

Subscribe t o Learn
Inf ormat ica

Info rmatica Real Time


Interview Questio ns
Info rmatica Experienced
Interview Questio ns - part1
Info rmatica Experienced

Like

157 people like this.

Interview Questio ns - part2


Info rmatica Experienced

So urce Table : (0 1-0 2-20 11)

Interview Questio ns - part3


Info rmatica Experienced
Interview Questio ns - part4
Data Wareho using co ncept
Based Interview Questio ns

Em pno

Enam e

Sal

10 1

10 0 0

10 2

4566

10 3

30 0 0

Enter yo ur email address:

Test ing
Unit Testing
Integratio n Testing
UAT
Info rmatica Testing
Debugger
Co nstraint Based lo ading
Target Lo ad Plan

Advanced
Concept s

Subscribe
Targe t Table (0 1-0 2-20 11):

Delivered by FeedBurner

Em pno

Enam e

C-sal

P-sal

10 1

10 0 0

10 2

456 6

Null

10 3

30 0 0

10 2

4544

456 6

Mapplets
Partitio ning

Necessity Of
Perfo rmance-tuning
Identificatio n Of bo ttle
Necks
Optimizatio n o f Bo ttle

Mapping Parameter's &


Variable

Perf ormanceTuning

So ho pe u go t what Im trying to do with the abo ve tables:


St e p 1: Initially in the mapping designer Im go anna create a mapping as belo w.

necks
Perfo rmance tuning o f
Lo o kup
PDFmyURL.com

Partitio ning

And in this mapping Im using lo o kup, expressio n, filter, update strategy to drive the

Wo rking with links

purpo se. Explanatio n o f each and every Transfo rmatio n is given belo w.

Lo o kup
Push Do wn Optimizatio n

Scheduler

Chat wit h Me

Types o f Task's- 1
Types o f Task's- 2

Chat wit h Me
Offline

Indirect Metho d fo r Lo ading


SCD - Type 1
SCD - Type 2
SCD - Type 3

Visit or's

Incremental Aggregatio n
Mapping Templates
Grid Pro cessing

St e p 2: here we are go anna see the purpo se and usage o f all the transfo rmatio ns
that we have used in the abo ve mapping.

Wo rk Flo w Variables
Lo o k up Transf o rm at io n: The lo o k Transfo rmatio n lo o ks the target table and
co mpares the same with the so urce table. Based o n the Lo o k up co nditio n it
decides whether we need to update, insert, and delete the data fro m being lo aded
in to the target table.
As usually we are go anna co nnect Empno co lumn fro m the So urce
Qualifier and co nnect it to lo o k up transfo rmatio n. Prio r to this Lo o k up
transfo rmatio n has to lo o k at the target table.
Next to this we are go anna specify the lo o k up co nditio n empno =empno 1.
Finally specify that co nnectio n Info rmatio n (Oracle) and lo o k up po licy o n
multiple mismatches (use last value) in the Pro perties tab.
Expre ssio n Transf o rm at io n:
We are using the Expressio n Transfo rmatio n to separate o ut the Insert-stuffs and
Update- Stuffs lo gically.
Drag all the po rts fro m the So urce Qualifier and Lo o k up in to Expressio n.
Add two Po rts and Rename them as Insert, Update.
These two po rts are go anna be just o utput po rts. Specify the belo w
co nditio ns in the Expressio n edito r fo r the po rts respectively.
Inse rt : isnull(ENO1 )
Updat e : iif(no t isnull(ENO1) and deco de(SAL,Curr_Sal,1,0 )=0 ,1,0 )
PDFmyURL.com

Filt e r Transf o rm at io n: We are go anna use two filter Transfo rmatio n to filter o ut
the data physically in to two separate sectio ns o ne fo r insert and the o ther fo r the
update pro cess to happen.
Filt e r 1:
Drag the Insert and o ther three po rts which came fro m so urce qualifier in to
the Expressio n in to first filter.
In the Pro perties tab specify the Filter co nditio n as Insert.

Filt e r 2:
Drag the update and o ther fo ur po rts which came fro m Lo o k up in to the
Expressio n in to Seco nd filter.
In the Pro perties tab specify the Filter co nditio n as update.

Updat e St rat e gy: Finally we need the update strategy to insert o r to update in to
the target table.
Updat e St rat e gy 1: T his is intended to insert in to the target table.
PDFmyURL.com

Drag all the po rts except the insert fro m the first filter in to this.
In the Pro perties tab specify the co nditio n as the 0 o r dd_insert.

Updat e St rat e gy 2: T his is intended to update in to the target table.


Drag all the po rts except the update fro m the seco nd filter in to this.
In the Pro perties tab specify the co nditio n as the 1 o r dd_update.

Finally co nnect bo th the update strategy in to two instances o f the target.


St e p 3: Create a sessio n fo r this mapping and Run the wo rk flo w.
St e p 4 : Observe the o utput it wo uld same as the seco nd target table
Share

Twe e t

Sub mit

Reactio ns:

0
You can follow any responses to this entry through the RSS 2.0 feed. You can leave
PDFmyURL.com

a response.
G e t th i s

0 Responses
Le ave a R e p ly

Enter your comment...

Comment as:
Publish

Preview

Links to this post


Create a Link

Previous Entries

Next Entries

Recent Comments
2009 - Complete reference to Informatica is proudly brought to you by Naveen

PDFmyURL.com

You might also like