Hi all,
I am a Data Warehouse Analyst using IBM Datastage v8.0 Build 1.2. This past month we have noticed a degradation in job run performance, and some of our more critical processes are taking a very long time to run (in comparison to run-times observed throughout last year).
I have been reading IBM support articles and help on DSxchange to identify the cause, and some suggested fixes for performance issues point to cleaning up the scratch directory. We have a clean-up script which removes all .log files older than 7 days and .txt files older than 61 days. (Extra: note that our datastage application is running on Solaris 10). The shell script we run executes the following commands:
find /app/IBM/InformationServer/Server/Scratch/ \( -name '*.log' \) -
mtime +7 -exec rm {} \;
find /app/dw/prd/log/cleanup/ \( -name 'run_CleanUp_Scratch_Dir*.txt'
\) -mtime +61 -exec rm {} \;
However we have no process to clean up ctl, bad and part files and we have now accumulated 3500 of these dating back to 2009. What is the preferred method for cleaning up these files? Can they be deleted periodically once they reach a certain age as above or is there more to consider when removing these?
Your help is most appreciated.
Thanks
Performance issues - help with clean-up of files in /Scratch
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 22
- Joined: Wed Jul 23, 2008 5:59 pm
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 22
- Joined: Wed Jul 23, 2008 5:59 pm
- Contact: