DB2 UDB API stage running very slow

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
Ashish
Participant
Posts: 57
Joined: Tue Jan 31, 2006 1:16 am

DB2 UDB API stage running very slow

Post by Ashish »

Hi All,

Db2 UDB stage which is running on 1 node and Sequential performing a operation "insert new or update existing one" taking 20 to 25 minutes for
70000 records, can any onle help me to tune the performance.

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

Post by ray.wurlod »

1. Separate the inserts and updates into separate streams.
2. Upgrade to version 8 and prefer DB2 Connector or DB2 Enterprise stage.
3. Execute in parallel mode if possible.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Ashish
Participant
Posts: 57
Joined: Tue Jan 31, 2006 1:16 am

Post by Ashish »

One question ray -- if DB2 stage operation "update or insert" run in parallel mode doest it impact the data?

Thanks
Ashish
sohasaid
Premium Member
Premium Member
Posts: 115
Joined: Tue May 20, 2008 3:02 am
Location: Cairo, Egypt

Post by sohasaid »

I think increasing the 'Transaction Size' and 'Array Size' at the Options tab can make it run faster beside the points that Ray has explained.

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

Post by ray.wurlod »

API stage does not run in parallel.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply