Problem with aggregator Stage

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
mdtauseefhussain
Participant
Posts: 38
Joined: Mon Feb 27, 2006 10:34 pm
Location: Chennai
Contact:

Problem with aggregator Stage

Post by mdtauseefhussain »

HI! All

Iam facing a problem with aggregator stage in my job,Ian selecting a records from source and doing a group by with two key fileds and aggrergatting with max() function with the rest of the fields.
The JOb is working fine when the record count is below 8 lakhs ,if the records count is more than 8 lakhs iam getting the following error


"Abnormal termination of stage EdwLocalListPricesJobNew..Agg_ProductIdCountryId detected"

This looks strange to us ,

waiting for your valuable suggestions


Regards

Tausif
bakul
Participant
Posts: 60
Joined: Wed Nov 10, 2004 2:12 am

Post by bakul »

Are there no other messages in the log?
What is the aggregation type that you are using in the aggregator?
Regards,
Bakul
mdtauseefhussain
Participant
Posts: 38
Joined: Mon Feb 27, 2006 10:34 pm
Location: Chennai
Contact:

Post by mdtauseefhussain »

Selecting the maximum records and group by on two key fields are types of aggregation we are doing .
Mohammed Tausif Hussain Sheikh
Cognizant technologies,Perungudi
Chennai
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The Aggregator stage does have memory limits. Sort the input by the grouping keys and assert on the Aggregator's input link that the input is sorted. This will mean that the Aggregator does not run out of memory, because it can free memory every time a grouping column value changes (because they are sorted, a change in value means that the previous value will never be seen again).
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