IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
  • 1.  IFS instancecache stuff

    Posted Mon January 22, 2024 03:52 PM

    I used the example in Run SQL Scripts for description: Summarize the object counts at each directory level

    The three directories with the greatest number of object counts are:

     

    Quite a large number of files in those directories.

    Unlike most disposable directories, (if they are disposable), IBM marked the first two Can be saved . . . . . . . . . . . . . :   Yes.

    All of the files in there are all dated 06/15/15.

    It's discussed in here:  https://archive.midrange.com/midrange-l/201403/msg00658.html

    Since then, we've upgraded a few models.  We've done a few unload/reloads.

    I think I'll blast the data.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------


  • 2.  RE: IFS instancecache stuff

    Posted Mon January 22, 2024 04:36 PM

    Apparently the image vaporized.

    I cleared the top two with

    del '/home/ROB/instancecache/relationships/*'

    del  '/home/ROB/instancecache/resources/*'



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 3.  RE: IFS instancecache stuff

    Posted Tue January 23, 2024 08:55 AM

    Hi Rob,

    I checked on my LPARs and don't have this "instancecache" subdirectory under my home directory.  I did find a support doc related to this:

    https://www.ibm.com/support/pages/esa-what-instancecache-directory-used

    I'd probably have done the same thing that you did.  One side note about the IFS_OBJECT_STATISTICS() table function, there is a distinction between "accessed" and "used":

    --ACCESS_TIMESTAMP    = The time that the object's data was last accessed.
    --LAST_USED_TIMESTAMP = The date the object was last used.  This includes when a file was saved



    ------------------------------
    Steven Riedmueller
    Certified IBM i Admin
    Speaker, Mentor, and Advocate
    ------------------------------



  • 4.  RE: IFS instancecache stuff

    Posted Tue January 23, 2024 09:15 AM

    I think we can safely cut a line from the link Steve provided as a summary:

    Note: Starting at 7.3, ESA no longer use the /instancecache directory. So any information could be safely deleted and shouldn't be created again.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------