Sort Stage - tsort CKdncT6O

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
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Sort Stage - tsort CKdncT6O

Post by mandyli »

Hi

I am using one of my job DB2 stateg --- > Sort Stage --> Dataset

Linux OS
------------
When i run this jobs I am seeing lot of following tsort files in /scratch folder . Due to this some time scratch fill up or Server itself haung.

tsortCKdncT6O
tsortCKdUgqoF
tsortCQgnfXQN
tsortFKdncT6O
tsortFKdUgqoF
tsortFQgnfXQN
tsortGie0BCYl
tsortGie5xKRD
tsortGie7ElLD
tsortGie7ZR8k
tsortGieByIY3
tsortGieCcvnP
tsortGief3OHD
tsortGiek_@Uh
tsortGiel4zLG
tsortGienUwZZ
tsortGiepnSc2

How to solve this


Thanks
Man
daignault
Premium Member
Premium Member
Posts: 165
Joined: Tue Mar 30, 2004 2:44 pm
Contact:

Post by daignault »

Increase your /tmp workspace or have Datastage use a different disk for it's soft workspace.

When you sort data, all the data must be present in order to determine the order of the data. This may require more memory than the system actually has. Datastage uses a scratch workspace on the HDD to process the data.

In your APT config file, you can specify the path for each node to use for sorting as well as general scratch space. You can find this information if you click the "HELP" button within designer and enter the search term "resource sort". The first option is Sort Configuration.

Modify your APT file with a sort resource that has enough disk space to handle your data volume.

Regards,

Ray Daignault
Post Reply