When ever we run a DS job which has Sort or Join stage, the scratch disk is piled up with many files like below-
-rw------- 1 dsadm dstage 10485720 Sep 21 14:33 tsortGcwTMzbR
-rw------- 1 dsadm dstage 12982320 Sep 21 14:33 tsortGcwoZGVJ
-rw------- 1 dsadm dstage 9986400 Sep 21 14:33 tsortGcwdvLFU
Do we have any option to automatically delete these temporary files from scratch disk,once the job is completed?
Thanks
Auto deletion of temporary files from Scratch disk
Moderators: chulett, rschirm, roy
Normally those files are deleted, sometimes when jobs abort some files might remain in the scratch disks. DataStage doesn't have any builtin mechanism to delete these files; I usually go and manually delete the files in Scratch once a week or once a month, depending upon the number and the sizes.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 102
- Joined: Thu Sep 17, 2009 1:23 am
Re: Auto deletion of temporary files from Scratch disk
Sometime we will found such types of files present in our sratch and temporary areas for which ArndW has already stated the reason, its better if you go to these areas manually once in a week and clean all those files so that it will not occupy much more space.
Rohit