Merge VS DB2 Table join

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
dtv2002
Participant
Posts: 3
Joined: Fri Dec 12, 2003 9:31 am

Merge VS DB2 Table join

Post by dtv2002 »

I have tree tables (~10M row/table, 1k/row),
Is it better performance to use a merge stage in DS and send output to a DataSet or do a DB2 table join and fetch result to the DataSet?
The final DataSet should have ~ 9M rows

Thank for your advice
pavankvk
Participant
Posts: 202
Joined: Thu Dec 04, 2003 7:54 am

Re: Merge VS DB2 Table join

Post by pavankvk »

performance wise merge and join are almost the same..if you want the rejections as well u have to with merge..or else..both behave in the same way..
dtv2002 wrote:I have tree tables (~10M row/table, 1k/row),
Is it better performance to use a merge stage in DS and send output to a DataSet or do a DB2 table join and fetch result to the DataSet?
The final DataSet should have ~ 9M rows

Thank for your advice
Post Reply