difference between parttion key and sorting key

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
GSSaru
Participant
Posts: 7
Joined: Wed Aug 31, 2005 12:04 am
Contact:

difference between parttion key and sorting key

Post by GSSaru »

Hi

can any body tell me ,what is difference between patitioning key and sorting key...

thanks
saru
pigpen
Participant
Posts: 38
Joined: Thu Jul 13, 2006 2:51 am

Post by pigpen »

Partition key is the columns used to disperse data in different location. Sorting key is the columns used for sorting order.
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

can any body tell me ,what is difference between patitioning key and sorting key...
Where, which stage? :?
Success consists of getting up just one more time than you fall.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Do you want to know what is the difference between partition and sort?
Patitioning key and sorting key can be explained by its name.
Many freshers assume that, by performing partition it does sorting as well.
Its not true.
The key based on which the records are distributed to the available nods are Patitioning key.
In most cases, you may end up in partition based on the sorting key specifed in the Sort stage or other stages.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply