× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: "unprotected" storage usage
  • From: "Graap, Ken" <keg@xxxxxxxxxxxxxxxxxx>
  • Date: Mon, 19 Apr 1999 14:25:12 -0700

>Just before our last IPL, WRKSYSSTS showed our "Current
>unprotect used" at over 20 GB, on a system with only 54 GB of DASD total.

Dave,

Interesting... I've had a similar problem and tracked it down to query
commands that were doing joins against large data base files. I mean large,
12GB - 66,000,000 record files!

When these SQL or query jobs run I've seen them consume huge amounts of
temporary system storage. We had one "out of control" adhoc query consume
20GB of temporary space before an operator finally canceled it.

Since we allow adhoc queries to be submitted and as we all know, humans can
make mistakes, I've written a little utility that monitors the amount of
temporary storage used by batch jobs. If any particular job uses more than
2GB of temporary storage I notify the operator, and myself so we can keep an
eye on it.

Of course the use of temporary storage is controllable via work management,
on the *CLS object, but there are some problems with the implementation of
this on V4R3. The parameter, on the CHGCLS command, used to control the
amount of temporary storage a job can use is: MAXTMPSTG.  This value
defaults to *NOMAX and you can only specify *NOMAX or a number up to a 2GB.
The only action available when the MAXTMPSTG threshold is exceeded is to end
the job. This wouldn't work in our shop. We regularly have jobs that use
3-5GB of temporary storage to run queries. That's why I wrote my utility to
keep an eye on things...

Do you use SQL and query in your shop?       

Kenneth

--
********************************
         Kenneth  E.  Graap             
    IBM Certified Specialist                 
          AS/400   Professional                   
          System  Administrator                  
 NW Natural - Information Services        
           System Services                         
        503 226 4211 X5537                 
          FAX  503 721 2521                  
      keg@nwnatural.com               
********************************


-----Original Message-----
From: Dave Shaw [mailto:dshaw1@InfoAve.Net]
Sent: Monday, April 19, 1999 12:42 PM
To: Midrange Mailing List E-mail
Subject: "unprotected" storage usage


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.