How can we do Performance tuning?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Jaleel
Participant
Posts: 13
Joined: Wed Jul 19, 2006 3:57 am

How can we do Performance tuning?

Post by Jaleel »

Hi,

I have a requirement in which there are about 4000 records in one file and 5212 records in another file. And i'm using merge stage to merge these two files on one id. But it is taking more time to load infact the datastage is strucking in the middle without giving even one error or warning.

I would like to know about how to tune this job to run faster?
OR
How can i do performance tuning in DS (Parallel)

I'm using sequential files,transformers,one merge and ODBC stages in my job.

Thanks in advance,
Thanks n Regards,
Jaleel :-)
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You need to get the job to run through before you can attempt to tune it; but with 4000 and 5212 records you should be finished in less than a second - unless your ODBC connection is slowing things down. What is your speed reading ODBC into a peek stage or a dataset? That is going to be your speed limiting factor.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Why use the Merge and not the Join?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

With such a small number of rows I'd be inclined to use a server job with a Merge stage. If you must use a parallel job, be aware that the Join and Merge stages both require sorted input (added overhead). A Lookup stage would be preferable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

Post by rasi »

First make the job to run without any error. Then post how much time it took to run the job... This should help ...
Regards
Siva

Listening to the Learned

"The most precious wealth is the wealth acquired by the ear Indeed, of all wealth that wealth is the crown." - Thirukural By Thiruvalluvar
Post Reply