i want to load data in to two targets..one is dimension
table and the other is fact table?how can i load ata a time

Answers were Sorted based on User's Feedback



i want to load data in to two targets..one is dimension table and the other is fact table?how can ..

Answer / john

Generally we all knew that is,In Datawarehouse
environment,we should load data first in the dimension
table then we load into the fact table..bcoz fact table
which contains the Primary keys of the dimension table
along with the measures.
So we need to check first that whether the fact table which
you are going to load that has foreign key relationship
with the dimension table or not?If yes,Use pipeline mapping,
and load dimension data first in first pipeline and in the
second pipeline load fact table data by taking the lookup
transformation on the dimension table which has loaded data
already..and return the key value from the lookup
transformation then calculate the measures by using
Aggregator and also give "group by" on the dimension keys
and map to the Target(Fact) prots as required.
most importantly specify the "Target Load Plan"
where dimesion target as first,fact table target as second.
let me pls correct my answer If i am wrong..

Is This Answer Correct ?    15 Yes 0 No

i want to load data in to two targets..one is dimension table and the other is fact table?how can ..

Answer / g. manthiramoorthy

Using dynamic lookup, you can load both simultaneously.

Is This Answer Correct ?    7 Yes 1 No

i want to load data in to two targets..one is dimension table and the other is fact table?how can ..

Answer / amedela chandra sekhar

use surrogate pipeline technique first data loaded into dimension table ,then loaded into fact fable with primary and foreign key technique b/w dimension and fact table.

use lookup t/r.........

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Informatica Interview Questions

what is incremantal aggregation?

1 Answers  


select count(1) from emp? what is the o/p?

5 Answers   TCS,


Stage is which type of load is it a full load or incremental load Please let me know in detail with best example

3 Answers   Infosys,


Can you use the maping parameters or variables created in one maping into any other reusable transformation?

1 Answers  


Different circumstance which drives informatica server to expel records?

0 Answers  






Define error Threshold?

1 Answers  


How might you approve all mappings in the archive all the while?

0 Answers  


What is source qualifier?

6 Answers   SDS,


To import the flat file definition into the designer where should the flat file be placed?

0 Answers   Informatica,


Can we use unconnected lookup as dynamic lookup?

5 Answers   ITC Infotech, TCS, Wipro,


what is data modelling? what are types of modelling?In which suituation will use each one?

1 Answers   Accenture,


How can the following be achieved in 1 single Informatica Mapping. * If the Header table record has error value(NULL) then those records and the corresponding child records in the SUBHEAD and DETAIL tables should also not be loaded into the target(TARGET1,TARGET 2 or TARGET3). * If the HEADER table record is valid, but the SUBHEAD or DETAIL table record has an error value (NULL) then the no data should be loaded into the target TARGET1,TARGET 2 or TARGET3. * If the HEADER table record is valid and the SUBHEAD or DETAIL table record also has valid records only then the data should be loaded into the target TARGET1,TARGET 2 and TARGET3. =================================================== HEADER COL1 COL2 COL3 COL5 COL6 1 ABC NULL NULL CITY1 2 XYZ 456 TUBE CITY2 3 GTD 564 PIN CITY3 SUBHEAD COL1 COL2 COL3 COL5 COL6 1 1001 VAL3 748 543 1 1002 VAL4 33 22 1 1003 VAL6 23 11 2 2001 AAP1 334 443 2 2002 AAP2 44 22 3 3001 RAD2 NULL 33 3 3002 RAD3 NULL 234 3 3003 RAD4 83 31 DETAIL COL1 COL2 COL3 COL5 COL6 1 D001 TXX2 748 543 1 D002 TXX3 33 22 1 D003 TXX4 23 11 2 D001 PXX2 56 224 2 D002 PXX3 666 332 ======================================================== TARGET1 2 XYZ 456 TUBE CITY2 TARGET2 2 2001 AAP1 334 443 2 2002 AAP2 44 22 TARGET3 2 D001 PXX2 56 224 2 D002 PXX3 666 332

3 Answers   IBM, Mphasis,


Categories