Link Sort or Stage sort better

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
vinsashi
Participant
Posts: 150
Joined: Mon Aug 20, 2007 4:52 am
Location: singapore

Link Sort or Stage sort better

Post by vinsashi »

Hi,
In my source i am getting 20,00,000 records in refrence also i have 10,00,000 records.I am using change capture stage for comparing.i have applied link sort for both links(sorting on 4 key columns).which sort better for that.using sort stage or link sort.Please exp why?.I am doing only insert rows.is it good replacing CDC with join...

Thanks
V..
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

"Better" using what criteria? My personal preference, documented more than once on DSXchange (did you Search?) is to use an explicit Sort stage because of the extra functionality it provides, chief among which is direct control of memory allocation and the ability to generate key change columns.

CDC and Join perform totally different tasks - the concept of replacing one with the other is anathema.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
madhuker
Participant
Posts: 15
Joined: Wed Jul 19, 2006 1:05 am
Location: Hyderabad

Post by madhuker »

For Better performance, use Join Stage which also handles fast sort method.

Thanks & Regards,
Sam
Thanks & Regards
Madhuker
Post Reply