Performance question

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
yiminghu
Participant
Posts: 91
Joined: Fri Nov 14, 2003 10:09 am

Performance question

Post by yiminghu »

Hi All,

I'm running out of ideas. I'm having this complicated the job. The job processes a file row by row, (the order of the file content is also very important), depends on the value of incoming rows, it would go to 4 direction, each invovles a lookup and update or insert. The lookup table and update/insert table are the same one.

The problem I'm having is that when the job first starts, it runs more than 200 rows/second, then it keeps decreasing, until only 10 rows/second, which is really crawling. I don't know why the performace degrades so much and whether there is any way to prevent performance degrading.

Thanks a lot,

Carol
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It is probably something in the target database. Are you sending all rows as a single transaction?

Make a copy of the job and replace the database stage with a Sequential File stage, and see whether that design produces the same behaviour. If it does not, there is something in the database (or the connection to it) that is causing the slowdown, and we can concentrate on that. But without testing to isolate the cause it would be unwise to offer suggestions.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
p.jain
Participant
Posts: 3
Joined: Wed Jun 01, 2005 12:19 am

Re: Performance question

Post by p.jain »

Did you check the job log? Normally when the row count falls, you have tons of warnings in the job log. Are there any warnings for you job ?
VCInDSX
Premium Member
Premium Member
Posts: 223
Joined: Fri Apr 13, 2007 10:02 am
Location: US

Re: Performance question

Post by VCInDSX »

yiminghu wrote: ...each invovles a lookup and update or insert. The lookup table and update/insert table are the same one.
Hi,
You mentioned lookup in your job. Could you throw some light on this, please? How is the lookup implemented?
Are you having a separate instance of the lookup table (as an ODBC stage) and joining?

Thanks,
-V
Post Reply