IBM Support

Analyzing User Profile Allocated Storage on IBM i

Question & Answer


Question

The objective of this document is to provide a clear and structured method for analyzing user profile allocated storage on IBM i systems. By using the QSYS2.USER_STORAGE SQL view, administrators can identify user profiles that consume a high number of authorization entries, understand how those entries are allocated, and proactively manage storage and profile limits to prevent operational or security-related issues.

Answer

Overview

On IBM i, each user profile consumes system storage through authorization, ownership entries and storage allocated to owned objects. These entries are created when a user profile owns objects, has private authorities, belongs to authorization lists or primary groups.

Uncontrolled growth of these entries can lead to system storage pressure, user profile allocation failures, and increased complexity in security administration and auditing activities.

SQL Used for Analysis:

Using the Run SQL Scripts tool, run the following SQL Statement:

SELECT USER_NAME,
       OWNER_ENTRIES,
       PRIVATE_AUTHORITY_ENTRIES,
       AUTHORIZED_USER_ENTRIES,
       PRIMARY_GROUP_ENTRIES,
       TOTAL_PROFILE_ENTRIES,
       AVAILABLE_PROFILE_ENTRIES,
       DECIMAL(
           (DECIMAL(AVAILABLE_PROFILE_ENTRIES, 21, 2) /
               (DECIMAL(AVAILABLE_PROFILE_ENTRIES, 21, 2) + DECIMAL(TOTAL_PROFILE_ENTRIES, 21, 2))) * 100,
           5,
           2) AS PERCENT_FREE,
       STORAGE_USED,
       MAXIMUM_STORAGE_ALLOWED
    FROM QSYS2.USER_STORAGE
    ORDER BY TOTAL_PROFILE_ENTRIES DESC;

 

Sample Report: 

USER NAMEOWNER ENTRIESPRIVATE AUTHORITY ENTRIESAUTHORIZED USER ENTRIESPRIMARY GROUP ENTRIESTOTAL PROFILE ENTRIESAVAILABLE PROFILE ENTRIESPERCENT FREESTORAGE USEDMAXIMUM STORAGE LIMIT
QSYS18644015763108538885940184519959842499.79550081941696 
QEJBSVR15588463878894198846319991153799.953302948 
QWQADMIN51463994319031584639919995360199.976407800 
QWEBADMIN89437241361322153974719996275999.98752130417521304
QSECOFR1988324252922912083724219996757599.981363624 
BIMBRA192440224367163246719997559899.985156580 
QSPL2971795917567952440219998204199.993100560 
JPEHRSON46715952152911941595219998404899.9928565684128565684
QLWISVR126231587331121381587319998412799.99274840 
RHDIESER412421338690311242119998757999.99373060 
QSRV11418114324101143419998856899.991508 
QTMHHTTP815988232885779983819999011899.9974528 
QDBSHR1805080490814119999195099.9922814866853184 
THUNDER1027264707290726419999273699.991555260 
MIKSWENS9669856469420698619999301599.995342636 
QDIRSRV48356840198619682819999316099.99139072 
HENDERAN36528649629652819999347299.991003124 
QCOLSRV405582454190545719999417699.9990624552 

 

Explanation of Key Columns:

  • USER NAME

    The name of the user profile being analyzed.

  • OWNER ENTRIES

    This is the number of entries for objects for which this user is the owner.

  • PRIVATE AUTHORITY ENTRIES

    This is the number of entries for objects for which this user has a private authority. This value is often the primary driver of profile growth.

  • AUTHORIZED USER ENTRIES

    This is the number of entries for other users that have private authorities to objects for which this user is the owner

  • PRIMARY GROUP ENTRIES

    This is the number of entries for objects for which this user is the primary group.

  • TOTAL PROFILE ENTRIES

    This is the total of owner, private authority, authorized user, and primary group entries used

  • AVAILABLE PROFILE ENTRIES

    The number of authority-related entries available to the user for this ASP group

  • PERCENT FREE

    Percent of of available free entries.

  • STORAGE USED

    The amount of auxiliary storage, in kilobytes, occupied by the user's owned objects for this ASP group.

  • MAXIMUM STORAGE LIMIT

    The maximum amount of auxiliary storage, in kilobytes, that can be assigned to store permanent objects owned by the user. Contains the null value if the user does not have a maximum amount of allowed storage.

Maximum Limites for each profile:

Version Of Operating SystemMaximum Entries
6.150 million
7.150 million
7.250 million
7.350 million
7.450 million
7.5200 million
7.6200 million

 

Explanation of Key Metrics

The query retrieves both permanent storage and user authority entries allocated to each user profile. The most critical columns include PRIVATE_AUTHORITY_ENTRIES, which commonly drive profile growth; TOTAL_PROFILE_ENTRIES, which reflects the total allocated capacity; and AVAILABLE_PROFILE_ENTRIES, which indicates remaining headroom before profile extension is required.

Interpreting the Results

Profiles with high counts of private authority entries should be reviewed to determine whether authorization lists can be used instead. Profiles with low available entry counts may be approaching their allocation limits and could experience failures when new authorities or objects are assigned.

Recommended Actions

Administrators should periodically review user storage metrics, reduce excessive private authorities, leverage authorization lists, and monitor profiles trending toward capacity limits. Incorporating this analysis into routine system health checks can significantly reduce long-term security and storage risks.

Adicional Resources:

 

 

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CHyAAM","label":"Security"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"and future releases;7.4.0;7.5.0;7.6.0"}]

Document Information

Modified date:
30 March 2026

UID

ibm17268025