i have two sources two flatfiles same structure
one flatfile contain 100 million recs
another flatfile contain 10 million recs
i have to connect single target(performance oriented answer)
what are the steps we have to do this scenario

Answers were Sorted based on User's Feedback



i have two sources two flatfiles same structure one flatfile contain 100 million recs another flat..

Answer / babu

Hi Teja,
The two sources are haveing same structure,so beter to
use list file,to load the data into single TARGET.

Procedure:
----------
1.Place the two source paths in a note pad and
save as it '.list' format.
2.create a maping as per your requirement in
that mapping you have to take only one source no need to
take two sources.
3. Create a session and workflow.
4.In session give a SOURCE FILE PATH
is '.list' file and SOURCE FILE TYPEA as INDIRECT.

Let me know if any thing wrong.

Thanks,
dwarak.vbr@gmail.com

Is This Answer Correct ?    16 Yes 0 No

i have two sources two flatfiles same structure one flatfile contain 100 million recs another flat..

Answer / srikanth

Hi,

Both teja and Babu Answers are correct..

But here we need to consider Performance wise which one is
better.

here we have only two flat files one is having 100 million
records and second one having 10 million records.

union transformation can supports for flat files also and it
is acting as union all(don't worry about this).

first drag the 100 million records source and then drag the
10 million records source on mapping designer.
connect these two sources to union transformation.
union transformation can merge the Data By COLUMN by COLUMN.
so it is trying to merge only 10 million records with
existing 100 million records

Then we can tune the performance here.

if we have lot of flat files(same structure) then we have to
go for file indirect.

Is This Answer Correct ?    1 Yes 0 No

i have two sources two flatfiles same structure one flatfile contain 100 million recs another flat..

Answer / sudheer

As u r using source as flat file so u can go for partitioning preferably Single-Thread or Multi-Thread partitioning.

Is This Answer Correct ?    0 Yes 0 No

i have two sources two flatfiles same structure one flatfile contain 100 million recs another flat..

Answer / tejaetl

i answered this question both the flatfiles connet to union

connect to single target

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

What is version control in informatica ? Advance thanks

6 Answers   HCL, Puma,


What is the Difference between SetVariable and setmaxvariable in informatica?

1 Answers  


when we dont use aggregator in mapping ?

2 Answers   CSC,


what is the flow?

1 Answers  


Flat file heaving 1 lack records and I want to push 52000 records to the target?

7 Answers  






What is meant by active and passive transformation?

0 Answers  


How will u find weather dimension table is big in size of a fact table?

1 Answers  


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

1 Answers   Accenture,


In real time scenario where can we use mapping parameters and variables?

4 Answers   CSC, CSE,


i had a source containing business,sales,details column and i have to load it to a target but i have some bad records in it , but i have to load 70% of business records and 50% of sales and 95% of details records excluding bad records to achieve this what should be done and what all logic and tx should be used can anyone help? thanks in advance

0 Answers   CTS,


Which are the different editions of informatica powercenter that are available?

0 Answers  


In update strategy t/r we had given dd_insert condition & in session we gave delete condition . Then what will happen? mapping will run ?

3 Answers   emc2,


Categories