Regarding Aggregator

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
rajiivnb
Participant
Posts: 77
Joined: Fri Sep 10, 2004 8:38 am
Location: India

Regarding Aggregator

Post by rajiivnb »

Is that ok if i do the group by logic in the DRS stage itself, instead of using a Aggregator. Whether the Aggregator would, degrade the perfomance. Which is best, doing the group by caluse in the DRS stage or using a Aggregator stage.[/list]
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The answer is... depends. On many things, like the setup and speed of your database and database server versus your DataStage server. Only way to really know is to do it both ways and see.

At the very least, order your output rows to support the aggregation you are doing and mark the 'Sort' columns appropriately in the stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
Using the group by clause, will make your job look simple and easy to debug.
If the data volume is large, Aggregator might give be better option.

Ketfos
Post Reply