Aggregator Stage Tremination

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
bapajju
Participant
Posts: 82
Joined: Wed Nov 19, 2003 11:58 pm

Aggregator Stage Tremination

Post by bapajju »

Hi,
I am extracting data from Oracle 8i using OraOCI8.Then after making some transformations,I do a lookup for dimension keys in the corresponding HashFiles.After that I am Aggregating the Data using an Aggregator Stage.
The total number of rows extracted from source is around 9000000.While aggregating the Aggregator Stage terminates abruptly after processing around 2700000 records giving a message " Abnormal Termination Of Aggregator Stage.It does not give any other error message.
Please suggest.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You may get an error event logged if you reset the job (rather than recompiling it). Otherwise you can search in the &PH& directory on the server.
The usual cause for aborting an Aggregator stage is that it needs more memory than is available for it to allocate.
Try sorting your data by the column(s) that will be grouped (include an ORDER BY clause in the Oracle SELECT statement), and changing the input properties of the Aggregator stage to reflect the fact that it is sorted by the grouping columns.
This will allow the Aggregator stage to operate much more efficiently (maybe 10-20 times faster), and not abort when it runs out of memory.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
peterbaun
Premium Member
Premium Member
Posts: 93
Joined: Thu Jul 10, 2003 5:27 am
Location: Denmark
Contact:

Post by peterbaun »

Hi -

Always difficult to find an error based on this kind of error message.
My best suggestion is to check for null-values

Regards
Peter
bapajju
Participant
Posts: 82
Joined: Wed Nov 19, 2003 11:58 pm

Post by bapajju »

Thanks a ton Ray.It worked afer sorting.It was a memorry problem only.Appreciate your help.
Post Reply