performance Isuue

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
mohandl
Participant
Posts: 43
Joined: Tue Dec 26, 2006 7:01 am
Location: pune

performance Isuue

Post by mohandl »

Hi all

I have different sources like SQL server table ,.CSV files and my target is SQL server.

Stage which i am using is ODBC stage.

While loading taget table is taking 28 rows/per second (i have to load 5 laks recods) it taking arround 5 hr to load.


Please suggest me Is any way is there to improve the performance.

Regards,
Ramu
MOHAN
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The first step is always to figure out which component is slowing the overall process down, i.e. which one is the "bottleneck".
mohandl
Participant
Posts: 43
Joined: Tue Dec 26, 2006 7:01 am
Location: pune

Post by mohandl »

While loading from Hash file to Sql server table it is taking 28 rows/sec
MOHAN
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

why are you loading data from the hashed file in the first place? and how many records are there in the hashed file ? how big is the overflow file ?
mohandl
Participant
Posts: 43
Joined: Tue Dec 26, 2006 7:01 am
Location: pune

Post by mohandl »

This is the final stage in job and hash file having 5 laks records
MOHAN
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

mohandl wrote:While loading from Hash file to Sql server table it is taking 28 rows/sec
That doesn't help narrow down the bottleneck. Replace the final hashed file stage with a sequential file that is located on /dev/null and re-run. Is the speed still around 28/rows per second? If yes, then you now know that the hashed file isn't slowing your job down.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Describe fully how you are loading SQL Server. Are you using insert-only, update-only, or one of the combinations. Are you using parameter arrays? How many rows are you sending per transaction? All these settings will affect how efficiently DataStage (ODBC stage) can communicate data into a SQL Server table.

It is no less important, however, to eliminate other possible bottlenecks from your consideration. So please describe your job design fully - what stage types you are using throughout, and how they are connected.
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