scratch space

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
subrat
Premium Member
Premium Member
Posts: 77
Joined: Tue Dec 11, 2007 5:54 am
Location: UK

scratch space

Post by subrat »

Hi,


It seems i have an issue with scratch space issue.
Can anyone let me know how to check scratch space size.
APT_BUFFER_MAXIMUM _MEMORY is the right variable?

Thanks
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

check APT_CONFIG_FILE variable .go to the directory which is specified in config file .and execute the command du and df to get used n free space
Nag
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Scratch space is on disk.

There is no environment variable that affects it (except, indirectly, APT_CONFIG_FILE, which names the directories to be used for scratch disk).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
bobyon
Premium Member
Premium Member
Posts: 200
Joined: Tue Mar 02, 2004 10:25 am
Location: Salisbury, NC

Post by bobyon »

You may need to watch the df and/or du while the job that is experiencing space issues is running because once the job finished, good or bad, it releases the space. So if you check the space usage after the job is done, you may still show space available.
Bob
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

Correct me if i am wrong .I think only if the job fails all the scratch files produced will be cleaned up .
Nag
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

DataStage will attempt to clean up the scratch space files on successful job completion as well as when a job aborts.
Post Reply